Does Java 7 include a JAX-WS implementation or just the API?

前端 未结 1 1698
我在风中等你
我在风中等你 2021-01-04 07:40

I am told that Java 7 is supposed to include JAX-WS such that I don\'t need libraries like those in Apache CXF. However, the official docs say:

This

相关标签:
1条回答
  • 2021-01-04 07:54

    Jdk 7 (like 6) includes a metro based implementation.

    As you can see from your exception, the internal implementation is running "com.sun.xml.internal.ws.transport.http.server.EndpointImpl". The problem seems to be that it doesn't like your WsdlLocation (i believe jaxws is expecting a local resource, but you have given it a http resource).

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