Hi los. I think with JSR-181 you can use the @WebParam annotation to set
web service parameter names.
-- Matt
On 1/25/07 11:19 AM, "moraleslos" <[EMAIL PROTECTED]> wrote:
>
> I have a jsr181-annotated service that I use XFire to expose. The generated
> WSDL contains anonymous names for parameters of this service. For example,
> I have one service that looks like this:
>
> **************************
> <xsd:element name="retrieveBooks">
>
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true"
> type="xsd:string"/>
> <xsd:element maxOccurs="1" minOccurs="1" name="in1" type="xsd:int"/>
> <xsd:element maxOccurs="1" minOccurs="1" name="in2" type="xsd:int"/>
> <xsd:element maxOccurs="1" minOccurs="1" name="in3" type="xsd:boolean"/>
> <xsd:element maxOccurs="1" minOccurs="1" name="in4" type="xsd:boolean"/>
> <xsd:element maxOccurs="1" minOccurs="1" name="in5" type="xsd:boolean"/>
> </xsd:sequence>
> ...
> **************************************
>
> Instead of these anonymous "in#" for names, is there a way I can specify the
> name so that the WSDL will generate them appropriately? I was hoping it
> would take the name of the parameter as default. Thanks in advance!
>
> -los
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email