axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r650005 - /webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
Date Mon, 21 Apr 2008 01:51:42 GMT
Author: dims
Date: Sun Apr 20 18:51:38 2008
New Revision: 650005

URL: http://svn.apache.org/viewvc?rev=650005&view=rev
Log:
copy Fix for AXIS2-3753 and AXIS2-3754 from trunk

Modified:
    webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java

Modified: webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java?rev=650005&r1=650004&r2=650005&view=diff
==============================================================================
--- webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
(original)
+++ webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
Sun Apr 20 18:51:38 2008
@@ -1323,7 +1323,7 @@
 		QName bindingName = new QName(name);
 
 		AxisBinding axisBinding = (bindingCache != null) ? (AxisBinding) bindingCache
-				.get(bindingName)
+				.get(name)
 				: null;
 		if (axisBinding == null) {
 			axisBinding = new AxisBinding();
@@ -1370,7 +1370,7 @@
 		QName bindingName = new QName(name);
 
 		AxisBinding axisBinding = (bindingCache != null) ? (AxisBinding) bindingCache
-				.get(bindingName)
+				.get(name)
 				: null;
 		if (axisBinding == null) {
 			axisBinding = new AxisBinding();
@@ -1417,7 +1417,7 @@
 		QName bindingName = new QName(name);
 
 		AxisBinding axisBinding = (bindingCache != null) ? (AxisBinding) bindingCache
-				.get(bindingName)
+				.get(name)
 				: null;
 
 		if (axisBinding == null) {
@@ -1432,9 +1432,11 @@
 				AxisOperation operation = (AxisOperation) iterator.next();
 				AxisBindingOperation axisBindingOperation = new AxisBindingOperation();
 
-				axisBindingOperation.setName(operation.getName());
+                QName operationQName = operation.getName();
+                axisBindingOperation.setName(operationQName);
 				axisBindingOperation.setAxisOperation(operation);
-
+                String httpLocation = serviceName + "/" + operationQName.getLocalPart();
+                axisBindingOperation.setProperty(WSDL2Constants.ATTR_WHTTP_LOCATION, httpLocation);
 				axisBinding.addChild(axisBindingOperation.getName(),
 						axisBindingOperation);
 



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


Mime
View raw message