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 ch...@apache.org on 2005/07/01 13:06:26 UTC
svn commit: r208745 [8/13] - in /webservices/axis/trunk/java: ./ etc/
modules/addressing/src/META-INF/ modules/addressing/src/org/apache/axis/
modules/addressing/src/org/apache/axis2/
modules/addressing/src/org/apache/axis2/handlers/ modules/addressing...
Modified: webservices/axis/trunk/java/modules/samples/src/userguide/example1/META-INF/service.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/example1/META-INF/service.xml?rev=208745&r1=208744&r2=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/example1/META-INF/service.xml (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/example1/META-INF/service.xml Fri Jul 1 04:05:49 2005
@@ -4,9 +4,9 @@
</description>
<parameter name="ServiceClass" locked="xsd:false">userguide.example1.MyService</parameter>
<operation name="echo">
- <messageReceiver class="org.apache.axis.receivers.RawXMLINOutMessageReceiver"/>
+ <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
</operation>
<operation name="ping">
- <messageReceiver class="org.apache.axis.receivers.RawXMLINOnlyMessageReceiver"/>
+ <messageReceiver class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
</operation>
</service>
Modified: webservices/axis/trunk/java/modules/samples/src/userguide/example1/MyService.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/example1/MyService.java?rev=208745&r1=208744&r2=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/example1/MyService.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/example1/MyService.java Fri Jul 1 04:05:49 2005
@@ -1,6 +1,6 @@
package userguide.example1;
-import org.apache.axis.om.OMElement;
+import org.apache.axis2.om.OMElement;
import javax.xml.stream.XMLStreamException;
Modified: webservices/axis/trunk/java/modules/samples/src/userguide/example2/META-INF/service.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/example2/META-INF/service.xml?rev=208745&r1=208744&r2=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/example2/META-INF/service.xml (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/example2/META-INF/service.xml Fri Jul 1 04:05:49 2005
@@ -5,9 +5,9 @@
<module ref="logging"/>
<parameter name="ServiceClass" locked="xsd:false">userguide.example2.MyService</parameter>
<operation name="echo">
- <messageReceiver class="org.apache.axis.receivers.RawXMLINOutMessageReceiver"/>
+ <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
</operation>
<operation name="ping">
- <messageReceiver class="org.apache.axis.receivers.RawXMLINOutMessageReceiver"/>
+ <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
</operation>
</service>
Modified: webservices/axis/trunk/java/modules/samples/src/userguide/example2/MyService.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/example2/MyService.java?rev=208745&r1=208744&r2=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/example2/MyService.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/example2/MyService.java Fri Jul 1 04:05:49 2005
@@ -1,6 +1,6 @@
package userguide.example2;
-import org.apache.axis.om.OMElement;
+import org.apache.axis2.om.OMElement;
import javax.xml.stream.XMLStreamException;
Modified: webservices/axis/trunk/java/modules/samples/src/userguide/loggingmodule/LogHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/loggingmodule/LogHandler.java?rev=208745&r1=208744&r2=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/loggingmodule/LogHandler.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/loggingmodule/LogHandler.java Fri Jul 1 04:05:49 2005
@@ -16,10 +16,10 @@
package userguide.loggingmodule;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.engine.AxisFault;
-import org.apache.axis.engine.Handler;
-import org.apache.axis.handlers.AbstractHandler;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.engine.Handler;
+import org.apache.axis2.handlers.AbstractHandler;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Modified: webservices/axis/trunk/java/modules/samples/src/userguide/loggingmodule/LoggingModule.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/loggingmodule/LoggingModule.java?rev=208745&r1=208744&r2=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/loggingmodule/LoggingModule.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/loggingmodule/LoggingModule.java Fri Jul 1 04:05:49 2005
@@ -1,8 +1,8 @@
package userguide.loggingmodule;
-import org.apache.axis.engine.AxisConfiguration;
-import org.apache.axis.engine.AxisFault;
-import org.apache.axis.modules.Module;
+import org.apache.axis2.engine.AxisConfiguration;
+import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.modules.Module;
/**
* Created by IntelliJ IDEA.
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/CallUnregisteredServiceTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/CallUnregisteredServiceTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/CallUnregisteredServiceTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java Fri Jul 1 04:05:49 2005
@@ -14,24 +14,24 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
//todo
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.clientapi.Call;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.om.OMNamespace;
-import org.apache.axis.soap.SOAPBody;
-import org.apache.axis.soap.SOAPEnvelope;
-import org.apache.axis.soap.SOAPFactory;
-import org.apache.axis.transport.http.SimpleHTTPServer;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.clientapi.Call;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.soap.SOAPBody;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.transport.http.SimpleHTTPServer;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/CommonsHTTPEchoRawXMLTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/CommonsHTTPEchoRawXMLTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/CommonsHTTPEchoRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java Fri Jul 1 04:05:49 2005
@@ -14,25 +14,25 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
//todo
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.clientapi.AsyncResult;
-import org.apache.axis.clientapi.Callback;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.integration.TestingUtils;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.soap.SOAPFactory;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.clientapi.AsyncResult;
+import org.apache.axis2.clientapi.Callback;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.integration.TestingUtils;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -86,7 +86,7 @@
public void testEchoXMLASync() throws Exception {
OMElement payload = TestingUtils.createDummyOMElement();
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call(Constants.TESTING_PATH+"commons-http-enabledRepository");
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call(Constants.TESTING_PATH+"commons-http-enabledRepository");
call.setTo(targetEPR);
call.setTransportInfo(Constants.TRANSPORT_COMMONS_HTTP, Constants.TRANSPORT_HTTP, false);
@@ -123,7 +123,7 @@
OMElement payload = TestingUtils.createDummyOMElement();
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call(Constants.TESTING_PATH+"commons-http-enabledRepository");
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call(Constants.TESTING_PATH+"commons-http-enabledRepository");
call.setTo(targetEPR);
call.setTransportInfo(Constants.TRANSPORT_COMMONS_HTTP, Constants.TRANSPORT_HTTP, false);
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/Echo.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/Echo.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/Echo.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/Echo.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/Echo.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/Echo.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/Echo.java Fri Jul 1 04:05:49 2005
@@ -1,23 +1,23 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.axis.engine;
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.axis2.engine;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.om.OMText;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMText;
/**
* @version $Rev: $ $Date: $
@@ -43,12 +43,12 @@
public int echoInt(int in) {
return in;
- }
-
- public OMElement echoMTOMtoBase64(OMElement omEle)
- {
- OMText omText = (OMText)omEle.getFirstChild();
- omText.doOptimize(false);
- return omEle;
+ }
+
+ public OMElement echoMTOMtoBase64(OMElement omEle)
+ {
+ OMText omText = (OMText)omEle.getFirstChild();
+ omText.doOptimize(false);
+ return omEle;
}
}
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawMTOMTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawMTOMTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawMTOMTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawMTOMTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawMTOMTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawMTOMTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawMTOMTest.java Fri Jul 1 04:05:49 2005
@@ -14,26 +14,26 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
/**
* @author <a href="mailto:thilina@opensource.lk">Thilina Gunarathne </a>
*/
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.attachments.ByteArrayDataSource;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.om.OMFactory;
-import org.apache.axis.om.OMNamespace;
-import org.apache.axis.om.impl.llom.OMTextImpl;
-import org.apache.axis.soap.SOAPFactory;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.attachments.ByteArrayDataSource;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.impl.llom.OMTextImpl;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -104,7 +104,7 @@
OMElement payload = createEnvelope();
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
call.setTo(targetEPR);
call.set(Constants.Configuration.ENABLE_MTOM,Constants.VALUE_TRUE);
call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawMTOMToBase64Test.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawMTOMToBase64Test.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawMTOMToBase64Test.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawMTOMToBase64Test.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawMTOMToBase64Test.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawMTOMToBase64Test.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawMTOMToBase64Test.java Fri Jul 1 04:05:49 2005
@@ -14,23 +14,23 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
/**
* @author <a href="mailto:thilina@opensource.lk">Thilina Gunarathne </a>
*/
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.attachments.ByteArrayDataSource;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.*;
-import org.apache.axis.om.impl.llom.OMTextImpl;
-import org.apache.axis.soap.SOAPFactory;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.attachments.ByteArrayDataSource;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.*;
+import org.apache.axis2.om.impl.llom.OMTextImpl;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -105,7 +105,7 @@
OMElement payload = createEnvelope();
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
call.setTo(targetEPR);
call.set(Constants.Configuration.ENABLE_MTOM,Constants.VALUE_TRUE);
@@ -123,7 +123,7 @@
OMElement payload = createEnvelope();
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
call.setTo(targetEPR);
call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLChunckedTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLChunckedTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLChunckedTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLChunckedTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLChunckedTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLChunckedTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLChunckedTest.java Fri Jul 1 04:05:49 2005
@@ -14,23 +14,23 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
//todo
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.integration.TestingUtils;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.soap.SOAPFactory;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.integration.TestingUtils;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -86,7 +86,7 @@
// public void testEchoXMLASync() throws Exception {
// OMElement payload = createEnvelope();
//
-// org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call(Constants.TESTING_PATH + "chuncked-enabledRepository");
+// org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call(Constants.TESTING_PATH + "chuncked-enabledRepository");
//
// call.setTo(targetEPR);
// call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
@@ -128,7 +128,7 @@
OMElement payload = TestingUtils.createDummyOMElement();
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call(Constants.TESTING_PATH + "chuncked-enabledRepository");
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call(Constants.TESTING_PATH + "chuncked-enabledRepository");
call.setTo(targetEPR);
call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLLoadTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLLoadTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLLoadTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java Fri Jul 1 04:05:49 2005
@@ -14,23 +14,23 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
//todo
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.integration.TestingUtils;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.soap.SOAPFactory;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.integration.TestingUtils;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -86,7 +86,7 @@
// public void testEchoXMLASync() throws Exception {
// OMElement payload = createEnvelope();
//
-// org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
+// org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
//
// call.setTo(targetEPR);
// call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
@@ -127,7 +127,7 @@
OMElement payload = TestingUtils.createDummyOMElement();
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
call.setTo(targetEPR);
call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLOnTwoChannelsSyncTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLOnTwoChannelsSyncTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLOnTwoChannelsSyncTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java Fri Jul 1 04:05:49 2005
@@ -14,23 +14,23 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.integration.TestingUtils;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.om.OMFactory;
-import org.apache.axis.om.OMNamespace;
-import org.apache.axis.transport.http.SimpleHTTPServer;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.integration.TestingUtils;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.transport.http.SimpleHTTPServer;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -101,7 +101,7 @@
value.setText("Isaac Assimov, the foundation Sega");
method.addChild(value);
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call(serviceContext);
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call(serviceContext);
call.setTo(targetEPR);
call.engageModule(new QName(Constants.MODULE_ADDRESSING));
call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, true);
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLOnTwoChannelsTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLOnTwoChannelsTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLOnTwoChannelsTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java Fri Jul 1 04:05:49 2005
@@ -14,25 +14,25 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.clientapi.AsyncResult;
-import org.apache.axis.clientapi.Callback;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.integration.TestingUtils;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.om.OMFactory;
-import org.apache.axis.om.OMNamespace;
-import org.apache.axis.transport.http.SimpleHTTPServer;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.clientapi.AsyncResult;
+import org.apache.axis2.clientapi.Callback;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.integration.TestingUtils;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.transport.http.SimpleHTTPServer;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -106,7 +106,7 @@
value.setText("Isaac Assimov, the foundation Sega");
method.addChild(value);
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call(serviceContext);
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call(serviceContext);
call.engageModule(new QName(Constants.MODULE_ADDRESSING));
try {
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/EchoRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLTest.java Fri Jul 1 04:05:49 2005
@@ -14,25 +14,25 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
//todo
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.clientapi.AsyncResult;
-import org.apache.axis.clientapi.Callback;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.integration.TestingUtils;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.soap.SOAPFactory;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.clientapi.AsyncResult;
+import org.apache.axis2.clientapi.Callback;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.integration.TestingUtils;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -87,7 +87,7 @@
public void testEchoXMLASync() throws Exception {
OMElement payload = TestingUtils.createDummyOMElement();
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
call.setTo(targetEPR);
call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
@@ -124,7 +124,7 @@
OMElement payload = TestingUtils.createDummyOMElement();
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
call.setTo(targetEPR);
call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
@@ -139,7 +139,7 @@
OMElement payload = TestingUtils.createDummyOMElement();
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
call.setTo(targetEPR);
call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/HandlerFailureTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/HandlerFailureTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/HandlerFailureTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/HandlerFailureTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/HandlerFailureTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/HandlerFailureTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/HandlerFailureTest.java Fri Jul 1 04:05:49 2005
@@ -14,28 +14,28 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
//todo
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.description.Flow;
-import org.apache.axis.description.FlowImpl;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.handlers.AbstractHandler;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.om.OMNamespace;
-import org.apache.axis.om.OMOutput;
-import org.apache.axis.phaseresolver.PhaseMetadata;
-import org.apache.axis.soap.SOAPFactory;
-import org.apache.axis.transport.http.SimpleHTTPServer;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.description.Flow;
+import org.apache.axis2.description.FlowImpl;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.om.OMOutput;
+import org.apache.axis2.phaseresolver.PhaseMetadata;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.transport.http.SimpleHTTPServer;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -98,7 +98,7 @@
}
// public void testFailureAtServerResponseFlow() throws Exception {
-// ServiceDescription service = Utils.createSimpleService(serviceName,org.apache.axis.engine.Echo.class.getName(),operationName);
+// ServiceDescription service = Utils.createSimpleService(serviceName,org.apache.axis2.engine.Echo.class.getName(),operationName);
//
//
// Flow flow = new FlowImpl();
@@ -148,7 +148,7 @@
value.setText("Isaac Assimov, the foundation Sega");
method.addChild(value);
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
//EndpointReference targetEPR = new EndpointReference(AddressingConstants.WSA_TO, "http://127.0.0.1:" + Utils.TESTING_PORT + "/axis/services/EchoXMLService");
call.setTransportInfo(Constants.TRANSPORT_HTTP,Constants.TRANSPORT_HTTP,false);
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MTOM-enabled-axis2.xml (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MTOM-enabled-axis2.xml)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MTOM-enabled-axis2.xml?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MTOM-enabled-axis2.xml&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MTOM-enabled-axis2.xml&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MTOM-enabled-axis2.xml (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MTOM-enabled-axis2.xml Fri Jul 1 04:05:49 2005
@@ -21,17 +21,17 @@
<!-- Message Receivers -->
<!-- ================================================= -->
<!-- This is the Deafult Message Receiver for the Request Response style Operations -->
- <messageReceiver mep="INOUT" class="org.apache.axis.receivers.RawXMLINOutMessageReceiver"/>
+ <messageReceiver mep="INOUT" class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
<!-- ================================================= -->
<!-- Transport Ins -->
<!-- ================================================= -->
- <transportReceiver name="http" class="org.apache.axis.transport.http.SimpleHTTPServer">
+ <transportReceiver name="http" class="org.apache.axis2.transport.http.SimpleHTTPServer">
<parameter name="port" locked="xsd:false">6060</parameter>
</transportReceiver>
<!-- Uncomment this one with the appropriate papameters to enable the SMTP transport Receiver
- <transportReceiver name="mail" class="org.apache.axis.transport.mail.SimpleMailListener">
+ <transportReceiver name="mail" class="org.apache.axis2.transport.mail.SimpleMailListener">
<parameter name="transport.mail.pop3.host" locked="xsd:false">127.0.0.1</parameter>
<parameter name="transport.mail.pop3.user" locked="xsd:false">axis2</parameter>
<parameter name="transport.mail.pop3.password" locked="xsd:false">axis2</parameter>
@@ -39,7 +39,7 @@
<parameter name="transport.mail.replyToAddress" locked="xsd:false">axis2@127.0.0.1</parameter>
</transportReceiver> -->
- <transportReceiver name="tcp" class="org.apache.axis.transport.tcp.TCPServer">
+ <transportReceiver name="tcp" class="org.apache.axis2.transport.tcp.TCPServer">
<parameter name="port" locked="xsd:false">6060</parameter>
</transportReceiver>
@@ -47,12 +47,12 @@
<!-- Transport Outs -->
<!-- ================================================= -->
- <transportSender name="http" class="org.apache.axis.transport.http.HTTPTransportSender"/>
- <transportSender name="tcp" class="org.apache.axis.transport.tcp.TCPTransportSender"/>
- <transportSender name="local" class="org.apache.axis.transport.local.LocalTransportSender"/>
+ <transportSender name="http" class="org.apache.axis2.transport.http.HTTPTransportSender"/>
+ <transportSender name="tcp" class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
+ <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
<!-- Uncomment this one with the appropriate papameters to enable the SMTP transport Receiver
- <transportSender name="mail" class="org.apache.axis.transport.mail.MailTransportSender">
+ <transportSender name="mail" class="org.apache.axis2.transport.mail.MailTransportSender">
<parameter name="transport.mail.smtp.host" locked="xsd:false">127.0.0.1</parameter>
<parameter name="transport.mail.smtp.user" locked="xsd:false">axis2</parameter>
<parameter name="transport.mail.smtp.password" locked="xsd:false">axis2</parameter>
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MailEchoRawXMLTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MailEchoRawXMLTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MailEchoRawXMLTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MailEchoRawXMLTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MailEchoRawXMLTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MailEchoRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MailEchoRawXMLTest.java Fri Jul 1 04:05:49 2005
@@ -14,23 +14,23 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
//todo
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.integration.TestingUtils;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.soap.SOAPFactory;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.integration.TestingUtils;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -84,7 +84,7 @@
// public void testEchoXMLASync() throws Exception {
// OMElement payload = createEnvelope();
//
-// org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
+// org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
//
// call.setTo(targetEPR);
// call.setTransportInfo(Constants.TRANSPORT_HTTP, Constants.TRANSPORT_HTTP, false);
@@ -125,7 +125,7 @@
OMElement payload = TestingUtils.createDummyOMElement();
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
call.setTo(targetEPR);
call.setTransportInfo(Constants.TRANSPORT_MAIL, Constants.TRANSPORT_MAIL, true);
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MessageWithServerTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MessageWithServerTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MessageWithServerTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MessageWithServerTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MessageWithServerTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MessageWithServerTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MessageWithServerTest.java Fri Jul 1 04:05:49 2005
@@ -14,18 +14,18 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
//todo
import junit.framework.TestCase;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.description.ModuleDescription;
-import org.apache.axis.description.OperationDescription;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.transport.http.SimpleHTTPServer;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.description.ModuleDescription;
+import org.apache.axis2.description.OperationDescription;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.transport.http.SimpleHTTPServer;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MockFlow.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MockFlow.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MockFlow.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MockFlow.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MockFlow.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/MockFlow.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/MockFlow.java Fri Jul 1 04:05:49 2005
@@ -14,10 +14,10 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
-import org.apache.axis.description.Flow;
-import org.apache.axis.description.FlowImpl;
+import org.apache.axis2.description.Flow;
+import org.apache.axis2.description.FlowImpl;
public class MockFlow extends FlowImpl implements Flow {
public MockFlow(String message, int length) {
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/OneWayRawXMLTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/OneWayRawXMLTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/OneWayRawXMLTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/OneWayRawXMLTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/OneWayRawXMLTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/OneWayRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/OneWayRawXMLTest.java Fri Jul 1 04:05:49 2005
@@ -14,24 +14,24 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
//todo
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.clientapi.MessageSender;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.description.OperationDescription;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.integration.TestingUtils;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.soap.SOAPEnvelope;
-import org.apache.axis.soap.SOAPFactory;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.clientapi.MessageSender;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.description.OperationDescription;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.integration.TestingUtils;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SOAPversionTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/SOAPversionTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SOAPversionTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SOAPversionTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/SOAPversionTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/SOAPversionTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SOAPversionTest.java Fri Jul 1 04:05:49 2005
@@ -1,20 +1,20 @@
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.engine.util.MyInOutMEPClient;
-import org.apache.axis.integration.UtilServer;
-import org.apache.axis.om.*;
-import org.apache.axis.soap.SOAPEnvelope;
-import org.apache.axis.soap.SOAPFactory;
-import org.apache.axis.soap.impl.llom.soap11.SOAP11Constants;
-import org.apache.axis.soap.impl.llom.soap12.SOAP12Constants;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.engine.util.MyInOutMEPClient;
+import org.apache.axis2.integration.UtilServer;
+import org.apache.axis2.om.*;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.impl.llom.soap11.SOAP11Constants;
+import org.apache.axis2.soap.impl.llom.soap12.SOAP12Constants;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/ServiceDescriptionBuilderTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/ServiceDescriptionBuilderTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/ServiceDescriptionBuilderTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/ServiceDescriptionBuilderTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/ServiceDescriptionBuilderTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/ServiceDescriptionBuilderTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/ServiceDescriptionBuilderTest.java Fri Jul 1 04:05:49 2005
@@ -1,9 +1,9 @@
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
import junit.framework.TestCase;
-import org.apache.axis.description.AxisDescWSDLComponentFactory;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.wsdl.builder.WOMBuilderFactory;
+import org.apache.axis2.description.AxisDescWSDLComponentFactory;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.wsdl.builder.WOMBuilderFactory;
import org.apache.wsdl.WSDLDescription;
import java.io.File;
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SpeakingHandler.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/SpeakingHandler.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SpeakingHandler.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SpeakingHandler.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/SpeakingHandler.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/SpeakingHandler.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SpeakingHandler.java Fri Jul 1 04:05:49 2005
@@ -14,10 +14,10 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.handlers.AbstractHandler;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.handlers.AbstractHandler;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SpeakingHandler1.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/SpeakingHandler1.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SpeakingHandler1.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SpeakingHandler1.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/SpeakingHandler1.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/SpeakingHandler1.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SpeakingHandler1.java Fri Jul 1 04:05:49 2005
@@ -14,13 +14,13 @@
* limitations under the License.
*/
-package org.apache.axis.engine;
+package org.apache.axis2.engine;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.description.HandlerDescription;
-import org.apache.axis.description.PhaseRule;
-import org.apache.axis.handlers.AbstractHandler;
-import org.apache.axis.phaseresolver.PhaseMetadata;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.description.HandlerDescription;
+import org.apache.axis2.description.PhaseRule;
+import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.axis2.phaseresolver.PhaseMetadata;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/chuncking-enabled-axis2.xml (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/chuncking-enabled-axis2.xml)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/chuncking-enabled-axis2.xml?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/chuncking-enabled-axis2.xml&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/chuncking-enabled-axis2.xml&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/chuncking-enabled-axis2.xml (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/chuncking-enabled-axis2.xml Fri Jul 1 04:05:49 2005
@@ -16,17 +16,17 @@
<!-- Message Receivers -->
<!-- ================================================= -->
<!-- This is the Deafult Message Receiver for the Request Response style Operations -->
- <messageReceiver mep="INOUT" class="org.apache.axis.receivers.RawXMLINOutMessageReceiver"/>
+ <messageReceiver mep="INOUT" class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
<!-- ================================================= -->
<!-- Transport Ins -->
<!-- ================================================= -->
- <transportReceiver name="http" class="org.apache.axis.transport.http.SimpleHTTPServer">
+ <transportReceiver name="http" class="org.apache.axis2.transport.http.SimpleHTTPServer">
<parameter name="port" locked="xsd:false">6060</parameter>
</transportReceiver>
<!-- Uncomment this one with the appropriate papameters to enable the SMTP transport Receiver
- <transportReceiver name="mail" class="org.apache.axis.transport.mail.SimpleMailListener">
+ <transportReceiver name="mail" class="org.apache.axis2.transport.mail.SimpleMailListener">
<parameter name="transport.mail.pop3.host" locked="xsd:false">127.0.0.1</parameter>
<parameter name="transport.mail.pop3.user" locked="xsd:false">axis2</parameter>
<parameter name="transport.mail.pop3.password" locked="xsd:false">axis2</parameter>
@@ -34,7 +34,7 @@
<parameter name="transport.mail.replyToAddress" locked="xsd:false">axis2@127.0.0.1</parameter>
</transportReceiver> -->
- <transportReceiver name="tcp" class="org.apache.axis.transport.tcp.TCPServer">
+ <transportReceiver name="tcp" class="org.apache.axis2.transport.tcp.TCPServer">
<parameter name="port" locked="xsd:false">6060</parameter>
</transportReceiver>
@@ -42,16 +42,16 @@
<!-- Transport Outs -->
<!-- ================================================= -->
- <transportSender name="http" class="org.apache.axis.transport.http.HTTPTransportSender">
+ <transportSender name="http" class="org.apache.axis2.transport.http.HTTPTransportSender">
<parameter name="PROTOCOL" locked="xsd:false">HTTP/1.1</parameter>
<parameter name="Transfer-Encoding" locked="xsd:false">chunked</parameter>
</transportSender>
- <transportSender name="tcp" class="org.apache.axis.transport.tcp.TCPTransportSender"/>
- <transportSender name="local" class="org.apache.axis.transport.local.LocalTransportSender"/>
+ <transportSender name="tcp" class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
+ <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
<!-- Uncomment this one with the appropriate papameters to enable the SMTP transport Receiver
- <transportSender name="mail" class="org.apache.axis.transport.mail.MailTransportSender">
+ <transportSender name="mail" class="org.apache.axis2.transport.mail.MailTransportSender">
<parameter name="transport.mail.smtp.host" locked="xsd:false">127.0.0.1</parameter>
<parameter name="transport.mail.smtp.user" locked="xsd:false">axis2</parameter>
<parameter name="transport.mail.smtp.password" locked="xsd:false">axis2</parameter>
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/commons-http-enabled-axis2.xml (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/commons-http-enabled-axis2.xml)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/commons-http-enabled-axis2.xml?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/commons-http-enabled-axis2.xml&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/commons-http-enabled-axis2.xml&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/commons-http-enabled-axis2.xml (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/commons-http-enabled-axis2.xml Fri Jul 1 04:05:49 2005
@@ -16,12 +16,12 @@
<!-- Message Receivers -->
<!-- ================================================= -->
<!-- This is the Deafult Message Receiver for the Request Response style Operations -->
- <messageReceiver mep="INOUT" class="org.apache.axis.receivers.RawXMLINOutMessageReceiver"/>
+ <messageReceiver mep="INOUT" class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
<!-- ================================================= -->
<!-- Transport Ins -->
<!-- ================================================= -->
- <transportReceiver name="http" class="org.apache.axis.transport.http.SimpleHTTPServer">
+ <transportReceiver name="http" class="org.apache.axis2.transport.http.SimpleHTTPServer">
<parameter name="port" locked="xsd:false">6060</parameter>
</transportReceiver>
@@ -29,7 +29,7 @@
- <transportReceiver name="tcp" class="org.apache.axis.transport.tcp.TCPServer">
+ <transportReceiver name="tcp" class="org.apache.axis2.transport.tcp.TCPServer">
<parameter name="port" locked="xsd:false">6060</parameter>
</transportReceiver>
@@ -37,15 +37,15 @@
<!-- Transport Outs -->
<!-- ================================================= -->
- <transportSender name="http" class="org.apache.axis.transport.http.HTTPTransportSender">
+ <transportSender name="http" class="org.apache.axis2.transport.http.HTTPTransportSender">
<parameter name="PROTOCOL" locked="xsd:false">HTTP/1.1</parameter>
<parameter name="Transfer-Encoding" locked="xsd:false">chunked</parameter>
</transportSender>
- <transportSender name="tcp" class="org.apache.axis.transport.tcp.TCPTransportSender"/>
- <transportSender name="local" class="org.apache.axis.transport.local.LocalTransportSender"/>
+ <transportSender name="tcp" class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
+ <transportSender name="local" class="org.apache.axis2.transport.local.LocalTransportSender"/>
- <transportSender name="commons-http" class="org.apache.axis.transport.http.CommonsHTTPTransportSender">
+ <transportSender name="commons-http" class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
<parameter name="PROTOCOL" locked="xsd:false">HTTP/1.1</parameter>
<parameter name="Transfer-Encoding" locked="xsd:false">chunked</parameter>
</transportSender>
Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/util/MyInOutMEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/util/MyInOutMEPClient.java?rev=208745&r1=208741&r2=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/util/MyInOutMEPClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/util/MyInOutMEPClient.java Fri Jul 1 04:05:49 2005
@@ -1,11 +1,11 @@
-package org.apache.axis.engine.util;
+package org.apache.axis2.engine.util;
-import org.apache.axis.clientapi.Call;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.description.OperationDescription;
-import org.apache.axis.engine.AxisFault;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.soap.SOAPEnvelope;
+import org.apache.axis2.clientapi.Call;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.description.OperationDescription;
+import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.soap.SOAPEnvelope;
import javax.xml.namespace.QName;
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/Constants.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/Constants.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/Constants.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/Constants.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/Constants.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/Constants.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/Constants.java Fri Jul 1 04:05:49 2005
@@ -1,20 +1,20 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.axis.integration;
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.axis2.integration;
/**
* @author hemapani
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/EchoTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/EchoTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/EchoTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/EchoTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/EchoTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/EchoTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/EchoTest.java Fri Jul 1 04:05:49 2005
@@ -14,13 +14,13 @@
* limitations under the License.
*/
-package org.apache.axis.integration;
+package org.apache.axis2.integration;
import junit.framework.TestCase;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMConstants;
-import org.apache.axis.om.OMNamespace;
-import org.apache.axis.soap.SOAPFactory;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMConstants;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.soap.SOAPFactory;
import java.io.File;
import java.net.MalformedURLException;
@@ -101,7 +101,7 @@
// new EndpointReference(
// AddressingConstants.WSA_TO,
// "http://127.0.0.1:"
-// + (org.apache.axis.integration.Constants.TESTING_PORT)
+// + (org.apache.axis2.integration.Constants.TESTING_PORT)
// + "/axis/services/echo/echoString");
//
// OMElement returnelement = fac.createOMElement("param1", ns);
@@ -127,7 +127,7 @@
// new EndpointReference(
// AddressingConstants.WSA_TO,
// "http://127.0.0.1:"
-// + (org.apache.axis.integration.Constants.TESTING_PORT)
+// + (org.apache.axis2.integration.Constants.TESTING_PORT)
// + "/axis/services/echo/echoStringArray");
//
// OMElement returnelement = fac.createOMElement("param1", ns);
@@ -153,7 +153,7 @@
// new EndpointReference(
// AddressingConstants.WSA_TO,
// "http://127.0.0.1:"
-// + (org.apache.axis.integration.Constants.TESTING_PORT)
+// + (org.apache.axis2.integration.Constants.TESTING_PORT)
// + "/axis/services/echo/echoEchoStruct");
//
// String[] messages =
@@ -222,7 +222,7 @@
// new EndpointReference(
// AddressingConstants.WSA_TO,
// "http://127.0.0.1:"
-// + (org.apache.axis.integration.Constants.TESTING_PORT)
+// + (org.apache.axis2.integration.Constants.TESTING_PORT)
// + "/axis/services/echo/echoEchoStructArray");
//
// Object[] objs = new Object[10];
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/TestingUtils.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/TestingUtils.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/TestingUtils.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/TestingUtils.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/TestingUtils.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/TestingUtils.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/TestingUtils.java Fri Jul 1 04:05:49 2005
@@ -15,13 +15,13 @@
*
* Runtime state of the engine
*/
-package org.apache.axis.integration;
+package org.apache.axis2.integration;
import junit.framework.TestCase;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.om.OMFactory;
-import org.apache.axis.om.OMNamespace;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMNamespace;
public class TestingUtils {
public static OMElement createDummyOMElement() {
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/UtilServer.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/UtilServer.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/UtilServer.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/UtilServer.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/UtilServer.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/UtilServer.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/UtilServer.java Fri Jul 1 04:05:49 2005
@@ -14,18 +14,18 @@
* limitations under the License.
*/
-package org.apache.axis.integration;
+package org.apache.axis2.integration;
import junit.framework.TestCase;
-import org.apache.axis.context.ConfigurationContext;
-import org.apache.axis.context.ConfigurationContextFactory;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.deployment.DeploymentEngine;
-import org.apache.axis.description.ModuleDescription;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.engine.AxisFault;
-import org.apache.axis.transport.http.SimpleHTTPServer;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.context.ConfigurationContext;
+import org.apache.axis2.context.ConfigurationContextFactory;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.deployment.DeploymentEngine;
+import org.apache.axis2.description.ModuleDescription;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.transport.http.SimpleHTTPServer;
+import org.apache.axis2.util.Utils;
import javax.xml.namespace.QName;
import java.io.File;
@@ -47,7 +47,7 @@
}
public static synchronized void start() throws Exception {
- start(org.apache.axis.Constants.TESTING_REPOSITORY);
+ start(org.apache.axis2.Constants.TESTING_REPOSITORY);
}
public static synchronized void start(String repositry) throws Exception {
@@ -97,7 +97,7 @@
public static ServiceContext createAdressedEnabledClientSide(ServiceDescription service)
throws AxisFault {
DeploymentEngine deploymentEngine = new DeploymentEngine();
- File file = new File(org.apache.axis.Constants.TESTING_REPOSITORY + "/modules/addressing.mar");
+ File file = new File(org.apache.axis2.Constants.TESTING_REPOSITORY + "/modules/addressing.mar");
TestCase.assertTrue(file.exists());
ModuleDescription moduleDesc = deploymentEngine.buildModule(file);
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/UtilsTCPServer.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/UtilsTCPServer.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/UtilsTCPServer.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/UtilsTCPServer.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/UtilsTCPServer.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/integration/UtilsTCPServer.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/UtilsTCPServer.java Fri Jul 1 04:05:49 2005
@@ -14,13 +14,13 @@
* limitations under the License.
*/
-package org.apache.axis.integration;
+package org.apache.axis2.integration;
-import org.apache.axis.context.ConfigurationContext;
-import org.apache.axis.context.ConfigurationContextFactory;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.engine.AxisFault;
-import org.apache.axis.transport.tcp.TCPServer;
+import org.apache.axis2.context.ConfigurationContext;
+import org.apache.axis2.context.ConfigurationContextFactory;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.transport.tcp.TCPServer;
import javax.xml.namespace.QName;
import java.io.File;
@@ -51,7 +51,7 @@
ConfigurationContextFactory erfac =
new ConfigurationContextFactory();
- File file = new File(org.apache.axis.Constants.TESTING_REPOSITORY);
+ File file = new File(org.apache.axis2.Constants.TESTING_REPOSITORY);
System.out.println(file.getAbsoluteFile());
if (!file.exists()) {
throw new Exception("repository directory does not exists");
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/mail/MailOneWayRawXMLTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/mail/MailOneWayRawXMLTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/mail/MailOneWayRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java Fri Jul 1 04:05:49 2005
@@ -14,33 +14,33 @@
* limitations under the License.
*/
-package org.apache.axis.mail;
+package org.apache.axis2.mail;
//todo
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.clientapi.MessageSender;
-import org.apache.axis.context.ConfigurationContext;
-import org.apache.axis.context.ConfigurationContextFactory;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.OperationDescription;
-import org.apache.axis.description.ServiceDescription;
-import org.apache.axis.engine.AxisFault;
-import org.apache.axis.engine.MessageReceiver;
-import org.apache.axis.om.OMAbstractFactory;
-import org.apache.axis.om.OMElement;
-import org.apache.axis.om.OMFactory;
-import org.apache.axis.om.OMNamespace;
-import org.apache.axis.soap.SOAPEnvelope;
-import org.apache.axis.soap.SOAPFactory;
-import org.apache.axis.transport.mail.SimpleMailListener;
-import org.apache.axis.transport.mail.server.MailConstants;
-import org.apache.axis.transport.mail.server.MailServer;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.clientapi.MessageSender;
+import org.apache.axis2.context.ConfigurationContext;
+import org.apache.axis2.context.ConfigurationContextFactory;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.OperationDescription;
+import org.apache.axis2.description.ServiceDescription;
+import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.engine.MessageReceiver;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMFactory;
+import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.transport.mail.SimpleMailListener;
+import org.apache.axis2.transport.mail.server.MailConstants;
+import org.apache.axis2.transport.mail.server.MailServer;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Copied: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java (from r208741, webservices/axis/trunk/java/modules/samples/test/org/apache/axis/mail/MailRequestResponseRawXMLTest.java)
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java?p2=webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java&p1=webservices/axis/trunk/java/modules/samples/test/org/apache/axis/mail/MailRequestResponseRawXMLTest.java&r1=208741&r2=208745&rev=208745&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/mail/MailRequestResponseRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java Fri Jul 1 04:05:49 2005
@@ -14,32 +14,32 @@
* limitations under the License.
*/
-package org.apache.axis.mail;
+package org.apache.axis2.mail;
//todo
import junit.framework.TestCase;
-import org.apache.axis.Constants;
-import org.apache.axis.addressing.AddressingConstants;
-import org.apache.axis.addressing.EndpointReference;
-import org.apache.axis.clientapi.AsyncResult;
-import org.apache.axis.clientapi.Callback;
-import org.apache.axis.context.ConfigurationContext;
-import org.apache.axis.context.ConfigurationContextFactory;
-import org.apache.axis.context.MessageContext;
-import org.apache.axis.context.ServiceContext;
-import org.apache.axis.description.*;
-import org.apache.axis.engine.AxisConfiguration;
-import org.apache.axis.engine.AxisFault;
-import org.apache.axis.engine.Echo;
-import org.apache.axis.engine.MessageReceiver;
-import org.apache.axis.om.*;
-import org.apache.axis.soap.SOAPEnvelope;
-import org.apache.axis.transport.mail.MailTransportSender;
-import org.apache.axis.transport.mail.SimpleMailListener;
-import org.apache.axis.transport.mail.server.MailConstants;
-import org.apache.axis.transport.mail.server.MailServer;
-import org.apache.axis.util.Utils;
+import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.clientapi.AsyncResult;
+import org.apache.axis2.clientapi.Callback;
+import org.apache.axis2.context.ConfigurationContext;
+import org.apache.axis2.context.ConfigurationContextFactory;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.ServiceContext;
+import org.apache.axis2.description.*;
+import org.apache.axis2.engine.AxisConfiguration;
+import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.engine.Echo;
+import org.apache.axis2.engine.MessageReceiver;
+import org.apache.axis2.om.*;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.transport.mail.MailTransportSender;
+import org.apache.axis2.transport.mail.SimpleMailListener;
+import org.apache.axis2.transport.mail.server.MailConstants;
+import org.apache.axis2.transport.mail.server.MailServer;
+import org.apache.axis2.util.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -120,7 +120,7 @@
Utils.resolvePhases(configContext.getAxisConfiguration(), service);
ServiceContext serviceContext = configContext.createServiceContext(serviceName);
- org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call(serviceContext);
+ org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call(serviceContext);
call.engageModule(new QName(Constants.MODULE_ADDRESSING));
call.setTo(targetEPR);
@@ -158,7 +158,7 @@
public ConfigurationContext createServerConfigurationContext() throws Exception {
ConfigurationContextFactory builder = new ConfigurationContextFactory();
ConfigurationContext configContext =
- builder.buildConfigurationContext(org.apache.axis.Constants.TESTING_REPOSITORY);
+ builder.buildConfigurationContext(org.apache.axis2.Constants.TESTING_REPOSITORY);
TransportInDescription transportIn =
new TransportInDescription(new QName(Constants.TRANSPORT_MAIL));
@@ -189,7 +189,7 @@
public ConfigurationContext createClientConfigurationContext() throws Exception {
ConfigurationContextFactory builder = new ConfigurationContextFactory();
ConfigurationContext configContext =
- builder.buildConfigurationContext(org.apache.axis.Constants.TESTING_REPOSITORY);
+ builder.buildConfigurationContext(org.apache.axis2.Constants.TESTING_REPOSITORY);
TransportInDescription transportIn =
new TransportInDescription(new QName(Constants.TRANSPORT_MAIL));