thanks.
i added that to the interface and removed the original annotation
but it looked the same.  do i need to have both annotations?

gary 

-----Original Message-----
From: Karthikeyan M [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 22, 2006 16:48
To: [email protected]
Subject: Re: [xfire-user] aegis annotation question

Make sure you do this on your interface method.

You can try:
 @WebParam(name = "Input")

-karthik

Gary Moh wrote:

>  
> i want to control the naming of parameters to a method so i did this:
>  
>   public String echo(@XmlParamType(name = "Input") String input)
>   {
>     return input;
>   }
>  
> however, when i looked at the wsdl, it showed the following:
>  
> <xsd:element name="echo">
>  <xsd:complexType>
>  <xsd:sequence>
> <xsd:element name="in0" type="xsd:string" nillable="true" 
> minOccurs="1" maxOccurs="1"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
>  
> what am i doing wrong?   also can i control the "nillable" so that it 
> is set to false?
> thanks,
>  
> gary
>  



Reply via email to