axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Lovett <MLOV...@uk.ibm.com>
Subject Re: [Axis2] Hate it!!! (Re: svn commit: r487151 - in /webservices/axis2/trunk/java/modules: addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java kernel/src/org/apache/axis2/addressing/EndpointReference.java)
Date Fri, 15 Dec 2006 13:21:14 GMT
Hi Dims,

Yes, I see what you mean. The RM spec isn't closed off yet, and it's 
likely that this facet of it will change... you might want to keep an eye 
on the work of the OASIS WS-RX Tech Committee.

Matt

"Davanum Srinivas" <davanum@gmail.com> wrote on 14/12/2006 16:46:10:

> Folks,
> 
> Adding an anon uri other than the one in WS-Addressing is bad enough.
> I hate the fact that there is an id tacked on at then end as well.
> That seals it for me :(
> 
> Anyone love it?
> 
> thanks,
> dims
> 
> PS: Nothing to do with the applied patch/fix. Am complaining about the 
spec.
> 
> On 12/14/06, davidillsley@apache.org <davidillsley@apache.org> wrote:
> > Author: davidillsley
> > Date: Thu Dec 14 01:49:36 2006
> > New Revision: 487151
> >
> > URL: http://svn.apache.org/viewvc?view=rev&rev=487151
> > Log:
> > Fix for AXIS2-1870
> > Changes to some addressing code to add support for WS-RM Anon URI
> > Short term fix, need to look for a better long-term solution.
> >
> > Modified:
> > 
> 
webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.
> java
> > 
> 
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/addressing/EndpointReference.
> java
> >
> > Modified: 
> 
webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.
> java
> > URL: http://svn.apache.
> 
org/viewvc/webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.
> java?view=diff&rev=487151&r1=487150&r2=487151
> > 
> 
==============================================================================
> > --- 
> 
webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.
> java (original)
> > +++ 
> 
webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.
> java Thu Dec 14 01:49:36 2006
> > @@ -302,9 +302,9 @@
> >          else if (!isFinalAddressingNamespace && 
eprCopy.hasNoneAddress()) {
> >              return; //Omit the header.
> >          }
> > -        else if (eprCopy.hasAnonymousAddress()) {
> > -            eprCopy.setAddress(anonymous);
> > -        }
> > +//        else if (eprCopy.hasAnonymousAddress()) {
> > +//            eprCopy.setAddress(anonymous);
> > +//        }
> >
> >          OMElement soapHeaderBlock = EndpointReferenceHelper.
> toOM(envelope.getOMFactory(),
> >                                          eprCopy,
> >
> > Modified: 
> 
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/addressing/EndpointReference.
> java
> > URL: http://svn.apache.
> 
org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/addressing/EndpointReference.
> java?view=diff&rev=487151&r1=487150&r2=487151
> > 
> 
==============================================================================
> > --- 
> 
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/addressing/EndpointReference.
> java (original)
> > +++ 
> 
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/addressing/EndpointReference.
> java Thu Dec 14 01:49:36 2006
> > @@ -125,8 +125,11 @@
> >       * @return true if address is 'Anonymous URI' from either 
> supported addressing version
> >       */
> >      public boolean hasAnonymousAddress(){
> > +        // TODO davidillsley 2006-12-14 Find a way of supporting 
> the WS-RM Anon when
> > +        // Sandesha is engaged and not supporting it when it's not.
> >          boolean result  = (AddressingConstants.Final.
> WSA_ANONYMOUS_URL.equals(address) ||
> > -                           AddressingConstants.Submission.
> WSA_ANONYMOUS_URL.equals(address));
> > +                           AddressingConstants.Submission.
> WSA_ANONYMOUS_URL.equals(address) ||
> > +                           (address != null && address.startsWith("
> http://docs.oasis-open.org/ws-rx/wsrm/200608/anonymous?id=")));
> >          if(log.isTraceEnabled()){
> >              log.trace("hasAnonymousAddress: "+address+" is 
> Anonymous: "+result);
> >          }
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-cvs-help@ws.apache.org
> >
> >
> 
> 
> -- 
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service 
Developers)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message