You're accessing an older RPC/encoded WSDL (you can see in the wsdl:binding section), which JAX-WS implementations like Metro and CXF normally can't handle. For RPC/encoded, you can use Axis1, the older JAX-RPC implementation, or, if you really want to stay with Metro, the JAX-WS Dispatch mechanism[1].
Glen
[1]
http://www.jroller.com/gmazza/entry/calling_rpc_encoded_web_services
metro-3 wrote:
Hi everyone,
I'm looking for some help with an axis web service that I invoke using a JAX-WS client. The client uses a wsdl - see the attached file "consult2.wsdl". I Generated the client top-down from the wsdl file. BAsically there is the operation defined in the wsdl file (I have attached the whole wsdl):
[i]
<wsdl:operation name="processEnvelope">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="processEnvelopeRequest">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:publicid:-:DGTAXUD:EOS:EORI:WEBSERVICE:1.0" use="encoded"/>
</wsdl:input>
<wsdl:output name="processEnvelopeResponse">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:publicid:-:DGTAXUD:EOS:EORI:WEBSERVICE:1.0" use="encoded"/>
</wsdl:output>
</wsdl:operation>[/i]