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:[EMAIL PROTECTED] 
Sent: 25 September 2002 05:06
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
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.




Reply via email to