users@jersey.java.net

[Jersey] XMLBeans provider for Jersey

From: Samantha Berger <lambdadaku_at_gmail.com>
Date: Thu, 14 Jul 2011 07:14:35 -0700 (PDT)

Hi,

As JAXB2.2 has number of issues with the code generation (atleast I have
experienced :)), thus i would like to know if XMLbeans be used with Jersey
on web resource methods' as parameters/return types?

Why JAXB is problematic?

(Perhaps more suitable for JAXB forum)

A. In the given xsd, I have 3 root elements
<schema ...>
 <element name="A" type="A_t"/>
 <element name="B" type="B_t"/>
 <element name="C">
   <complexType>
       <element name="D" type="string">
   </complexType>
 </element>
 <complexType name="A_T">
       <element name="D" type="string">
 </complexType>
</schema>
  
if I compile the above xsd with xjc

it only generates C class for C element with an annotated XmlRootElement,
however the A as XmlType despite of being defined as global in the xsd.

Thanks,
Sam

--
View this message in context: http://jersey.576304.n2.nabble.com/XMLBeans-provider-for-Jersey-tp6583414p6583414.html
Sent from the Jersey mailing list archive at Nabble.com.