I was returning very complex objects from the server to the client, in both
Axis-to-Axis as well as Axis-to-.Net.  The one thing I found I had to avoid
was using the Java Containers, by using native java arrays.

Jim Stickley
Birch Telecom
(816) 300-6743
[EMAIL PROTECTED]


-----Original Message-----
From: Ian Roughley [mailto:[EMAIL PROTECTED]] 
Sent: Friday, July 05, 2002 12:11 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: re: beans as attributes to beans

Jim, I have both the client and server as Axis.  My clients is a simple
java class run from the commands line and the server is running Axis
under Tomcat.  Were you returning a complex object from the server or
sending one to it?

Thanks,
Ian


I have done this and it seems to work fine.  Is your client and server
both
Axis, or are you using another SOAP implementation?  I have gotten it
to
work with the following combinations:

                 Client          Server
                 --------                --------
                 Axis                            Axis
                 .NET                            Axis

Jim Stickley
Birch Telecom
(816) 300-6743
[EMAIL PROTECTED]


-----Original Message-----
From: Ian Roughley [mailto:[EMAIL PROTECTED]] 
Sent: Friday, July 05, 2002 8:23 AM
To: [EMAIL PROTECTED]
Subject: beans as attributes to beans

Hi,

Has anyone had experience with objects that contain beans as attributes
in other beans?  The Java2WSDL and WSDL2Java work fine, and looks good.
 On the server side the return object is serialized correctly, but on
the client there are exceptions for deserializing
(org.xml.sax.SAXException: !! No Deserializer for ...) - even though
the Stub and the dd both have all the beans included.

Thanks for the help,
Ian

i.e.

BeanA {
  BeanB b;
  setB( BeanB b );
  BeanB getB();
}

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

Reply via email to