File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Webservices using XML Over HTTP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservices using XML Over HTTP" Watch "Webservices using XML Over HTTP" New topic
Author

Webservices using XML Over HTTP

Mahish Reddy
Greenhorn

Joined: Apr 09, 2012
Posts: 4
i have WSDL file and i need to consume web services using simple XML Over HTTP . can any one please help me what needs to be done ?

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Not sure what you mean by "simple XML over HTTP" -> a WSDL implies SOAP. Apart from that, see my answer in http://www.coderanch.com/t/574016/Web-Services/java/Call-siebel-webservice-java-code
Mahish Reddy
Greenhorn

Joined: Apr 09, 2012
Posts: 4
Tim Moores wrote:Not sure what you mean by "simple XML over HTTP" -> a WSDL implies SOAP. Apart from that, see my answer in http://www.coderanch.com/t/574016/Web-Services/java/Call-siebel-webservice-java-code


Dear Tim ,
what i mean by "simple XML Over HTTP " is i don't want to send soap message as request to webservice . rather i want to send a request in XML over HTTP and expecting response in XML . if you can give me clue for this i will be thankful to you ...

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
That's a question you need to ask whoever runs the WS you want to connect to. As long as you have nothing but the WSDL that means using SOAP, period.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
what i mean by "simple XML Over HTTP " is i don't want to send soap message as request to webservice . rather i want to send a request in XML over HTTP and expecting response in XML .


But a SOAP message IS already XML. Perhaps you mean you don't want to fiddle with SOAP client software - understandable.

Like Tim said, a SOAP server is only going to respond to a SOAP formatted message and generate a SOAP formatted response.

Some SOAP services publish an example of a request the service can respond to - you can generate such a message in a variety of ways including using a regular java.net.HttpURLConnection.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Webservices using XML Over HTTP