You will probably need to define your own XSD that provides the values that
are allowed. I'm not sure if that means you need to define your own wsdl
entirely, or if you can just slip in your own xsd for one argument. Probably
depends on the underlying marshalling technology you're using (aegis, jaxb2,
etc.)

Maybe someone else can provide more insight on the details of this.

-Brice

On 12/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hello,

An argument to one of my SOAP methods is required to be one of a specified
set of values - an enumerated type.  If I use a Java enum as the argument
type, XFire takes care of that nicely and generates appropriate WSDL, but
unfortunately that isn't an option in this case.  That's because the list of
allowed values is specified in a configuration file which is read at
runtime.  Hardcoding it in the source isn't an option.  Is there any way I
can do this?

Thanks!

Peter

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




--
Brice Ruth
Software Engineer, Madison WI

Reply via email to