You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sebastian Wagner <se...@gmail.com> on 2008/04/23 16:08:51 UTC

OMElements, REST, deeply nested Objects, Complex-Types

hi,

from the Quickstart-Guide and the Samples I know that a remote-method that
can be called via SOAP and REST must look like that:
public OMElement echo(OMElement element) throws XMLStreamException

but how to send back custom elements? How to build a OMElement element from
scratch and send that back?
How do you deal for example if you got a LinkedHashMap with deeply nested
children's.
I mean I would like to send back a OMElement with deep nested Objects,
Pojo's Objects, Lists et cetera. How to deal with that? Is there an example
how to deal with deep nested OMElements?

Is there any book about axis2 in general available?
I found one releasing at May 2008. Any other recommendations?

thank you,
sebastian

-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
seba.wagner@gmail.com

Re: OMElements, REST, deeply nested Objects, Complex-Types

Posted by Deepal jayasinghe <de...@gmail.com>.
> hi,
>
> from the Quickstart-Guide and the Samples I know that a remote-method 
> that can be called via SOAP and REST must look like that:
> public OMElement echo(OMElement element) throws XMLStreamException
>
> but how to send back custom elements? How to build a OMElement element 
> from scratch and send that back?
> How do you deal for example if you got a LinkedHashMap with deeply 
> nested children's.
> I mean I would like to send back a OMElement with deep nested Objects, 
> Pojo's Objects, Lists et cetera. How to deal with that? Is there an 
> example how to deal with deep nested OMElements?
http://www.developer.com/java/other/article.php/3726461
>
> Is there any book about axis2 in general available?
Will available soon :)

Thank you!
Deepal

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org