Author: veithen
Date: Sat Apr 24 07:32:05 2010
New Revision: 937600
URL: http://svn.apache.org/viewvc?rev=937600&view=rev
Log:
Reverted r937436 because it causes test failures in the integration module. I
will add more information to AXIS2-4687.
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=937600&r1=937599&r2=937600&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
Sat Apr 24 07:32:05 2010
@@ -389,7 +389,8 @@ public class AxisService2WSDL11 implemen
+ ":" +
inaxisMessage.getName(), null);
addPolicyAsExtAttribute(inaxisMessage,
input,fac);
-
WSDLSerializationUtil.addWSAWActionAttribute(input,axisOperation.getInputAction(),
wsaw);
+
WSDLSerializationUtil.addWSAWActionAttribute(input,
+
axisOperation.getInputAction(), wsaw);
operation.addChild(input);
}
}
@@ -1087,9 +1088,9 @@ public class AxisService2WSDL11 implemen
input.addChild(inputelement);
String inputType=(String)
axisBindingOperation.getProperty(WSDL2Constants.ATTR_WHTTP_INPUT_SERIALIZATION);
inputelement.addAttribute("type", (inputType!=null?
inputType:"text/xml"), null);
-
inputelement.addAttribute("part", inaxisMessage.getPartName(), null);
-
-
operation.addChild(input);
+
inputelement.addAttribute("part", axisOperation
+
.getName().getLocalPart(), null);
+ operation.addChild(input);
}
}
}
@@ -1113,7 +1114,8 @@ public class AxisService2WSDL11 implemen
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);
+ outElement.addAttribute("part",
axisOperation.getName()
+
.getLocalPart(), null);
output.addChild(outElement);
operation.addChild(output);
}