Publishing a WS with Jax-WS Endpoint

前端 未结 2 748
[愿得一人]
[愿得一人] 2020-12-05 10:34

I built a minimal web service and published it using javax.xml.ws.Endpoint. If I try to get the WSDL at http://localhost:1234/AddService?wsdl it works fine.

相关标签:
2条回答
  • 2020-12-05 11:21

    Could you try publishing it on 0.0.0.0?

    0 讨论(0)
  • 2020-12-05 11:23

    Here is my code:

    Endpoint.publish("http://localhost:8080", new ServiceController());

    It says The address's path should start with /

    0 讨论(0)
提交回复
热议问题