Sunday, November 3, 2013

Invalid endpoint address in port portName in service ServiceLocator: REPLACE_WITH_ACTUAL_URL

Removed

When developing a web service, we often generate WSDL automatically using Wsimport in metro or Wsprovide in Jboss.
When I was trying creating a Wb Service client, I have had this error:
Invalid endpoint address in port portName in service ServiceLocator: REPLACE_WITH_ACTUAL_URL

In fact, in the generated WSDL, there was

<soap:address location="REPLACE_WITH_ACTUAL_URL"></soap:address>

where the Address should be replaced by the service Address

<soap:address location="http://localhost:8080/service/myService.ws"></soap:address>

1 comment :

  1. This comment has been removed by a blog administrator.

    ReplyDelete

Articles les plus consultés