You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2006/07/10 23:24:03 UTC

svn commit: r420634 - /webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java

Author: danj
Date: Mon Jul 10 14:24:03 2006
New Revision: 420634

URL: http://svn.apache.org/viewvc?rev=420634&view=rev
Log:
Temporary fix for MUSE-30 - when an EPR is read from Axis2's WS-A, we check the wsa:Metadata field, 
and if there are any elements inside, copy them to wsa:ReferenceParameters. This will allow everyone 
to use the code with our own client until we can get a real fix with the help of the Axis2 team.

Modified:
    webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java

Modified: webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java?rev=420634&r1=420633&r2=420634&view=diff
==============================================================================
--- webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java (original)
+++ webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java Mon Jul 10 14:24:03 2006
@@ -214,11 +214,9 @@
             // FIXME: for some reason, Axis2 is adding the reference parameters 
             //        to the Metadata section of the EPR, even though the 
             //        IsReferenceParameter attribute is qualified with the WS-A 
-            //        namespace. if this cannot be fixed immediately, a hack to 
-            //        swap metadata to parameters should be added here (and it 
-            //        should look like the code below).
+            //        namespace. the code below is a temporary hack until we can 
+            //        get some help from the Axis2 mailing list.
             //
-            /*
             Element metadata = XmlUtils.getElement(eprXML, WsaConstants.METADATA_QNAME);
             
             if (metadata != null)
@@ -237,7 +235,10 @@
                     params.appendChild(children[n]);
                 }
             }
-            */
+            
+            //
+            // end of glorious hack
+            //
             
             return new EndpointReference(eprXML);
         }



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


Re: [Axis2] Fwd: svn commit: r420634 - /webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java

Posted by Davanum Srinivas <da...@gmail.com>.
thx!

On 7/13/06, David Illsley <da...@uk.ibm.com> wrote:
> I've worked through this with Dan and the problem has been fixed since 1.0
> :-)
> See http://svn.apache.org/viewvc?view=rev&revision=421296 for permanent
> MUSE-30 fix.
> David
>
> "Davanum Srinivas" <da...@gmail.com> wrote on 07/10/2006 10:32:23 PM:
>
> > Can we please fix this?
> >
> > ---------- Forwarded message ----------
> > From: danj@apache.org <da...@apache.org>
> > Date: Jul 10, 2006 5:24 PM
> > Subject: svn commit: r420634 -
> > /webservices/muse/trunk/modules/muse-platform-
> > axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
> > To: muse-cvs@ws.apache.org
> >
> >
> > Author: danj
> > Date: Mon Jul 10 14:24:03 2006
> > New Revision: 420634
> >
> > URL: http://svn.apache.org/viewvc?rev=420634&view=rev
> > Log:
> > Temporary fix for MUSE-30 - when an EPR is read from Axis2's WS-A, we
> > check the wsa:Metadata field,
> > and if there are any elements inside, copy them to
> > wsa:ReferenceParameters. This will allow everyone
> > to use the code with our own client until we can get a real fix with
> > the help of the Axis2 team.
> >
> > Modified:
> >     webservices/muse/trunk/modules/muse-platform-
> > axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
> >
> > Modified: webservices/muse/trunk/modules/muse-platform-
> > axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
> > URL: http://svn.apache.
> > org/viewvc/webservices/muse/trunk/modules/muse-platform-
> > axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java?
> > rev=420634&r1=420633&r2=420634&view=diff
> >
> ==============================================================================
> > --- webservices/muse/trunk/modules/muse-platform-
> > axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
> > (original)
> > +++ webservices/muse/trunk/modules/muse-platform-
> > axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
> > Mon Jul 10 14:24:03 2006
> > @@ -214,11 +214,9 @@
> >              // FIXME: for some reason, Axis2 is adding the
> > reference parameters
> >              //        to the Metadata section of the EPR, even though
> the
> >              //        IsReferenceParameter attribute is qualified
> > with the WS-A
> > -            //        namespace. if this cannot be fixed
> > immediately, a hack to
> > -            //        swap metadata to parameters should be added
> > here (and it
> > -            //        should look like the code below).
> > +            //        namespace. the code below is a temporary hack
> > until we can
> > +            //        get some help from the Axis2 mailing list.
> >              //
> > -            /*
> >              Element metadata = XmlUtils.getElement(eprXML,
> > WsaConstants.METADATA_QNAME);
> >
> >              if (metadata != null)
> > @@ -237,7 +235,10 @@
> >                      params.appendChild(children[n]);
> >                  }
> >              }
> > -            */
> > +
> > +            //
> > +            // end of glorious hack
> > +            //
> >
> >              return new EndpointReference(eprXML);
> >          }
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
> > For additional commands, e-mail: muse-commits-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
>
>


-- 
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


Re: [Axis2] Fwd: svn commit: r420634 - /webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java

Posted by David Illsley <da...@uk.ibm.com>.
I've worked through this with Dan and the problem has been fixed since 1.0 
:-)
See http://svn.apache.org/viewvc?view=rev&revision=421296 for permanent 
MUSE-30 fix.
David

"Davanum Srinivas" <da...@gmail.com> wrote on 07/10/2006 10:32:23 PM:

> Can we please fix this?
> 
> ---------- Forwarded message ----------
> From: danj@apache.org <da...@apache.org>
> Date: Jul 10, 2006 5:24 PM
> Subject: svn commit: r420634 -
> /webservices/muse/trunk/modules/muse-platform-
> axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
> To: muse-cvs@ws.apache.org
> 
> 
> Author: danj
> Date: Mon Jul 10 14:24:03 2006
> New Revision: 420634
> 
> URL: http://svn.apache.org/viewvc?rev=420634&view=rev
> Log:
> Temporary fix for MUSE-30 - when an EPR is read from Axis2's WS-A, we
> check the wsa:Metadata field,
> and if there are any elements inside, copy them to
> wsa:ReferenceParameters. This will allow everyone
> to use the code with our own client until we can get a real fix with
> the help of the Axis2 team.
> 
> Modified:
>     webservices/muse/trunk/modules/muse-platform-
> axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
> 
> Modified: webservices/muse/trunk/modules/muse-platform-
> axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
> URL: http://svn.apache.
> org/viewvc/webservices/muse/trunk/modules/muse-platform-
> axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java?
> rev=420634&r1=420633&r2=420634&view=diff
> 
==============================================================================
> --- webservices/muse/trunk/modules/muse-platform-
> axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
> (original)
> +++ webservices/muse/trunk/modules/muse-platform-
> axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
> Mon Jul 10 14:24:03 2006
> @@ -214,11 +214,9 @@
>              // FIXME: for some reason, Axis2 is adding the 
> reference parameters
>              //        to the Metadata section of the EPR, even though 
the
>              //        IsReferenceParameter attribute is qualified 
> with the WS-A
> -            //        namespace. if this cannot be fixed 
> immediately, a hack to
> -            //        swap metadata to parameters should be added 
> here (and it
> -            //        should look like the code below).
> +            //        namespace. the code below is a temporary hack
> until we can
> +            //        get some help from the Axis2 mailing list.
>              //
> -            /*
>              Element metadata = XmlUtils.getElement(eprXML,
> WsaConstants.METADATA_QNAME);
> 
>              if (metadata != null)
> @@ -237,7 +235,10 @@
>                      params.appendChild(children[n]);
>                  }
>              }
> -            */
> +
> +            //
> +            // end of glorious hack
> +            //
> 
>              return new EndpointReference(eprXML);
>          }
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-commits-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


[Axis2] Fwd: svn commit: r420634 - /webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java

Posted by Davanum Srinivas <da...@gmail.com>.
Can we please fix this?

---------- Forwarded message ----------
From: danj@apache.org <da...@apache.org>
Date: Jul 10, 2006 5:24 PM
Subject: svn commit: r420634 -
/webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
To: muse-cvs@ws.apache.org


Author: danj
Date: Mon Jul 10 14:24:03 2006
New Revision: 420634

URL: http://svn.apache.org/viewvc?rev=420634&view=rev
Log:
Temporary fix for MUSE-30 - when an EPR is read from Axis2's WS-A, we
check the wsa:Metadata field,
and if there are any elements inside, copy them to
wsa:ReferenceParameters. This will allow everyone
to use the code with our own client until we can get a real fix with
the help of the Axis2 team.

Modified:
    webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java

Modified: webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java?rev=420634&r1=420633&r2=420634&view=diff
==============================================================================
--- webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
(original)
+++ webservices/muse/trunk/modules/muse-platform-axis2/src/org/apache/muse/core/platform/axis2/AxisEnvironment.java
Mon Jul 10 14:24:03 2006
@@ -214,11 +214,9 @@
             // FIXME: for some reason, Axis2 is adding the reference parameters
             //        to the Metadata section of the EPR, even though the
             //        IsReferenceParameter attribute is qualified with the WS-A
-            //        namespace. if this cannot be fixed immediately, a hack to
-            //        swap metadata to parameters should be added here (and it
-            //        should look like the code below).
+            //        namespace. the code below is a temporary hack
until we can
+            //        get some help from the Axis2 mailing list.
             //
-            /*
             Element metadata = XmlUtils.getElement(eprXML,
WsaConstants.METADATA_QNAME);

             if (metadata != null)
@@ -237,7 +235,10 @@
                     params.appendChild(children[n]);
                 }
             }
-            */
+
+            //
+            // end of glorious hack
+            //

             return new EndpointReference(eprXML);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-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