axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volkmann, Mark" <>
Subject RE: Returning XML document from Service call
Date Thu, 25 Sep 2003 13:59:27 GMT
I think you could return Document objects using RPC, but I don't think you
want to.  I imagine that would serialize all the fields of all the nodes
into XML.  Wouldn't you end up with XML elements that describe things like
ownerDocument and nodeType for every node?

-----Original Message-----
From: Cathal O' Riordan []
Sent: Thursday, September 25, 2003 8:06 AM
Subject: RE: Returning XML document from Service call 

Can an org.w3c.dom.Document object be returned from an RPC style web
service using a similar convention as below? Does RPC only support the
use of objects to represent XML structures or can generic XML structures
(encapsulated in DOM objects) be returned? 


-----Original Message-----
From: Dimuthu Leelarathne [] 
Sent: 25 September 2002 05:06
Subject: Re: Returning XML document from Service call 


Message style services would help you . They have signatures as below.
about it in the user guide.

public Element [] method(Element [] bodies);
public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
public Document method(Document body);
public void method(SOAPEnvelope req, SOAPEnvelope resp);


----- Original Message -----
From: Cathal O' Riordan
Sent: Wednesday, September 24, 2003 9:20 PM
Subject: Returning XML document from Service call

I'd like to return an XML document from my web service.  I'm aware of
various issues associated with serialisation and de-serialisation of
types and initially followed the Beanserialiser approach.  However, I
that my XML document didn't follow a predictable format and couldn't be
described as an object or set of objects.  Is it possible to just return
raw XML document from an Axis service and how is this done?


A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other 
than the recipient.


View raw message