1 Reply Latest reply on Dec 9, 2014 5:59 AM by mmusaji

    I can't create Web Service from EJB in JBoss Developer Studio

    ovm

      I tried to create a web service from EJB with help of JBoss Developer Studio but got an error "Could not load class ... Did you specify a valid --classpath?"(represented in the attachment).

      Error1.jpg

       

      I have EJB project which contains AccountServiceBean.

      I used bean's context menu item "WebServices->Create Web Service" to initiate the creation process.

      MenuItem.jpg

      Dialog1.jpg

      Dialog2.jpg

       

      It looks as wsprovide tool of JBoss EAP is used for Web Service generation and it can't find the class AccountServiceBean. To the moment I have not found a way to make the bean visible to the tool.

       

      I broke my head trying to resolve the problem I hope somebody faced the problem already and found a solution.

       

      I found two related JBoss issues but they are not very helpful:

      1. https://issues.jboss.org/browse/JBIDE-3310

      2. https://issues.jboss.org/browse/JBIDE-3173

       

      Environment:

      1. IDE: JBoss Developer Studio Version: 7.1.1.GA

      2. Server: JBoss EAR 6.2

      3. wsprovide: JBossDevStudio711\runtimes\jboss-eap\bin\wsprovide.bat

      4. OS: Windows 7 64bit