On Tuesday 27 September 2011 13:50:18 Sagara Gunathunga wrote:
> On Tue, Sep 27, 2011 at 2:10 PM, Vaclav Barta <[email protected]> wrote:
> > I'm not starting from POJOs, but from WSDL (using ADB - I could use other
> > bindings if they're more suitable, but the result has to agree with the
> > WSDL). As a first step, I'd like to return login success, i.e.
> >
> > <errorCode xsi:type="ns1:LoginErrorEnum">OK</errorCode>
>
> Once you define all your types in WSDL then you can generate
> server/client side codes that can process those types through the
> xsi:type attribute.
Parsing works fine - I get SOAP XML from Betfair, and Axis2 makes Java objects
from it. My problem is generating xsi:type attributes when these objects are
serialized again.
Bye
Vasek
--
http://www.mangrove.cz/
Open Source integration
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]