I have a wsdl file for a web service. I want to check the interaction between the client and server. To do this, I run a server layout with a built-in grizzly.
Question about the implementation of the breadboard server. I created an interface from wsdl (and xsd) using wsimport and wrote an implementation. When running on a grizzly, I get the following error:
com.sun.xml.ws.server.ServerRtException: [failed to localize] cannot.load.wsdl(META-INF/wsdl/test.wsdl)
I am starting a web service with this code:
HttpHandler httpHandler = new JaxwsHandler(new TestImpl()); server.getServerConfiguration().addHttpHandler(httpHandler, "/test");
The problem is that Grizzly cannot find the wsdl and xsd files. In the integrated glass layer of his work.
EDIT1
I change wsdlLocation to "test.wsdl" and its work. But now the grizzlies say:
java.lang.NoSuchMethodError: javax.xml.ws.WebFault.messageName()Ljava/lang/String;
EDIT2
If using JDK1.7, it works. But I need JDK 1.6
Anton Tsivarev
source share