I would recommend you use JAX-WS/JAXB. Running wsimport against the WSDL will produce JAX-WS/JAXB annotated interfaces and classes. Tuscany supports such annotations out of the box.

Thanks,
Raymond
--------------------------------------------------
From: "Stefan Kolb" <stefan-k...@web.de>
Sent: Tuesday, January 19, 2010 4:07 PM
To: <user@tuscany.apache.org>
Subject: RE: Binding to external Webservices

How can i map other than standard types to a Java interface from WSDL?
E.g. a webservice with a return sequence containing several different types?

<s:complexType name="ObjectReturn">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="age" type="s:int"/>
</s:sequence>
</s:complexType>
______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de

Reply via email to