axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r280823 - in /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi: Call.java MessageSender.java
Date Wed, 14 Sep 2005 11:32:04 GMT
Author: deepal
Date: Wed Sep 14 04:31:56 2005
New Revision: 280823

URL: http://svn.apache.org/viewcvs?rev=280823&view=rev
Log:
fixing bugs

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/Call.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/MessageSender.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/Call.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/Call.java?rev=280823&r1=280822&r2=280823&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/Call.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/Call.java Wed
Sep 14 04:31:56 2005
@@ -220,9 +220,11 @@
         }
         axisService.addOperation(operationTemplate);
         serviceGroupDescription.addService(axisService);
+        serviceGroupDescription.getServiceGroupContext(sysContext).fillServiceContexts();
+
 //        return sysContext.createServiceContext(assumedServiceName);
         //todo fix me Chinthaka
-        return null;
+        return serviceGroupDescription.getServiceGroupContext(sysContext).getServiceContext(assumedServiceName.getLocalPart());
     }
 
     /**

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/MessageSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/MessageSender.java?rev=280823&r1=280822&r2=280823&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/MessageSender.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/MessageSender.java
Wed Sep 14 04:31:56 2005
@@ -21,6 +21,7 @@
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.ConfigurationContextFactory;
 import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.context.ServiceGroupContext;
 import org.apache.axis2.description.OperationDescription;
 import org.apache.axis2.description.ServiceDescription;
 import org.apache.axis2.om.OMElement;
@@ -86,10 +87,12 @@
 
         //create new service
         QName assumedServiceName = new QName("AnonymousService");
-        ServiceDescription axisService = new ServiceDescription(
-                assumedServiceName);
+        ServiceDescription axisService = new ServiceDescription(assumedServiceName);
         sysContext.getAxisConfiguration().addService(axisService);
-        return null;
+        ServiceGroupContext serviceGroupContext = axisService.getParent().getServiceGroupContext(sysContext);
+        serviceGroupContext.fillServiceContexts();
+
+        return serviceGroupContext.getServiceContext(assumedServiceName.getLocalPart());
         //todo fixme Chinthaka
 //        return sysContext.createServiceContext(
 //                assumedServiceName);



Mime
View raw message