Publishing a WS with Jax-WS Endpoint

前端 未结 2 770
[愿得一人]
[愿得一人] 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:23

    Here is my code:

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

    It says The address's path should start with /

提交回复
热议问题