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

Simple Web Service wizard prevents creating sample in Dynamic Web Project if web.xml is missing

XMLWordPrintable

    • Hide

      To reproduce, create a new Dynamic Web Project without a web.xml (if you create one in Indigo/Eclipse 3.7, this seems to occur automatically) and then use the Web Services->Simple Web Service wizard to try and create a JAX-WS sample. It complains that it's an invalid Dynamic Web Project because the web.xml is missing.

      Show
      To reproduce, create a new Dynamic Web Project without a web.xml (if you create one in Indigo/Eclipse 3.7, this seems to occur automatically) and then use the Web Services->Simple Web Service wizard to try and create a JAX-WS sample. It complains that it's an invalid Dynamic Web Project because the web.xml is missing.
    • Workaround Exists
    • Hide

      Workaround is to create a blank web.xml file in the project.

      Show
      Workaround is to create a blank web.xml file in the project.

      While doing some testing of the Simple Web Service wizard, I discovered that if a project doesn't have even an empty web.xml, you can't create the sample service. In the case of AS 5, you need the web.xml, but in the case of AS 6 and up, you don't need the web.xml, so this is definitely a bug.

      To reproduce, create a new Dynamic Web Project without a web.xml (if you create one in Indigo/Eclipse 3.7, this seems to occur automatically) and then use the Web Services->Simple Web Service wizard to try and create a JAX-WS sample. It complains that it's an invalid Dynamic Web Project because the web.xml is missing.

              bfitzpat_rh Brian Fitzpatrick (Inactive)
              bfitzpat_rh Brian Fitzpatrick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: