Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 25538 invoked from network); 10 Jun 2009 18:06:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 18:06:20 -0000 Received: (qmail 85621 invoked by uid 500); 10 Jun 2009 17:55:09 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 85594 invoked by uid 500); 10 Jun 2009 17:55:09 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 85585 invoked by uid 99); 10 Jun 2009 17:55:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 17:55:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [64.128.15.233] (HELO olympus.akimeka.com) (64.128.15.233) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 17:55:00 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Attaching XML to response Date: Wed, 10 Jun 2009 07:54:37 -1000 Message-ID: <7A2D67FFD51E6740855345E9A00EDBFA01198C6D@olympus.akimeka.com> In-Reply-To: <4f8a13340906101041i7534cc1bq28f3b9cae9c7a9ae@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Attaching XML to response Thread-Index: Acnp81S6P9G6wDgsSqqYY2gI6r7jswAARHPg References: <23ebd2910803020713l3306985cleb469d52e6b5bb9@mail.gmail.com> <4A2831CC.3030605@ece.neu.edu> <4A2C8789.9080705@ece.neu.edu> <4A2FC64F.5030102@ece.neu.edu> <7A2D67FFD51E6740855345E9A00EDBFA01198C57@olympus.akimeka.com> <4f8a13340906101041i7534cc1bq28f3b9cae9c7a9ae@mail.gmail.com> From: "Marc Lefebvre" To: X-Virus-Checked: Checked by ClamAV on apache.org 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]=20 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 = 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. =A0If I send = it > in the string coming back, it becomes surrounded CDATA element. =A0I = 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