1 Reply Latest reply on Dec 4, 2008 4:33 AM by Kevin Conner

    SOAPClient interpreting the EPR wrongly

    Abhijeet Mohanty Newbie

      I am consuming a wbservice with SOAPClient like this -

      The SOAP binding part of WSDL is -

      - <wsdl:service name="TestJaxWsService">
      - <wsdl:port name="TestJaxWsServiceHttpSoap11Endpoint" binding="ns:TestJaxWsServiceSoap11Binding">
      <soap:address location="http://usphxdlh02.spe.sony.com:18080/Service/services/TestJaxWsService.TestJaxWsServiceHttpSoap11Endpoint/" />
      - <wsdl:port name="TestJaxWsServiceHttpEndpoint" binding="ns:TestJaxWsServiceHttpBinding">
      <http:address location="http://usphxdlh02.spe.sony.com:18080/Service/services/TestJaxWsService.TestJaxWsServiceHttpEndpoint/" />

      However at runtime SOAPCLient gives me an exception as -

      org.jboss.soa.esb.actions.ActionProcessingException: Failed to invoke SOAP Endpoint: ' ' - 'echo'.

      Somehow th eip gets interpreted as internal ip and port gets changed to 80 and my SOAPClient is not able connect to EPR.

      Thanks for your help..