[DAIS-WG] DataResourceAddressType problem when using JAXB

Steven Lynden steven.lynden at aist.go.jp
Fri Jun 19 02:18:07 CDT 2009


The two people working on implementations of the WS-DAI-RDF Querying
specification have both run into a problem with the return message
associated with factory operations. Factory operations return a
DataResourceAddressType, which is defined in the WS-DAI core as:

<xsd:complexType name="DataResourceAddressType">
  <xsd:complexContent>
    <xsd:extension base="wsa:EndpointReferenceType"/>
  </xsd:complexContent>
</xsd:complexType>

Both developers (one at AIST and one at UPM) have chosen to use JAXB
to generate Java classes and have run into a problem due to the fact
that JAXB maps wsa:EndpointReferenceType to a final class that can't
be extended, resulting in a error when attempting to compile the
generated classes. Both implementations are currently using
was:EndpointReferenceType directly instead of DataResourceAddressType
until this issue is resolved.

Does anybody know the reason behind extending
wsa:EndpointReferenceType in the WSDL rather than just using it as the
factory operation return type? Has anybody run into this problem
before with JAXB?

Regards,

Steven.


More information about the dais-wg mailing list