Enumeration definition in SOAP
1 posts in topic
Flat View  Flat View

Posted By:   Rami_Abramson
Posted On:   Thursday, May 27, 2004 03:33 AM

Hello all,

How is it possible to define an enumeration in SOAP?
1> What should be defined in the java class from which the WSDL is generated?
2> What is its representation in the WSDL itself?

would appreciate your help,

Rami A.

Re: Enumeration definition in SOAP

Posted By:   Sean_Owen  
Posted On:   Thursday, May 27, 2004 07:32 AM

An enumeration is essentially a list of things, so this would correspond to an XSD array in the WSDL. Ideally, write the Java method that you are exposing as a web service in such a way that it returns an array of things, not an Enumeration.
About | Sitemap | Contact