• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webservices using XML Over HTTP

 
Mahish Reddy
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2839
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2839
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic