Hi Catalin,
As well as mapping the types for your complex class you have to map
types for all fields in that class which are complex types. If for
example you have:
public foo {
int x;
int y;
Bar bar;
}
you have to map types for both foo and bar. The easiest way to do this
is to ensure that they conform to the JavaBeans specification and map
them to the BeanSerializer class.
Phill.
-----Original Message-----
From: Catalin Tomescu
To: [EMAIL PROTECTED]
Sent: 10/22/01 4:06 PM
Subject: Complex types in SOAP
Hi all,
I have a problem sending and receiving complex types using SOAP toolkit
2.0.
I have created a web service which returns a class:
X{field1,field2,field3,...} If all fields are simple types everything
works
fine. If I want to change fieldx to some other structure
Y{field1,field2,field3,...} it does't work any more. I can;t find any
documentation regarding WSDL, mappers and other issues on this problem.
If any one has succeeded in doing this please help me.
Thanks.
Catalin
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp