This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes problem in SOAP xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "problem in SOAP xml" Watch "problem in SOAP xml" New topic
Author

problem in SOAP xml

sammeta Phanikumar
Ranch Hand

Joined: Oct 25, 2007
Posts: 81
Hi Ranchers,

I want to call a web service by sending a SOAP xml as an input and get back the same type of xml in the response.
Is it possible to have constant SOAP xml and fill it up when we get a request and call web service?

Thanks in advance.


SCJP 5, SCWCD 5, SCDJWS 5
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Is it possible to have constant SOAP xml and fill it up when we get a request and call web service?


Sure! It is in fact the easiest way to create a SOAP client since you don't have to mess with WSDL or a SOAP library. Naturally this only works for relatively simple requests where you dont need any of the WS-* security, signing, etc etc. capabilities.

You will need an example of a valid SOAP request message to this service which you can use as a template.

Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem in SOAP xml
 
Similar Threads
JSP/HTML/Javascript/XML task: Need Consultation
how to convert java call to wsdl call
calling web service with input soap xml file
Web services and Components?
Can you pass complex type from pl sql to web service using utl_http