Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to pass SOAP Request to webservices from java client

 
Sanket Barge
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am new to web services. I am having SOAP request and wsdl file. My problem is that how to pass soap request from java client (java class).

Here is the SOAP request



Thanks in advance
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IF you have the exact text of a SOAP request mesage and the service URL, you can just use a HttpURLConnection to POST the message.

As far as HTTP is concerned, a SOAP message is just another request body.

Bill

 
Message for you sir! I think it is a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!