Bug 1079084 - [GSS] (6.3.0) Webservices DUP is not scanning all visible classes for @WebService annotation
Summary: [GSS] (6.3.0) Webservices DUP is not scanning all visible classes for @WebSer...
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Services
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: EAP 6.3.0
Assignee: Jim Ma
QA Contact: Kyle Lape
Russell Dickenson
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: 1079085 1086385
TreeView+ depends on / blocked
 
Reported: 2014-03-21 00:07 UTC by Kyle Lape
Modified: 2018-12-05 17:48 UTC (History)
4 users (show)

(edit)
It was discovered that the Webservices DUP in previous versions of JBoss EAP 6 carried a bug that prevented it from scanning all visible classes with the @WebService annotation. An error presented when a `war` archive that contained a `web.xml` with a <servlet-class> that refers to a JAX-WS endpoint (so the class is annotated with @WebService) was located within an `ear` archive and the `jar` containing the class was located in the `ear` archive's `lib/` directory. The relevant code has been amended in this release to scan more thoroughly for @WebService classes and the error no longer presents.
Clone Of:
: 1079085 (view as bug list)
(edit)
Last Closed: 2014-06-28 15:28:42 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker WFLY-3067 Major Resolved Webservices DUP is not scanning all visible classes for @WebService annotation 2014-09-09 00:12:27 UTC

Description Kyle Lape 2014-03-21 00:07:18 UTC
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 (except of course the JBossWeb equivalent):

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

Comment 1 JBoss JIRA Server 2014-03-24 15:13:53 UTC
Alessio Soldano <asoldano@redhat.com> updated the status of jira WFLY-3067 to Resolved

Comment 3 sgilda 2014-05-12 18:25:08 UTC
Changed <filename></filename> tags in Doc Text to ticks (`) to fix Bug 1096865


Note You need to log in before you can comment on or make changes to this bug.