ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r683271 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java
Date Wed, 06 Aug 2008 14:18:30 GMT
Author: nandana
Date: Wed Aug  6 07:18:29 2008
New Revision: 683271

URL: http://svn.apache.org/viewvc?rev=683271&view=rev
Log:
AXIS2-3907 fixing in the trunk

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=683271&r1=683270&r2=683271&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 Aug  6 07:18:29 2008
@@ -395,7 +395,7 @@
 					operation, fac, wsdl);
 			portType.addChild(operation);
 			operation.addAttribute(ATTRIBUTE_NAME, operationName, null);
-			addPolicyAsExtElement(axisOperation, operation);
+			addPolicyAsExtAttribute(axisOperation, operation,fac);
 
 			String MEP = axisOperation.getMessageExchangePattern();
 			if (WSDL2Constants.MEP_URI_IN_ONLY.equals(MEP)
@@ -413,7 +413,7 @@
 							inaxisMessage, input, fac, wsdl);
 					input.addAttribute(MESSAGE_LOCAL_NAME, tns.getPrefix()
 							+ ":" + inaxisMessage.getName(), null);
-					addPolicyAsExtElement(inaxisMessage, input);
+					addPolicyAsExtAttribute(inaxisMessage, input,fac);
 
 					WSDLSerializationUtil.addWSAWActionAttribute(input,
 							axisOperation.getInputAction(), wsaw);
@@ -435,7 +435,7 @@
 							outAxisMessage, output, fac, wsdl);
 					output.addAttribute(MESSAGE_LOCAL_NAME, tns.getPrefix()
 							+ ":" + outAxisMessage.getName(), null);
-					addPolicyAsExtElement(outAxisMessage, output);
+					addPolicyAsExtAttribute(outAxisMessage, output, fac);
 					WSDLSerializationUtil.addWSAWActionAttribute(output,
 							axisOperation.getOutputAction(), wsaw);
 					operation.addChild(output);



Mime
View raw message