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 he...@apache.org on 2005/05/16 13:56:15 UTC
svn commit: r170369 - in
/webservices/axis/trunk/java/modules/core/src/org/apache/axis:
clientapi/Call.java util/Utils.java
Author: hemapani
Date: Mon May 16 04:56:14 2005
New Revision: 170369
URL: http://svn.apache.org/viewcvs?rev=170369&view=rev
Log:
fix the compiling issue
Modified:
webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call.java
webservices/axis/trunk/java/modules/core/src/org/apache/axis/util/Utils.java
Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call.java?rev=170369&r1=170368&r2=170369&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/Call.java Mon May 16 04:56:14 2005
@@ -21,33 +21,22 @@
import javax.xml.namespace.QName;
-import org.apache.axis.AddressingModule;
import org.apache.axis.context.ConfigurationContext;
import org.apache.axis.context.EngineContextFactory;
import org.apache.axis.context.MessageContext;
import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.Flow;
-import org.apache.axis.description.FlowImpl;
import org.apache.axis.description.GlobalDescription;
-import org.apache.axis.description.HandlerDescription;
-import org.apache.axis.description.ModuleDescription;
import org.apache.axis.description.OperationDescription;
-import org.apache.axis.description.PhaseRule;
import org.apache.axis.description.ServiceDescription;
import org.apache.axis.description.TransportInDescription;
import org.apache.axis.description.TransportOutDescription;
import org.apache.axis.engine.AxisFault;
import org.apache.axis.engine.AxisSystemImpl;
-import org.apache.axis.handlers.addressing.AddressingInHandler;
-import org.apache.axis.handlers.addressing.AddressingOutHandler;
import org.apache.axis.om.OMAbstractFactory;
import org.apache.axis.om.OMElement;
-import org.apache.axis.phaseresolver.PhaseMetadata;
import org.apache.axis.soap.SOAPEnvelope;
import org.apache.axis.soap.SOAPFactory;
-import com.sun.net.ssl.internal.www.protocol.https.Handler;
-
/**
* This class is the pretty convineance class for the user without see the comlplexites of Axis2.
*/
@@ -158,25 +147,25 @@
ConfigurationContext sysContext = efac.buildClientEngineContext(null);
new ConfigurationContext(new AxisSystemImpl(new GlobalDescription()));
- //Add the addressing modules
- ModuleDescription addressingModule = new ModuleDescription();
- addressingModule.setName(new QName("addressing"));
- Flow inflow = new FlowImpl();
- HandlerDescription handlerDesc = new HandlerDescription();
- handlerDesc.setRules(new PhaseRule(PhaseMetadata.PHASE_PRE_DISPATCH));
- handlerDesc.setHandler(new AddressingInHandler());
- inflow.addHandler(handlerDesc);
- addressingModule.setInFlow(inflow);
-
- Flow outflow = new FlowImpl();
- handlerDesc = new HandlerDescription();
- handlerDesc.setRules(new PhaseRule(PhaseMetadata.PHASE_PRE_DISPATCH));
- handlerDesc.setHandler(new AddressingOutHandler());
- outflow.addHandler(handlerDesc);
- addressingModule.setInFlow(outflow);
- addressingModule.setModule(new AddressingModule());
- sysContext.getEngineConfig().addMdoule(addressingModule);
- sysContext.getEngineConfig().getGlobal().addModule(addressingModule.getName());
+// //Add the addressing modules
+// ModuleDescription addressingModule = new ModuleDescription();
+// addressingModule.setName(new QName("addressing"));
+// Flow inflow = new FlowImpl();
+// HandlerDescription handlerDesc = new HandlerDescription();
+// handlerDesc.setRules(new PhaseRule(PhaseMetadata.PHASE_PRE_DISPATCH));
+// handlerDesc.setHandler(new AddressingInHandler());
+// inflow.addHandler(handlerDesc);
+// addressingModule.setInFlow(inflow);
+//
+// Flow outflow = new FlowImpl();
+// handlerDesc = new HandlerDescription();
+// handlerDesc.setRules(new PhaseRule(PhaseMetadata.PHASE_PRE_DISPATCH));
+// handlerDesc.setHandler(new AddressingOutHandler());
+// outflow.addHandler(handlerDesc);
+// addressingModule.setInFlow(outflow);
+// addressingModule.setModule(new AddressingModule());
+// sysContext.getEngineConfig().addMdoule(addressingModule);
+// sysContext.getEngineConfig().getGlobal().addModule(addressingModule.getName());
//create new service
Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/util/Utils.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/util/Utils.java?rev=170369&r1=170368&r2=170369&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/util/Utils.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/util/Utils.java Mon May 16 04:56:14 2005
@@ -23,7 +23,6 @@
import org.apache.axis.description.ParameterImpl;
import org.apache.axis.description.PhaseRule;
import org.apache.axis.description.ServiceDescription;
-
import org.apache.axis.engine.AxisConfiguration;
import org.apache.axis.engine.AxisFault;
import org.apache.axis.engine.Handler;