You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by de...@apache.org on 2006/07/18 10:30:51 UTC

svn commit: r423011 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2OM.java

Author: deepal
Date: Tue Jul 18 01:30:51 2006
New Revision: 423011

URL: http://svn.apache.org/viewvc?rev=423011&view=rev
Log:
- fixing problem in generated wsld
   - generated wsdl has incorrect message element for header element

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2OM.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2OM.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2OM.java?rev=423011&r1=423010&r2=423011&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2OM.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2OM.java Tue Jul 18 01:30:51 2006
@@ -255,7 +255,7 @@
             OMElement messagePart = fac.createOMElement(PART_ATTRIBUTE_NAME,
                     wsdl);
             messageElement.addChild(messagePart);
-            messagePart.addAttribute(ATTRIBUTE_NAME, "part1", null);
+            messagePart.addAttribute(ATTRIBUTE_NAME, header.part(), null);
             messagePart.addAttribute(ELEMENT_ATTRIBUTE_NAME, getPrefix(header
                     .getElement().getNamespaceURI())
                     + ":" + header.getElement().getLocalPart(), null);



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