Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Using Complex Types with Web Services
Using Complex Types with Web Services [message #183839] Wed, 06 December 2006 22:59 Go to next message
Fabrizio Tarara is currently offline Fabrizio TararaFriend
Messages: 3
Registered: July 2009
Junior Member
Hello,

I am wondering if anyone can point me in the right direction with web
services and if complex java objects can be transfered through XML or not.
I have read the JAX-RPC 1.1 documentation and it is leading me to believe
that it is not possible through the standard approach. If someone could
clarify this that would be great!

Fabrizio
Re: Using Complex Types with Web Services [message #184388 is a reply to message #183839] Mon, 11 December 2006 15:48 Go to previous messageGo to next message
Kathy Chan is currently offline Kathy ChanFriend
Messages: 93
Registered: July 2009
Member
Hi Fabrizio,

Yes, XML with complex types can be created into Web service. The list of
XML types supported are listed in the JAX-RPC documentation. For XML types
not supported by JAX-RPC, you could write custom serializer and
deserializers to handle them.

Regards,
Kathy Chan
"Fabrizio" <fabriziotarara@gmail.com> wrote in message
news:84c3f2042902fe413ba550f00f908fa2$1@www.eclipse.org...
> Hello,
>
> I am wondering if anyone can point me in the right direction with web
> services and if complex java objects can be transfered through XML or not.
> I have read the JAX-RPC 1.1 documentation and it is leading me to believe
> that it is not possible through the standard approach. If someone could
> clarify this that would be great!
>
> Fabrizio
>
Re: Using Complex Types with Web Services [message #184567 is a reply to message #183839] Wed, 13 December 2006 03:46 Go to previous message
Ray Hurst is currently offline Ray HurstFriend
Messages: 121
Registered: July 2009
Senior Member
Look into the JAXB spec at jave.sun.com.
It talks about marshaling and un-marshaling complex java objects into
XML and back. You can go here for a tutorial:
http://www-128.ibm.com/developerworks/edu/x-dw-xjaxb-i.html
Ray


Fabrizio wrote:
> Hello,
>
> I am wondering if anyone can point me in the right direction with web
> services and if complex java objects can be transfered through XML or
> not. I have read the JAX-RPC 1.1 documentation and it is leading me to
> believe that it is not possible through the standard approach. If
> someone could clarify this that would be great!
>
> Fabrizio
>
Previous Topic:SOAP Faults with attachments
Next Topic:Running the Properties View Example gives NoClassDefFound Error
Goto Forum:
  


Current Time: Thu Apr 25 14:23:23 GMT 2024

Powered by FUDForum. Page generated in 0.02733 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top