axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
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/ cor
Date Wed, 19 Apr 2006 02:08:50 GMT
Sanjiva,

if i remove them, there is no way to remove a RelatesTo that is
already in the bag...

-- dims

On 4/18/06, Sanjiva Weerawarana <sanjiva@opensource.lk> wrote:
> 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.
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

Mime
View raw message