Thread

Posted on Sun Mar 30 18:00:07 2008 by rajath
Wsdl - soap response...
I am working on java ,using Eclipse wit wtp and Apache Axis. The soap request is sent, an xml file is parsed and I want to generate soap responses from the xml file. Now i can send a soap request, parse the xml, but the response am getting is not of soap format, its jus a simple data... For eg.. if the request is add no.s ( 5+ 7) i get the sum(12) or if i request for author of a book from i just get author's name.. Instead i want it as a soap response... some thing like this for requesting the stock price...
<?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body xmlns:m="http://www.example.org/stock"> <m:GetStockPriceResponse> <m:Price>34.5</m:Price> </m:GetStockPriceResponse> </soap:Body> </soap:Envelope>
How do i get the sopa response using the wsdl file that gets generated... ???? Or is there another way of generating the soap responses.. ? Plz help me out...
Direct Responses: 7547 | Write a response
Posted on Mon Mar 31 21:12:10 2008 by mkutter in response to 7516
Re: Wsdl - soap response...
Hi rajath,
If you describe what you wanted to do, what you tried and what failed, someone might here might help you.

My mind-reading skills are woefully undeveloped ;-)

Martin
Write a response