1 Reply Latest reply on May 18, 2007 8:58 AM by Sebastian Wenzky

    IllegalStateException due calling wsconsume

    Sebastian Wenzky Newbie

      Hi there,
      i´ve one problem there, as you can see by the topic.

      When i try to generate the client-stub java files by typing in the console wsconsume echo.wsdl i receiving following stack trace:


      C:\JBossWebService\install\bin>wsconsume echo.wsdl -t
      Exception in thread "main" java.lang.IllegalStateException: Could not load provi
      der: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(WSContrac
      tConsumer.java:68)
      at org.jboss.ws.tools.jaxws.api.WSContractConsumer.newInstance(WSContrac
      tConsumer.java:56)
      at org.jboss.ws.tools.jaxws.command.wsconsume.importServices(wsconsume.j
      ava:170)
      at org.jboss.ws.tools.jaxws.command.wsconsume.main(wsconsume.java:76)


      I mention, that i´ve invoking the particular wsconsume file at the JbossWebFolder/install/bin as you can downloading from the jboss homepage as well.

      The rather install procedure to migrate the JBossWebService into the Application Server(4) works for me very well.

      Any ideas?

      Have i to insert specifiy librarys into the JAVA_HOME/lib/ext Folder or something like that?

      Best regards