This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to pass SOAP Request to webservices from java client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to pass SOAP Request to webservices from java client" Watch "How to pass SOAP Request to webservices from java client" New topic
Author

How to pass SOAP Request to webservices from java client

Sanket Barge
Greenhorn

Joined: Jun 18, 2012
Posts: 1
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

Joined: Mar 22, 2000
Posts: 12981
    
    5
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

 
 
subject: How to pass SOAP Request to webservices from java client
 
It's not a secret anymore!