users@glassfish.java.net

wsimport

From: <glassfish_at_javadesktop.org>
Date: Fri, 14 Sep 2007 06:52:30 PDT

Hi all,
 i am new of this technology so i am trying to deploy a web services with Glassfish.

I was able to debloy the endpoing Hello.java so i can see the Web Serivce by the Server Admin Console: Web Service - Hello
I am also able to Test the web service with the test button.

Now i want to get artifact files in order to compile a client.
Well, if run the following command:
wsimport -d ./build http://localhost:8080/Hello/HelloService?WSDL
then i get the following error:

Exception in thread "main" java.lang.AbstractMethodError: org.apache.xerces.dom.
DeferredDocumentImpl.getDocumentURI()Ljava/lang/String;
        at com.sun.tools.internal.ws.processor.modeler.wsdl.JAXBModelBuilder.int
ernalBuildJAXBModel(JAXBModelBuilder.java:89)
        at com.sun.tools.internal.ws.processor.modeler.wsdl.JAXBModelBuilder.<in
it>(JAXBModelBuilder.java:70)
        at com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler.buildJAX
BModel(WSDLModeler.java:2189)
        at com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler.internal
BuildModel(WSDLModeler.java:223)
        at com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler.buildMod
el(WSDLModeler.java:180)
        at com.sun.tools.internal.ws.processor.config.ModelInfo.buildModel(Model
Info.java:87)
        at com.sun.tools.internal.ws.processor.Processor.runModeler(Processor.ja
va:81)
        at com.sun.tools.internal.ws.wscompile.CompileTool.run(CompileTool.java:
543)
        at com.sun.tools.internal.ws.util.ToolBase.run(ToolBase.java:56)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.tools.internal.ws.Invoker.main(Invoker.java:63)
        at com.sun.tools.internal.ws.WsImport.main(WsImport.java:30)
[Message sent by forum member 'alex70' (alex70)]

http://forums.java.net/jive/thread.jspa?messageID=235403