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 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
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: 12778
    
    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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to pass SOAP Request to webservices from java client