Are you using Spring? Check out this if so:

http://xfire.codehaus.org/Advanced+Configuration

You will probably want to use the Jsr181WebAnnotations class and not the CommonsWebAttributes class.

- Dan

Gary Moh wrote:

how do i wire the AnnotationServiceFactory with the rest?
i noticed that bean "jsr181" is commented out in xfire.xml packaged with
xfire-all-1.0.jar.

gary

-----Original Message-----
From: Dan Diephouse [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 12:30
To: [email protected]
Subject: Re: [xfire-user] aegis annotation question

@WebParam should be the only one you need. Are you using the
AnnotationServiceFactory?

Also re nillable - you can't set nillable to false in 1.0, but that will
be supported in our 1.1 beta coming up Real Soon Now.

- Dan

Gary Moh wrote:

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






--
Dan Diephouse
(616) 971-2053
Envoi Solutions LLC
http://netzooid.com




--
Dan Diephouse
(616) 971-2053
Envoi Solutions LLC
http://netzooid.com

Reply via email to