This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 143563 - XMLType annotation not supported in JAX-RS
Summary: XMLType annotation not supported in JAX-RS
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Roderico Cruz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-12 07:53 UTC by Roderico Cruz
Modified: 2008-08-12 09:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roderico Cruz 2008-08-12 07:53:06 UTC
When generating the Rest resource for a SOAP based web service, the JAXB classes that are generated from the schema
elements are tagged with XMLType. JAXRS does not support this annotation. Thus, these types should be wrapped inside a
JAXBElement<T> class.
Comment 1 Roderico Cruz 2008-08-12 09:18:34 UTC
Fixed. Wrapped complex types in JAXBElement<T> in order to be processed by Jersey.