cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bim2...@basistech.com>
Subject RE: Return direct XML
Date Wed, 07 Nov 2007 02:37:45 GMT
I believe that Aegis allows you to have a return type of
org.w3c.Document or the JDOM equivalent, and XML will appear.

> -----Original Message-----
> From: Liu, Jervis [mailto:jliu@iona.com]
> Sent: Tuesday, November 06, 2007 9:32 PM
> To: cxf-user@incubator.apache.org
> Subject: RE: Return direct XML
> 
> In your case, looks like the easiest way is to use JAX-WS Provider API
> with XML Binding. You will find a bunch of different type of Provider
> implementations under system test:
>
https://svn.apache.org/repos/asf/incubator/cxf/trunk/systests/src/test/j
av
> a/org/apache/cxf/systest/provider/. Of course the limitation is that
the
> input of your function has to be in XML format as well (can be
> Source/SOAPMessage/DataSource, depend on your mode and binding), in
some
> cases you may find its hard to parse input from XML by yourself.
> 
> Cheers,
> Jervis
> 
> > -----Original Message-----
> > From: Roshan A. Punnoose [mailto:rpunnoose@proteus-technologies.com]
> > Sent: 2007?11?7? 4:08
> > To: cxf-user@incubator.apache.org
> > Subject: Return direct XML
> >
> >
> > Hi,
> >
> >
> >
> > What is the easiest way to return XML directly? For example, in my
> > function, if I create XML, I want to be able to send that object
> > directly back to the calling client. Is this possible?
> >
> >
> >
> > Roshan
> >
> >
> 
> ----------------------------
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
Ireland

Mime
View raw message