Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3067

Webservices DUP is not scanning all visible classes for @WebService annotation

XMLWordPrintable

      Sample use case: You have a .war in an .ear, and the .war has a web.xml with a <servlet-class> that refers to a JAX-WS endpoint, so the class is annotated with @WebService. If that class is packaged in a jar found in the ear's lib directory, the JBossWS DUP won't pick it up, and then Undertow will throw an error like this:

      UT010009: Servlet ClientEndpoint of type class com.redhat.gss.jaxws.ClientEndpoint does not implement javax.servlet.Servlet
      

              rhn-engineering-ema Jim Ma
              rh-ee-klape Kyle Lape
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: