[ http://issues.apache.org/jira/browse/AXIS2-585?page=all ]

Deepal Jayasinghe reassigned AXIS2-585:
---------------------------------------

    Assign To: Eran Chinthaka

> WS-Addressing - Incorrect cardinality for RelatesTo in handler and on API
> -------------------------------------------------------------------------
>
>          Key: AXIS2-585
>          URL: http://issues.apache.org/jira/browse/AXIS2-585
>      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 
> problem.
> I intend to provide a patch for this and will bring up the proposed changes 
> on the mailing list.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to