You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andy Foster <an...@fostersontheweb.com> on 2005/11/10 17:23:50 UTC
Invoking serialisation
Hi all,
After invoking the web service call the response stub object is returned and
populated from the resulting XML.
However, my class needs to return the resulting XML body (ie without soap
envelope) to the caller rather than the generated stubs.
How do I invoke serialisation manually to take my resulting response object
and get its XML representation to return to my caller.
Regards
Andy Foster
Re: Invoking serialisation
Posted by Anne Thomas Manes <at...@gmail.com>.
Use the messaging interface.
On 11/10/05, Andy Foster <an...@fostersontheweb.com> wrote:
>
> Hi all,
>
> After invoking the web service call the response stub object is returned
> and
> populated from the resulting XML.
>
> However, my class needs to return the resulting XML body (ie without soap
> envelope) to the caller rather than the generated stubs.
>
> How do I invoke serialisation manually to take my resulting response
> object
> and get its XML representation to return to my caller.
>
> Regards
>
> Andy Foster
>
>
Re: Invoking serialisation
Posted by Jimmy zhang <cr...@comcast.net>.
Don't know about AXIS,
In VTD-XML, you can cut the SOAP body directly
out of the SOAP envelope by a function called getElementFragment()
Try
http://www.ximpleware.com/demo.html
----- Original Message -----
From: "Andy Foster" <an...@fostersontheweb.com>
To: <ax...@ws.apache.org>
Sent: Thursday, November 10, 2005 8:23 AM
Subject: Invoking serialisation
> Hi all,
>
> After invoking the web service call the response stub object is returned
> and
> populated from the resulting XML.
>
> However, my class needs to return the resulting XML body (ie without soap
> envelope) to the caller rather than the generated stubs.
>
> How do I invoke serialisation manually to take my resulting response
> object
> and get its XML representation to return to my caller.
>
> Regards
>
> Andy Foster
>