0

我正在尝试代理服务,但不知何故它不像其他服务那样工作,我做错了什么?

这是原始服务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 ......

4

1 回答 1

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" />
于 2013-09-06T18:39:29.983 回答