I think you are getting underscore prefix because package is a reserved word in Java.
Try to change name to something else, like "aPackage" to see if this true.

Mike

-----Original Message-----
From: Irazabal, Alex [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 2:12 PM
To: '[EMAIL PROTECTED]'
Subject: serializer question


Hi, you all. I have a really stupid question. Say you have an object
Package, declared as:
class Package{float myfloat; int myint; SubPackage mySub;} and of course
class SubPackage {}...
The question is: using WSDL2Java and Java2WSDL I am able to generate the
stub and service classes with the "proper" serialization. What I don't
understand is that my Package object turned into a _Package object, so the
calls to my service now take _Package as an argument but there is no
(visible) conversion from _Package to Package?

Does this make sense to anyone out there? I just want to call my service
with a Package object using Axis built-in serialize/deserializer classes...

An example you my point my way would be GREATLY appreciated...

Thanks,
Alex

Reply via email to