• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Webservices using XML Over HTTP

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?

 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 https://coderanch.com/t/574016/Web-Services/java/Call-siebel-webservice-java-code
 
Mahish Reddy
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 https://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
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic