You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by gd...@apache.org on 2005/09/08 03:36:03 UTC
svn commit: r279481 - in
/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2:
clientapi/Call.java clientapi/MessageSender.java
context/ConfigurationContextFactory.java
Author: gdaniels
Date: Wed Sep 7 18:34:02 2005
New Revision: 279481
URL: http://svn.apache.org/viewcvs?rev=279481&view=rev
Log:
Cleanup
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
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContextFactory.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=279481&r1=279480&r2=279481&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 7 18:34:02 2005
@@ -30,7 +30,6 @@
import org.apache.axis2.soap.SOAPEnvelope;
import javax.xml.namespace.QName;
-import java.util.HashMap;
/**
* This class should be used only to invoke INOUT web services and will serve as a more convenient
@@ -38,7 +37,8 @@
*/
public class Call extends InOutMEPClient {
- private HashMap properties;
+// Unused? --GD
+// private HashMap properties;
protected static OperationDescription operationTemplate;
private MessageContext lastResponseMessage;
@@ -95,7 +95,7 @@
* Invoke the blocking/Synchronous call
*
* @param axisop - this will be used to identify the operation in the client side, without dispatching
- * @param toSend - This should be SOAPEnvelope
+ * @param envelope - This should be SOAPEnvelope
* @return
* @throws AxisFault
*/
@@ -191,7 +191,7 @@
* @return ServiceContext that has a ConfigurationContext set in and has assumed values.
* @throws org.apache.axis2.AxisFault
*/
- protected static ServiceContext assumeServiceContext(String clinetHome)
+ protected static ServiceContext assumeServiceContext(String clientHome)
throws AxisFault {
ConfigurationContext sysContext = null;
//we are trying to keep one configuration Context at the Client side. That make it easier to
@@ -199,17 +199,17 @@
if (ListenerManager.configurationContext == null) {
ConfigurationContextFactory efac =
new ConfigurationContextFactory();
- sysContext = efac.buildClientConfigurationContext(clinetHome);
+ sysContext = efac.buildClientConfigurationContext(clientHome);
} else {
sysContext = ListenerManager.configurationContext;
}
//we will assume a Service and operations
- QName assumedServiceName = new QName("AnonnoymousService");
+ QName assumedServiceName = new QName("AnonymousService");
ServiceDescription axisService =
new ServiceDescription(assumedServiceName);
operationTemplate =
- new OperationDescription(new QName("TemplateOperatin"));
+ new OperationDescription(new QName("TemplateOperation"));
PhasesInfo info =((AxisConfigurationImpl)sysContext.getAxisConfiguration()).getPhasesinfo();
//to set the operation flows
@@ -232,7 +232,6 @@
/**
* @param key
* @param value
- * @return
*/
public void set(String key, Object value) {
serviceContext.getEngineContext().setProperty(key, value);
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=279481&r1=279480&r2=279481&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 7 18:34:02 2005
@@ -85,7 +85,7 @@
}
//create new service
- QName assumedServiceName = new QName("AnonnoymousService");
+ QName assumedServiceName = new QName("AnonymousService");
ServiceDescription axisService = new ServiceDescription(
assumedServiceName);
sysContext.getAxisConfiguration().addService(axisService);
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContextFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContextFactory.java?rev=279481&r1=279480&r2=279481&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContextFactory.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContextFactory.java Wed Sep 7 18:34:02 2005
@@ -53,14 +53,14 @@
}
return configurationContext;
}
+
/**
* Built the Configuration for the Client
- * @param axis2home, the value can be null and it is resolved to the default
+ * @param axis2home the value can be null and it is resolved to the default
* axis2.xml file
* @return
* @throws DeploymentException
*/
-
public ConfigurationContext buildClientConfigurationContext(
String axis2home)
throws DeploymentException {