[jboss-user] [JBossWS] - Re: problem with wsconsume

dlopezleon do-not-reply at jboss.com
Tue Jun 24 13:33:16 EDT 2008


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 at 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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160308#4160308

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160308



More information about the jboss-user mailing list