users@jersey.java.net

Re: impedance betweem hyperjaxb and jersey

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Wed, 1 Apr 2009 19:41:05 +0200

my latest trial - at least compile through hyperjaxb maven goal, but
no sign of my RootElement :(

        <xsd:annotation>
                <xsd:documentation>
                        Inspirational source:
                        http://regexlib.com/Default.aspx
                </xsd:documentation>
                <xsd:appinfo>
                        <jaxb:globalBindings>
                                <xjc:serializable uid="-6908316602239211070" />
                                <xjc:simple />
                        </jaxb:globalBindings>
                </xsd:appinfo>
        </xsd:annotation>

        <xsd:element name="Configuration">
                <xsd:complexType>
                        <xsd:annotation>
                                <xsd:appinfo>
                                        <jaxb:class name="footprint.config">
                                        </jaxb:class>
                                </xsd:appinfo>
                        </xsd:annotation>
                 ..........


2009/4/1 Felipe Gaúcho <fgaucho_at_gmail.com>:
> 1) hyperjaxb doesn't support that:
>
>        <xsd:element name="configuration">
>                <xsd:complexType>
>                   .....
>
> console: Cannot derive a name from schema. A name attribute specified
> to the <class> customization.
>
> 2) Jersey requires at least 1 root element, do not generated by the
> below xsd fragment:
>
>        <xsd:element name="configuration" type="config:footprint.config" />
>        <xsd:complexType name="footprint.config">
>                .......
>
>
> any solution for that ??
>
>
> --
>
> Please help to test this application:
> http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces
>



-- 
Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces