[jboss-user] [JBossWS] - wsconsume and IllegalStateException

bypaik do-not-reply at jboss.com
Wed Apr 18 15:52:49 EDT 2007


hi,

i'm running jboss 4.0.5.GA along with jbossws 1.2.1.GA.  i'm attempting to use wsconsume on a generated wsdl.  however, i'm getting the following error:

Exception in thread "main" java.lang.IllegalStateException: Could not load provider:org.jboss.ws.tools.jaxws.impl.WSContractConsumerFactoryImpl
        at org.jboss.ws.tools.jaxws.api.Locator.locate(Locator.java:55)
        at org.jboss.ws.tools.jaxws.api.WSContractConsumer.newInstance(WSContractConsumer.java:68)
        at org.jboss.ws.tools.jaxws.api.WSContractConsumer.newInstance(WSContractConsumer.java:56)
        at org.jboss.ws.tools.jaxws.command.wsconsume.importServices(wsconsume.java:170)
        at org.jboss.ws.tools.jaxws.command.wsconsume.main(wsconsume.java:76)

i went through and looked for any other posts regarding this issue and found that jbossws-wsconsume-impl.jar needed to be added to the classpath.  i 1.2.1's wsconsume.bat adds this jar to the classpath.

i did add jbossretero-rt.jar to the classpath as well because i was getting a ClassNotFoundException on JBossStringBuilder

i'm running everything locally on winxp.

any help is greatly appreciated

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

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



More information about the jboss-user mailing list