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
