bhaktimehta thank you for the replay.
I have followed your advice. In the dos windows first I deleted the classpath's value and then i run wsimport under GF\bin, but i got always the same problem.
C:\Program Files\Java\glassfish>cd bin
C:\Program Files\Java\glassfish\bin>set classpath
CLASSPATH=.;C:\Program Files\Java\jdk1.6.0\lib\tools.jar;C:\Program Files\Java\j
dk1.6.0\bin;C:\Program Files\Java\jre1.6.0\bin;.;C:\Program Files\Java\jdk1.6.0\
lib\tools.jar;C:\Program Files\Java\jdk1.6.0\bin;C:\Program Files\Java\jre1.6.0\
bin;.;C:\Program Files\Java\jdk1.6.0\lib\tools.jar;C:\Program Files\Java\jdk1.6.
0\bin;C:\Program Files\Java\jre1.6.0\bin;%CLASSPATH%;C:\Program Files\SQLLIB\jav
a\db2java.zip;C:\Program Files\SQLLIB\java\runtime.zip;C:\Program Files\SQLLIB\b
in;C:\Lannet\Siebel.jar;C:\Lannet\SiebelJI_enu.jar;C:\Lannet\LnConnectionSocket.
class;C:\Program Files\SQLLIB\java\db2java.zip;C:\Program Files\SQLLIB\java\runt
ime.zip;C:\Program Files\SQLLIB\bin;C:\Lannet\Siebel.jar;C:\Lannet\SiebelJI_enu.
jar;C:\Lannet\LnConnectionSocket.class;C:\Program Files\SQLLIB\java\db2java.zip;
C:\Program Files\SQLLIB\java\runtime.zip;C:\Program Files\SQLLIB\bin;C:\Lannet\S
iebel.jar;C:\Lannet\SiebelJI_enu.jar;C:\Lannet\LnConnectionSocket.class
C:\Program Files\Java\glassfish\bin>set classpath=
C:\Program Files\Java\glassfish\bin>set classpath
Environment variable classpath not defined
C:\Program Files\Java\glassfish\bin>asadmin start-domain domain1
Starting Domain domain1, please wait.
Log redirected to C:\Program Files\Java\glassfish\domains\domain1\logs\server.lo
g.
Domain domain1 is ready to receive client requests. Additional services are bein
g started in background.
Domain [domain1] is running [Sun Java System Application Server Platform Edition
9.0_01 (build b02-p01)] with its configuration and logs at: [C:\Program Files\J
ava\glassfish\domains].
Admin Console is available at [
http://localhost:4848].
Use the same port [4848] for "asadmin" commands.
User web applications are available at these URLs:
[
http://localhost:8080 https://localhost:8181 ].
Following web-contexts are available:
[/web1 /asadmin hello2 Hello ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://ATURRIN:8686/jmxrmi] for domain management purpos
es.
Domain listens on at least following ports for connections:
[8080 8181 4848 3700 3820 3920 8686 ].
C:\Program Files\Java\glassfish\bin>wsimport -d ./build
http://localhost:8080/He
llo/HelloService?WSDL
Exception in thread "main" java.lang.AbstractMethodError: org.apache.xerces.dom.
DeferredDocumentImpl.getDocumentURI()Ljava/lang/String;
at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.internalBuil
dJAXBModel(JAXBModelBuilder.java:89)
at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.<init>(JAXBM
odelBuilder.java:70)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WS
DLModeler.java:2189)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildMode
l(WSDLModeler.java:223)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLMo
deler.java:180)
at com.sun.tools.ws.processor.config.ModelInfo.buildModel(ModelInfo.java
:87)
at com.sun.tools.ws.processor.Processor.runModeler(Processor.java:81)
at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:543)
at com.sun.tools.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.ws.Invoker.main(Invoker.java:63)
at com.sun.tools.ws.WsImport.main(WsImport.java:30)
[Message sent by forum member 'alex70' (alex70)]
http://forums.java.net/jive/thread.jspa?messageID=235860