axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject svn commit: r169784 - in /webservices/axis/trunk/java/modules/core/src/org/apache/axis: clientapi/InOutMEPClient.java receivers/AbstractInOutAsyncMessageReceiver.java receivers/AbstractInOutSyncMessageReceiver.java
Date Thu, 12 May 2005 07:07:59 GMT
Author: hemapani
Date: Thu May 12 00:07:56 2005
New Revision: 169784

URL: http://svn.apache.org/viewcvs?rev=169784&view=rev
Log:
remove the sender and use engine.send() in it's place

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/AbstractInOutAsyncMessageReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/AbstractInOutSyncMessageReceiver.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java?rev=169784&r1=169783&r2=169784&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java
Thu May 12 00:07:56 2005
@@ -30,9 +30,9 @@
 import org.apache.axis.description.AxisOperation;
 import org.apache.axis.description.AxisTransportIn;
 import org.apache.axis.description.AxisTransportOut;
+import org.apache.axis.engine.AxisEngine;
 import org.apache.axis.engine.AxisFault;
 import org.apache.axis.engine.AxisSystem;
-import org.apache.axis.engine.MessageSender;
 import org.apache.axis.om.OMException;
 import org.apache.axis.om.SOAPEnvelope;
 import org.apache.axis.transport.TransportReceiver;
@@ -82,8 +82,8 @@
         AxisSystem registry = sysContext.getEngineConfig();
 
         try {
-            MessageSender sender = new MessageSender(sysContext);
-
+            
+            AxisEngine engine = new AxisEngine(sysContext);
             msgctx.setOperationContext(
                 OperationContextFactory.createMEPContext(
                     WSDLConstants.MEP_CONSTANT_IN_OUT,
@@ -91,7 +91,7 @@
                     axisop,
                     null));
 
-            sender.send(msgctx);
+            engine.send(msgctx);
 
             MessageContext response = new MessageContext(msgctx.getSessionContext(),msgctx.getTransportIn(),msgctx.getTransportOut(),msgctx.getSystemContext());
             response.setServerSide(false);
@@ -119,7 +119,7 @@
         try {
             final SystemContext syscontext = serviceContext.getEngineContext();
 
-            MessageSender sender = new MessageSender(syscontext);
+            AxisEngine engine = new AxisEngine(syscontext);
 
             final AxisTransportIn transportIn =
                 syscontext.getEngineConfig().getTransportIn(new QName(senderTransport));
@@ -138,7 +138,7 @@
                 axisop.findOperationContext(msgctx, serviceContext, false);
             }
 
-            sender.send(msgctx);
+            engine.send(msgctx);
 
             //TODO start the server
             if (!useSeparateListener) {

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/AbstractInOutAsyncMessageReceiver.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/AbstractInOutAsyncMessageReceiver.java?rev=169784&r1=169783&r2=169784&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/AbstractInOutAsyncMessageReceiver.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/AbstractInOutAsyncMessageReceiver.java
Thu May 12 00:07:56 2005
@@ -18,7 +18,6 @@
 import org.apache.axis.context.MessageContext;
 import org.apache.axis.engine.AxisEngine;
 import org.apache.axis.engine.AxisFault;
-import org.apache.axis.engine.MessageSender;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
@@ -34,9 +33,9 @@
     public final void recieve(final MessageContext messgeCtx) throws AxisFault {
         final ServerCallback callback = new ServerCallback() {
             public void handleResult(MessageContext result)throws AxisFault {
-                MessageSender sender =
-                    new MessageSender(messgeCtx.getOperationContext().getServiceContext().getEngineContext());
-                sender.send(messgeCtx);
+                AxisEngine engine =
+                    new AxisEngine(messgeCtx.getOperationContext().getServiceContext().getEngineContext());
+                engine.send(messgeCtx);
             }
             public void handleFault(AxisFault fault)throws AxisFault{
                 AxisEngine engine = new AxisEngine(messgeCtx.getOperationContext().getServiceContext().getEngineContext());

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/AbstractInOutSyncMessageReceiver.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/AbstractInOutSyncMessageReceiver.java?rev=169784&r1=169783&r2=169784&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/AbstractInOutSyncMessageReceiver.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/receivers/AbstractInOutSyncMessageReceiver.java
Thu May 12 00:07:56 2005
@@ -19,8 +19,8 @@
 import org.apache.axis.addressing.MessageInformationHeadersCollection;
 import org.apache.axis.addressing.miheaders.RelatesTo;
 import org.apache.axis.context.MessageContext;
+import org.apache.axis.engine.AxisEngine;
 import org.apache.axis.engine.AxisFault;
-import org.apache.axis.engine.MessageSender;
 
 /**
  * This is the Absract IN-OUT MEP MessageReciver. The
@@ -55,9 +55,9 @@
 
         MessageContext resultContext = invokeBusinessLogic(messgeCtx,newmsgCtx);
 
-        MessageSender sender =
-            new MessageSender(
+        AxisEngine engine =
+            new AxisEngine(
                 messgeCtx.getOperationContext().getServiceContext().getEngineContext());
-        sender.send(resultContext);
+        engine.send(resultContext);
     }
 }



Mime
View raw message