axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <>
Subject [jira] Resolved: (AXIS2-585) WS-Addressing - Incorrect cardinality for RelatesTo in handler and on API
Date Wed, 19 Apr 2006 03:16:31 GMT
     [ ]
Davanum Srinivas resolved AXIS2-585:

    Resolution: Fixed

Fixed in latest SVN.


> WS-Addressing - Incorrect cardinality for RelatesTo in handler and on API
> -------------------------------------------------------------------------
>          Key: AXIS2-585
>          URL:
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>     Versions: 0.95
>     Reporter: David Illsley
>     Assignee: Eran Chinthaka

> The WS-Addressing spec defines the RelatesTo element as:
> /wsa:RelatesTo
>     This OPTIONAL (repeating) element information item contributes one abstract [relationship]
property value, in the form of an (IRI, IRI) pair. The content of this element (of type xs:anyURI)
conveys the [message id] of the related message.
> The relevant APIs however only provide access to a single RelatesTo e.g. Options.getRelatesTo(),
Options.setRelatesTo(), MessageContext.getRelatesTo(), MessageContext.setRelatesTo(). Because
of this the AddressingInHandler extracts all present RelatesTo elements and calls options.setRelatesTo()
for each which means that only the last RelatesTo element to be processed will be available
via the API. While Axis2 clients cannot add multiple RelatesTo, other implementations may
or specifications require may multiple relationships thus this is a potential interoperability
> I intend to provide a patch for this and will bring up the proposed changes on the mailing

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message