users@jaxb.java.net

HELP: JAXB <class> Declaration failed

From: James Mao <james.mao_at_iona.com>
Date: Fri, 14 Apr 2006 14:17:17 +0800

Hi,

I have a wsdl file, and in the schema part i have following section:
<xsd:import namespace="http://www.w3.org/2005/08/addressing"
schemaLocation="ws-addr.xsd"/>
<element name="RegisterCallback">
    <complexType>
    <sequence>
    <element name="EndpointReference"
type="references:EndpointReferenceType">
    <xsd:annotation>
       <xsd:appinfo>
          <jaxb:class
implClass="org.objectweb.celtix.ws.addressing.EndpointReferenceType"/>
        </xsd:appinfo>
      </xsd:annotation>
     </element>
   </sequence>
 </complexType>
</element>

I hope that the <class> decalation will override the
org.w3._2005._08.addressing.EndpointReferenceType with
org.objectweb.celtix.ws.addressing.EndpointReferenceType

But the generated RegisterCallback seems not correct, the
EndpointRefenreceType is not overrided.

So my question is, is the usage of <class> correct in my wsdl file? or
is it a snag in JAXB?

attached the wsdl file.

Thanks very much.
James.