Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 28965 invoked from network); 23 Feb 2004 18:16:25 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Feb 2004 18:16:25 -0000 Received: (qmail 83634 invoked by uid 500); 23 Feb 2004 18:16:08 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 83376 invoked by uid 500); 23 Feb 2004 18:16:06 -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: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 83363 invoked from network); 23 Feb 2004 18:16:06 -0000 Received: from unknown (HELO hotmail.com) (64.4.9.94) by daedalus.apache.org with SMTP; 23 Feb 2004 18:16:06 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 23 Feb 2004 10:16:10 -0800 Received: from 65.59.165.2 by lw9fd.law9.hotmail.msn.com with HTTP; Mon, 23 Feb 2004 18:16:09 GMT X-Originating-IP: [65.59.165.2] X-Originating-Email: [christopher_justin@hotmail.com] X-Sender: christopher_justin@hotmail.com From: "christopher justin" To: axis-user@ws.apache.org Bcc: Subject: RE: Axis RPC WebService that returns an Document object Date: Mon, 23 Feb 2004 18:16:09 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 Feb 2004 18:16:10.0094 (UTC) FILETIME=[1CDEA8E0:01C3FA39] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N According to the FAQ http://ws.apache.org/soap/faq/ (How do you return a DOM Element from an RPC Call? ) You can return a DOM Element... As well according to an IBM paper "Exploring Apaches serialzation APIs" http://www-106.ibm.com/developerworks/webservices/library/ws-soapmap1/ - If you look for "Literal XML" in that paper, you can return an org.w3c.dom.Element . For the sake of interoperabilty, the only problem I have seen is that SOAP clients such as PHP NuSOAP, it doesn't know how to extract the literal XML yet... it seems to deal with the more basic return types currently. The more used clients like .NET should be able to pull the literal XML from the response. Does anyone have any other experiences with returning DOM objects? >From: "Vivek Nagulapati" >Reply-To: axis-user@ws.apache.org >To: axis-user@ws.apache.org >Subject: RE: Axis RPC WebService that returns an Document object >Date: Mon, 23 Feb 2004 11:57:45 -0600 > >Hi Richard, > >I tried implementing a web service which returns an XML document. I am not >sure if you could return an XML "Document" object directly but what I did >was serialized the XML DOM tree to a string and returned it. It worked >fine! > >If you need further information, do email the list > >HTH, >Vivek > >>From: "Ng, Richard" >>Reply-To: axis-user@ws.apache.org >>To: "'axis-user@ws.apache.org'" >>Subject: Axis RPC WebService that returns an Document object >>Date: Fri, 20 Feb 2004 00:01:13 -0500 >> >>Hi, >> >> >> >>I need some directions or sample code of an RPC webservice that returns to >>a >>client an Document Object. >> >> >> >>I assume using the DocumentSerializerFactory will do the trick. >> >> >> >>-Rich Lex >> >> >> > >_________________________________________________________________ >Stay informed on Election 2004 and the race to Super Tuesday. >http://special.msn.com/msn/election2004.armx > _________________________________________________________________ Click, drag and drop. My MSN is the simple way to design your homepage. http://click.atdmt.com/AVE/go/onm00200364ave/direct/01/