我有wsdl similler吼叫wsdl
< some content >
<wsdl:service name="SomeService">
<wsdl:port binding="tns:SomeServiceBinding"
name="SomeServicePort">
<wsaw:UsingAddressing wsdl:required="true" />
<wsp:Policy>
<wsam:Addressing>
<wsp:Policy />
</wsam:Addressing>
</wsp:Policy>
<soap:address location="ws://companyname.com/data/Afte/SomeService/V1"/>
</wsdl:port>
</wsdl:service>
<some content >
从wsdl soap地址是ws寻址,我已经使用wsdl2java工具将wsdl转换为java并使用apache cxf创建客户端。
尝试呼叫客户端时出现以下错误: java.lang.RuntimeException:找不到地址的管道发起人:ws://companyname.com/data/Afte/SomeService/V1和transport ...
答案 0 :(得分:0)
soap:地址网址以&#34; ws://&#34;开头。将其更改为&#34; http://&#34;。不知道为什么会是&#34; ws&#34;。不是真正的已知协议。