You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2011/09/07 10:48:06 UTC
svn commit: r1166062 -
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java
Author: veithen
Date: Wed Sep 7 08:48:06 2011
New Revision: 1166062
URL: http://svn.apache.org/viewvc?rev=1166062&view=rev
Log:
An element can't be a child of itself.
Modified:
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java
Modified: axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java?rev=1166062&r1=1166061&r2=1166062&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java (original)
+++ axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java Wed Sep 7 08:48:06 2011
@@ -1174,7 +1174,6 @@ public class AxisService2WSDL11 implemen
OUT_PUT_LOCAL_NAME, wsdl);
OMElement outElement = fac.createOMElement("content",
mime);
- outElement.addChild(outElement);
String outputType=(String) axisBindingOperation.getProperty(WSDL2Constants.ATTR_WHTTP_OUTPUT_SERIALIZATION);
outElement.addAttribute("type", (outputType!=null? outputType:"text/xml"), null);
outElement.addAttribute("part", outAxisMessage.getPartName(), null);