Hi Brice,
 
I'm using JSR-181 annotations, which I think means I'm using Aegis?  I hope 
it's not actually necessary to write my own WSDL from scratch, just to 
customize the description of one argument to one method!  Does anyone else have 
insight on this?
 
Thanks!
 
Peter

________________________________

From: Brice Ruth [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 04, 2006 5:20 PM
To: [email protected]
Subject: Re: [xfire-user] Enumerations as arguments


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