You need to write your WSDL first....Then run WSDL2Java to generate the code. Try doing this with the http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
-- dims --- [EMAIL PROTECTED] wrote: > Hi, thanks for the info. > > -----Original Message----- > From: ext Almeida, Timothy [mailto:[EMAIL PROTECTED] > Sent: 27. March 2003 17:46 > To: '[EMAIL PROTECTED]' > Subject: RE: (Urgent) WSDL Doubt > > > Suresh, > Yes, WSDL can define enumerations. You can check out this currency > conversion service as an example -- it defines an enumeration for a simple > type named 'Currency'. > http://www.webservicex.net/CurrencyConvertor.asmx?WSDL > You can use Binding Point's QuickTry site to quickly test it: > http://www.bindingpoint.com/QuickTryv2.aspx > Not sure how one should go about defining enumerations with Axis. (Maybe > someone else would care to elaborate on the best way.) > I'm guessing the solution would partly involve defining your own Serializer > (which can define how WSDL is output for a given type.) > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 8:22 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: (Urgent) WSDL Doubt > > > Hi, > > I would like to know if it is possible to specify enumerations in WSDL. > > For example, my service method takes a String parameter, but only certain > Strings are allowed. Is it possible to specify this in WSDL? Or how should > this be communicated to the SOAP clients? > > Thanks, > Suresh ===== Davanum Srinivas - http://webservices.apache.org/~dims/ __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com
