我试图代理一项服务,但不知道它不像其他服务那样工作,我做错了什么?
这是原始服务http://webservicesh.sc.gov.br/SEA/Materiais/Fardamento/WS_Materiais_v1.wsdl
我做的是:
<pattern:web-service-proxy name="BiometriaRH"
inboundAddress="http://LocalIP/services/BiometriaRH/WS_BiometriaRH_v1"
outboundAddress="http://webservicesh.sc.gov.br/SEA/RecursosHumanos/biometria/WS_BiometriaRH_v1.asmx"
wsdlFile="BiometriaRH.wsdl"/>
它确实访问了WSDL文件但我无法在任何地方加载服务,如soapUI或Eclipse ...
答案 0 :(得分:1)
为什么要配置wsdlFile="BiometriaRH.wsdl"
?你有手动定制吗?
如果没有,并且假设在此URL http://webservicesh.sc.gov.br/SEA/RecursosHumanos/biometria/WS_BiometriaRH_v1.asmx?wsdl上提供了WSDL,那么您只需要:
<pattern:web-service-proxy name="BiometriaRH"
inboundAddress="http://LocalIP/services/BiometriaRH/WS_BiometriaRH_v1"
outboundAddress="http://webservicesh.sc.gov.br/SEA/RecursosHumanos/biometria/WS_BiometriaRH_v1.asmx" />