Re: Attaching XML to response

2009-06-11 Thread Chinmoy Chakraborty
You can try MTOM attachment strategy and attach your xml in the server side before it returns to the client...to do that you need to enable MTOM..in the server side create a datahandler form file-datasource and return it... DataHandler dh = new DataHandler(new FileDataSource(String path)); HTH,

Attaching XML to response

2009-06-10 Thread Marc Lefebvre
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.

Re: Attaching XML to response

2009-06-10 Thread Shasta Willson
On Wed, Jun 10, 2009 at 10:32 AM, Marc Lefebvremlefeb...@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

RE: Attaching XML to response

2009-06-10 Thread Marc Lefebvre
@ws.apache.org Subject: Re: Attaching XML to response On Wed, Jun 10, 2009 at 10:32 AM, Marc Lefebvremlefeb...@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

Re: Attaching XML to response

2009-06-10 Thread Shasta Willson
On Wed, Jun 10, 2009 at 10:54 AM, Marc Lefebvremlefeb...@akimeka.com wrote: 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? I don't have an example, but I'm also not sure how