Hello,
I'm generating a webservise with maven (wsdl2java).
In the generated deploy wsdl I have: service name="elquerito-port" but
in the generated BindingStub.java it's writing:
_call.setOperationName(new
javax.xml.namespace.QName("http://elquerito.hti.bfh.ch/soap/wsdl/v1.0",
"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="http://schemas.xmlsoap.org/soap/http"/>
<operation style="rpc" use="encoded" name="authenticate">
<soap:operation soapAction="authenticate"/>
<input name="authenticate-request">
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://elquerito.hti.bfh.ch/soap/wsdl/v1.0"/>
</input>
<output name="authenticate-response">
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://elquerito.hti.bfh.ch/soap/wsdl/v1.0"/>
</output>
<fault name="elquerito-soap-exception">
<soap:fault use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://elquerito.hti.bfh.ch/soap/wsdl/v1.0"/>
</fault>
</operation>
Regards,
Mike