axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject svn commit: r520981 - in /webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2: engine/ integration/ mail/
Date Wed, 21 Mar 2007 19:42:24 GMT
Author: gdaniels
Date: Wed Mar 21 12:42:23 2007
New Revision: 520981

URL: http://svn.apache.org/viewvc?view=rev&rev=520981
Log:
Fix build.

Modified:
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsJMSServer.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailCharSetEncodingTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java?view=diff&rev=520981&r1=520980&r2=520981
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java
Wed Mar 21 12:42:23 2007
@@ -89,7 +89,7 @@
         dispatchPhase.addHandler(smbd);
         dispatchPhase.addHandler(id);
         config.getGlobalInFlow().add(dispatchPhase);
-        TransportInDescription tIn = new TransportInDescription(new QName(Constants.TRANSPORT_LOCAL));
+        TransportInDescription tIn = new TransportInDescription(Constants.TRANSPORT_LOCAL);
         tIn.setReceiver(new TransportListener() {
 
             public void init(ConfigurationContext axisConf, TransportInDescription transprtIn)
{
@@ -115,7 +115,7 @@
         });
         config.addTransportIn(tIn);
 
-        tOut = new TransportOutDescription(new QName(Constants.TRANSPORT_LOCAL));
+        tOut = new TransportOutDescription(Constants.TRANSPORT_LOCAL);
         tOut.setSender(new LocalTransportSender());
         config.addTransportOut(tOut);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java?view=diff&rev=520981&r1=520980&r2=520981
==============================================================================
--- 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
Wed Mar 21 12:42:23 2007
@@ -75,8 +75,7 @@
             try {
                 receiver.start();
                 ListenerManager listenerManager = er.getListenerManager();
-                TransportInDescription trsIn = new TransportInDescription(
-                        new QName(Constants.TRANSPORT_HTTP));
+                TransportInDescription trsIn = new TransportInDescription(Constants.TRANSPORT_HTTP);
                 trsIn.setReceiver(receiver);
                 if (listenerManager == null) {
                     listenerManager = new ListenerManager();

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsJMSServer.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsJMSServer.java?view=diff&rev=520981&r1=520980&r2=520981
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsJMSServer.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsJMSServer.java
Wed Mar 21 12:42:23 2007
@@ -71,7 +71,7 @@
             }
             receiver = new JMSListener();
             ListenerManager listenerManager = configurationContext.getListenerManager();
-            TransportInDescription trsIn = configurationContext.getAxisConfiguration().getTransportIn(new
QName(Constants.TRANSPORT_JMS));
+            TransportInDescription trsIn = configurationContext.getAxisConfiguration().getTransportIn(Constants.TRANSPORT_JMS);
             trsIn.setReceiver(receiver);
             if (listenerManager == null) {
                 listenerManager = new ListenerManager();

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailCharSetEncodingTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailCharSetEncodingTest.java?view=diff&rev=520981&r1=520980&r2=520981
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailCharSetEncodingTest.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailCharSetEncodingTest.java
Wed Mar 21 12:42:23 2007
@@ -93,7 +93,7 @@
         SimpleMailListener ml = new SimpleMailListener();
 
         ml.init(serverConfigContext, serverConfigContext.getAxisConfiguration()
-                .getTransportIn(new QName(Constants.TRANSPORT_MAIL)));
+                .getTransportIn(Constants.TRANSPORT_MAIL));
         ml.start();
 
     }

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java?view=diff&rev=520981&r1=520980&r2=520981
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java
Wed Mar 21 12:42:23 2007
@@ -18,14 +18,11 @@
 
 //todo
 
-import java.util.Iterator;
-
 import junit.framework.TestCase;
 import org.apache.axiom.om.OMAbstractFactory;
 import org.apache.axiom.om.OMElement;
 import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMNamespace;
-import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axis2.Constants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.client.Options;
@@ -36,8 +33,6 @@
 import org.apache.axis2.description.AxisService;
 import org.apache.axis2.description.OutInAxisOperation;
 import org.apache.axis2.description.OutOnlyAxisOperation;
-import org.apache.axis2.description.TransportInDescription;
-import org.apache.axis2.description.TransportOutDescription;
 import org.apache.axis2.engine.MessageReceiver;
 import org.apache.axis2.transport.mail.SimpleMailListener;
 
@@ -51,12 +46,8 @@
     private QName operationName = new QName("echoOMElement");
 
 
-    private ConfigurationContext configContext;
     private ConfigurationContext clientConfigContext;
 
-    private SOAPEnvelope envelope;
-
-
     public MailOneWayRawXMLTest() {
         super(MailOneWayRawXMLTest.class.getName());
     }
@@ -67,13 +58,12 @@
 
     protected void setUp() throws Exception {
         //start the mail server      
-        configContext = UtilsMailServer.start();
+        ConfigurationContext configContext = UtilsMailServer.start();
         clientConfigContext = UtilsMailServer.createClientConfigurationContext();
 
         SimpleMailListener ml = new SimpleMailListener();
         ml.init(configContext,
-                configContext.getAxisConfiguration().getTransportIn(
-                        new QName(Constants.TRANSPORT_MAIL)));
+                configContext.getAxisConfiguration().getTransportIn(Constants.TRANSPORT_MAIL));
         ml.start();
 
         AxisService service = new AxisService(serviceName.getLocalPart());
@@ -82,7 +72,7 @@
         axisOperation.setName(operationName);
         axisOperation.setMessageReceiver(new MessageReceiver() {
             public void receive(MessageContext messageCtx) {
-                envelope = messageCtx.getEnvelope();
+                messageCtx.getEnvelope();
             }
         });
         service.addOperation(axisOperation);
@@ -112,7 +102,7 @@
         axisOperation.setName(operationName);
         axisOperation.setMessageReceiver(new MessageReceiver() {
             public void receive(MessageContext messageCtx) {
-                envelope = messageCtx.getEnvelope();
+                messageCtx.getEnvelope();
             }
         });
         service.addOperation(axisOperation);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java?view=diff&rev=520981&r1=520980&r2=520981
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java
Wed Mar 21 12:42:23 2007
@@ -76,7 +76,7 @@
 
         SimpleMailListener ml = new SimpleMailListener();
         ml.init(serverConfigContext, serverConfigContext.getAxisConfiguration()
-                .getTransportIn(new QName(Constants.TRANSPORT_MAIL)));
+                .getTransportIn(Constants.TRANSPORT_MAIL));
         ml.start();
         // configContext.getAxisConfiguration().engageModule(
         // new QName(Constants.MODULE_ADDRESSING));



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message