Service not found for link to endpoint

I need to call a web service that is built using axis2. When I try to call this service, it throws an exception. This is an exception: the service cannot be found to refer to the endpoint. In the wsdl file, I set the location property: http: // localhost: 8080 / SMSWebServer / services / SMSWS .

In the client, I use this endpoint to call the web service.

Can anyone tell me why this is happening?

+3
source share
1 answer

DISCLAIMER: While I consume services in heterogeneous neighborhoods and deal with mixed architectures, I don’t have the depth in Java to point to the answer “A fix your problem”. Having said that ...

I would start here: http://www.keith-chapman.org/2009/02/axis2-endpoint-reference-epr-for.html

There is a link to an article explaining more detailed information about solving the problem. The simple answer is that there is something wrong with the endpoint you are trying to hit. After fixing this problem you will work again.

+1
source

Source: https://habr.com/ru/post/1796339/


All Articles