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
All what is necessary seems to be
System.setProperty("com.sun.net.httpserver.HttpServerProvider", "org.mortbay.jetty.j2se6.JettyHttpServerProvider");
The current contrib code from jetty-contrib/org/mortgay/jetty/j2se6 is not ready yet for Jetty 7. That's all.
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)
The class was renamed to
org.eclipse.jetty.http.spi.JettyHttpServerProvider
And i took it from http://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.0.6.v20130930/:
V9.0.6 for Java 7
V9.3.2 is for Java 8