axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volkmann, Mark" <Mark.Volkm...@AGEDWARDS.com>
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 [mailto:coriordan@tssg.org]
Sent: Thursday, September 25, 2003 8:06 AM
To: axis-user@ws.apache.org
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? 

Regards,
C.



-----Original Message-----
From: Dimuthu Leelarathne [mailto:muthulee@vijayaba.cse.mrt.ac.lk] 
Sent: 25 September 2002 05:06
To: axis-user@ws.apache.org
Subject: Re: Returning XML document from Service call 

Cathol,

Message style services would help you . They have signatures as below.
Read
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);

Regards,
Dimutu.

----- Original Message -----
From: Cathal O' Riordan
To: axis-user@ws.apache.org
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
the
various issues associated with serialisation and de-serialisation of
complex
types and initially followed the Beanserialiser approach.  However, I
found
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
a
raw XML document from an Axis service and how is this done?

Regards,
C.





------------------------------------------------------------------------------------------
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.

------------------------------------------------------------------------------------------

Mime
View raw message