Publish JAX-WS endpoint with embedded Jetty 7

前端 未结 3 1781
日久生厌
日久生厌 2021-02-06 05:54

Can anybody help with this?

I want to use an embedded Jetty 7 as Endpoint. This is what I tried:

public class MiniTestJetty {

@WebService(targetNamespac         


        
3条回答
  •  攒了一身酷
    2021-02-06 06:31

    You could simply open the URL of the WSDL in Firefox and check the response headers with Firebug. You should get something like:

    HTTP/1.1 200 OK
    Content-Type: text/xml;charset=utf-8
    Transfer-Encoding: chunked
    Server: Jetty(7.1.2.v20100523)
    

提交回复
热议问题