axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjiva Weerawarana <sanj...@opensource.lk>
Subject Re: svn commit: r395085 - in /webservices/axis2/trunk/java/modules: addressing/src/org/apache/axis2/handlers/addressing/ addressing/test/org/apache/axis2/handlers/addressing/ core/src/org/apache/axis2/addressing/ core/src/org/apache/axis2/client/ core/src/...
Date Wed, 19 Apr 2006 00:20:40 GMT
On Tue, 2006-04-18 at 23:28 +0000, dims@apache.org wrote:
> Author: dims
> Date: Tue Apr 18 16:28:51 2006
> New Revision: 395085
> 
> URL: http://svn.apache.org/viewcvs?rev=395085&view=rev
> Log:
> Fix for AXIS2-585 - WS-Addressing - Incorrect cardinality for RelatesTo in handler and
on API
> 
> The API in MessageContext and Options now look like the following:
> public RelatesTo[] getRelatesTo()
> public void setRelatesTo(RelatesTo[] list)
> public void addRelatesTo(RelatesTo relatesTo)
> public RelatesTo getRelatesTo(String type)

Dims, this is not right .. it does not match the normal usage!

It should be:

public void addRelatesTo(RelatesTo relatesTo)
public RelatesTo getRelatesTo()
	returns the "default" relationship .. the response one
public RelatesTo getRelatesTo(String relationship)

Please get rid of the [] types ... that doesn't make sense.

Sanjiva.


Mime
View raw message