| Author |
How to alter xml output of SOAP reponse
|
Ranjit DK
Greenhorn
Joined: Apr 17, 2009
Posts: 1
|
|
Hi,
I’m using Axis2 to provide a web service, but it would helpful if I could customize the SOAP response.
Right now I’m getting the response as mentioned below, But I have to eliminate the tags <ns:getReportDetailsResponse> and <ns:return>
|
 |
Dan Drillich
Ranch Hand
Joined: Jul 09, 2001
Posts: 1121
|
|
A similar thing bugged me for a while and still does ;-) – the relation between the WSDL document and the SOAP one.
When is SOAP a good idea in a project says -
That's basically it. So, the SOAP runtime supplies all the code for the demarshalling of the request, invoking an adapter and then marshalling the response packet.
So, the SOAP runtime is responsible for the construction of the SOAP response.
Hope it helps.
|
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8433
|
|
Hi Ranjit,
Welcome to the Ranch.
In future, while posting code, please use the code tags.
I have edited your existing post. As you can see it is much more readable and easier to understand.
http://faq.javaranch.com/java/UseCodeTags
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: How to alter xml output of SOAP reponse
|
|
|