axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anne Thomas Manes <>
Subject Re: Problem with generated
Date Mon, 07 Nov 2005 12:39:30 GMT

The only problem I see in the snippet of WSDL that you've given us is that
you have specificed "style" and "use" attributes in the <wsdl:operation>
definition. (You must specify the "style" attribute in the <soap:binding>
definition or in the <soap:operation> definition, and you must specify the
"use" attribute in <soap:body>, <soap:header>, and <soap:fault> definitions.
(I can't say whether all your references are correct without seeing the rest
of the WSDL.)

In any case, the generated code corresponds to the WSDL. The QName of the
generated wrapper element that indicates the method name ("authenticate") is
taken from the "namespace" attribute in your <soap:body> definition.

If you would like more help, please provide the complete WSDL file and the
error you're getting.


On 11/4/05, Michel Erard <> wrote:
> Hello,
> I'm generating a webservise with maven (wsdl2java).
> In the generated deploy wsdl I have: service name="elquerito-port" but
> in the generated it's writing:
> _call.setOperationName(new
> javax.xml.namespace.QName("",
> "authenticate")); the namespace is used instead of the port-type. This
> was the server does nod finde the requested service by the client.
> is there a fault in the wsdl?
> <soap:binding style="rpc"
> transport=""/>
> <operation style="rpc" use="encoded" name="authenticate">
> <soap:operation soapAction="authenticate"/>
> <input name="authenticate-request">
> <soap:body use="encoded"
> encodingStyle=""
> namespace=""/>
> </input>
> <output name="authenticate-response">
> <soap:body use="encoded"
> encodingStyle=""
> namespace=""/>
> </output>
> <fault name="elquerito-soap-exception">
> <soap:fault use="encoded"
> encodingStyle=""
> namespace=""/>
> </fault>
> </operation>
> Regards,
> Mike

View raw message