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

Cannot create WS artifacts for POJO when in default package

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 3.1.0.CR2, 3.1.1
    • 3.0.0.GA
    • webservices
    • None

    Description

      You cannot create a webservice from a simple pojo which is in the default package.

      I note there is a warning on the Web Service Dialog box -

      ! The service implementation selected does not follow Java naming conventions.

      But it still allows you to progress. until you get the following -

      log4j:WARN No appenders could be found for logger (org.jboss.wsf.framework.DefaultSPIProvider).
      log4j:WARN Please initialize the log4j system properly.
      Error: Could not generate. (use --show-traces to see full traces)
      Error: Cannot obtain @WebService annotation from: myPojo

      I can't see anything in the docs[1] to prohibit this.

      [1] http://download.jboss.org/jbosstools/nightly-docs/en/ws_ref_guide/html_single/index.html

      Attachments

        Activity

          People

            lukas.jungmann@gmail.com Lukas Jungmann (Inactive)
            rhn-support-sappleton Shaun Appleton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: