• 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: 13071
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic