Hi, I have a method addX in a class Management which returns an Info object. This Info class has only one private member, a string (for the time being -- I want to expand on this later), with a getter and setter for that string. I run java2wsdl on the Management class. I don't get any errors, but the Info object is represented in the types section of the wsdl as follows:
<complexType name="Info"> <sequence/> </complexType> <elementName="Info" nillable="true" type="intf:Info"/> How would I let java2wsdl know that I have this Info class already so that it can serialize/deserialize it? Is it supposed to pick this up automatically? I don't see any way to specify this. I am using beta 1. Thanks so much for your help! Thanks, Nell On Sat, 15 Jun 2002 [EMAIL PROTECTED] wrote: > Java2WSDL supports complex bean types. If you're having problems, please > show us what you're trying to run through Java2WSDL and the errors you're > seeing. > > Russell Butek > [EMAIL PROTECTED] > > > hrehn <[EMAIL PROTECTED]>@students.uiuc.edu> on 06/15/2002 10:11:25 > AM > > Please respond to [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > cc: > Subject: java2wsdl and complex types > > > > Hi, > > When using java2wsdl is there any support for complex types? For instance, > if > i want to expose a method which returns an object which will be represented > as > a complex type (a simple bean for example), am I going to have to either > write > my own wsdl or fill in the types section of the wsdl generated? What is > the > current state of this in java2wsdl and is it something that will eventually > be > there, but just isn't yet? > > Thanks! > Nell > >
