Can we please fix this?

---------- Forwarded message ----------
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to