axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Lefebvre" <mlefeb...@akimeka.com>
Subject RE: Attaching XML to response
Date Wed, 10 Jun 2009 17:54:37 GMT
Not quite.   I want to insert it in the response on the server side BEFORE its sent to the
Client.    Is there any examples out there that can show how to do this?

-----Original Message-----
From: Shasta Willson [mailto:shastaw@gmail.com] 
Sent: Wednesday, June 10, 2009 7:42 AM
To: axis-user@ws.apache.org
Subject: Re: Attaching XML to response

On Wed, Jun 10, 2009 at 10:32 AM, Marc Lefebvre<mlefebvre@akimeka.com> wrote:
> My webservice has a block of XML in a string, and I was wondering how do
> I insert it into the response that comes back from Axis.  If I send it
> in the string coming back, it becomes surrounded CDATA element.  I want
> it to be inline with the rest of the XML response.
>

I'm not entirely sure I understood the question, but if it's what I
think, then you can create XML elements to model the data in your
string and insert those into the XML structure you got back at the
point in the XML tree where you want them to show up.

- Shasta

Mime
View raw message