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 ch...@apache.org on 2005/12/12 23:42:06 UTC
svn commit: r356404 - in /webservices/axis2/trunk/java/modules:
core/src/org/apache/axis2/description/
integration/test/org/apache/axis2/engine/
integration/test/org/apache/axis2/integration/
Author: chinthaka
Date: Mon Dec 12 14:41:48 2005
New Revision: 356404
URL: http://svn.apache.org/viewcvs?rev=356404&view=rev
Log:
Fixing an obvious bug in AxisService in retrieving operations. It should retrive operations from the map found in the AxisService itself, not from the WSDLService.
Modified:
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java
webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java?rev=356404&r1=356403&r2=356404&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java Mon Dec 12 14:41:48 2005
@@ -547,7 +547,7 @@
* @return HashMap
*/
public HashMap getOperations() {
- return this.getServiceInterface().getOperations();
+ return operations;
}
/**
Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java?rev=356404&r1=356403&r2=356404&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java Mon Dec 12 14:41:48 2005
@@ -18,6 +18,7 @@
import junit.framework.TestCase;
import org.apache.axis2.Constants;
+import org.apache.axis2.client.Call;
import org.apache.axis2.client.Options;
import org.apache.axis2.context.ServiceContext;
import org.apache.axis2.description.AxisService;
@@ -85,12 +86,10 @@
value.setText("Isaac Asimov, The Foundation Trilogy");
method.addChild(value);
- org.apache.axis2.client.Call call = new org.apache.axis2.client.Call(
- serviceContext);
+ Call call = new Call(serviceContext);
Options options = new Options();
call.setClientOptions(options);
options.setTo(targetEPR);
- call.engageModule(new QName(Constants.MODULE_ADDRESSING));
options.setListenerTransportProtocol(Constants.TRANSPORT_HTTP);
options.setUseSeparateListener(true);
options.setAction(operationName.getLocalPart());
Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java?rev=356404&r1=356403&r2=356404&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java Mon Dec 12 14:41:48 2005
@@ -135,7 +135,6 @@
ModuleDescription moduleDesc = deploymentEngine.buildModule(file,
configContext.getAxisConfiguration());
configContext.getAxisConfiguration().addModule(moduleDesc);
- // sysContext.getAxisConfiguration().engageModule(moduleDesc.getName());
configContext.getAxisConfiguration().addService(service);