I was experimenting with Java2wsdl but I was not able to able to generate the right wsdl files from classes other than those that follow the JavaBean pattern. Regards.
-------------------------------------- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638 Fax: +386 1 5865 270 E-mail: [EMAIL PROTECTED] www.hermes-softlab.com -------------------------------------- > -----Original Message----- > From: Abhijit Dixit [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 21, 2002 7:09 AM > To: [EMAIL PROTECTED] > Subject: Java2Wsdl > > > Hi, > > I'm trying to use the Java2Wsdl tool in Axis to generate a > WSDL file for a > service I have written in Apache SOAP. I need to have complex > types in my > WSDL since the SOAP service returns a user-defined class. This is the > declaration of the class I have ... > > public class HostInfo{ > > String ip_address; > int port; > String format; > > .... > // And all the required get and set methods > > } > > With this the WSDL does not have any element entries for the > complex type. > But, if I change all the declarations in the class to public, > all of them > appear in the WSDL. Is it neccessary to have all the > properties as public ? > Or is there any option I can set so that Java2Wsdl can > recognize private > members also ? > > Thanks, > Abhijit >
