創建JAX-WS webservice時是否有任何更改Webservice URL的可能性?更改JAX-WS服務URL
自動網址是(在Glassfish 3):http://<host>/<context>/<Servicename>
,但我需要的是:http://<host>/<context>/axis/services/<Servicename>
(因爲它是從軸到JAX-WS的端口)
有沒有辦法告訴JAX-WS在哪裏發佈WS?
使用sun-jaxws.xml是沒有選擇的,因爲它禁用了@EJB/@Inject DI。
沒有'@ Path'在JAX-WS,'@ Path'是RESTful服務的一種詮釋。但我試過了,它不起作用。 – huzi