Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19379

Unable to create bottom up web service from EJB project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.3.x
    • 4.2.0.Final
    • upstream, webservices
    • Hide

      Create both EJB project with EJB annotated with @WebService and @Stateless

      Create a Dynamic Web Project and link the EJB project to this via project required on the classpath. Right click on either project and follow the wizard to create a new bottom up web service (i.e. generate the WSDL). You get the error once the wizard tries to read the EJB class even though you specified in the dialogue before.

      Show
      Create both EJB project with EJB annotated with @WebService and @Stateless Create a Dynamic Web Project and link the EJB project to this via project required on the classpath. Right click on either project and follow the wizard to create a new bottom up web service (i.e. generate the WSDL). You get the error once the wizard tries to read the EJB class even though you specified in the dialogue before.

      This was created from community post [1]. I reproduced the issue locally using JBDS 8.0.0.GA.

      I have an EJB project (EJB-A) and Dynamic Web Project (Web-A).

      EJB-A is on the project classpath for Web-A. When trying to create the WSDL from the EJB I get the error

      Error: Could not load class [ejbwstest.AccountServiceBean]. Did you specify a valid --classpath?

      [1] https://developer.jboss.org/thread/250797

            bfitzpat_rh Brian Fitzpatrick (Inactive)
            rhn-support-mus Mustafa Musaji
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: