You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by am...@apache.org on 2007/11/29 05:57:59 UTC

svn commit: r599267 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java

Author: amilas
Date: Wed Nov 28 20:57:58 2007
New Revision: 599267

URL: http://svn.apache.org/viewvc?rev=599267&view=rev
Log:
tempory fix until Axiom fix this issue correctly

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java?rev=599267&r1=599266&r2=599267&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java Wed Nov 28 20:57:58 2007
@@ -957,11 +957,17 @@
                 
                 OMNode firstChildElem = parentElement.getFirstElement();
                 
-                if (firstChildElem == null) {
-                    parentElement.addChild(child);
-                } else {
-                    firstChildElem.insertSiblingBefore(child);
-                }
+//                if (firstChildElem == null) {
+//                    parentElement.addChild(child);
+//                } else {
+//                    firstChildElem.insertSiblingBefore(child);
+//                }
+                // there is a problem with the OM insertSiblingBefore element with
+                // drops the already exists elements.
+                // since there is no any techical problem of adding policy elements after other
+                // children temporaliy fix this as it is.
+                // one OM fix this issue we can revert this change.
+                parentElement.addChild(child);
 
             } else if (policyElement instanceof PolicyReference) {
                 OMElement child = PolicyUtil



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