This content has been marked as final.
Show 3 replies
-
1. Re: problem with wsconsume
ropalka Apr 14, 2008 4:07 AM (in response to gaurishjboss)Hi,
your problem will be that you have installed jboss into directory which contains spaces in its name. It usually causes a lot of problems. Please install jboss into directory that has no spaces in its name. -
2. Re: problem with wsconsume
dlopezleon Jun 24, 2008 1:33 PM (in response to gaurishjboss)I'm having the same problem with jboss-4.2.2.GA + jbossws-cxf-3.0.2.GA and my path doesn't contain any space.
diego@localhost:~/bin/jboss-4.2.2.GA/client$ ../bin/wsconsume.sh -k -p ar.com.selenca.ws.client -o /home/diego/dev/java/examples-workspace/jbossws-client-example/src/main/java/ http://127.0.0.1:8080/jbossws-server-example-1.0-SNAPSHOT/ProfileMgmtBean?wsdl /home/diego/bin/jboss-4.2.2.GA/client Exception in thread "main" java.lang.IllegalStateException: Failed to load: org.jboss.ws.tools.jaxws.impl.SunRIConsumerFactoryImpl ... Caused by: java.lang.ClassNotFoundException: org.jboss.ws.tools.jaxws.impl.SunRIConsumerFactoryImpl ...
looking at wsconsume.sh it loads into the classpath some libraries that doesn't exist in the 'client' folder from the AS. It looks for
jaxws-tools.jar
jaxws-rt.jar
streambuffer.jar
stax-ex.jar
and I've had to rename jbossws-metro-client.jar to jbossws-metro-client.jar in that script.
Should those libraries be in the jbossws-cxf distribution? -
3. problem with wsconsume
mauriciohd Jan 24, 2011 2:24 PM (in response to dlopezleon)Yo lo solucioné corrigiendo seteando correctamente la variable que indica donde está el jboss, a saber, set JBOSS_HOME=C:\servers\jboss-eap-5.0\jboss-as
Luego de esto se invoca al wsConsume