axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject svn commit: r208907 - in /webservices/axis/trunk/java: modules/core/src/org/apache/axis2/engine/ modules/core/src/org/apache/axis2/transport/tcp/ modules/samples/script/amazonQS/ modules/samples/script/googleSearch/ modules/samples/script/googleSpellch...
Date Sun, 03 Jul 2005 12:02:03 GMT
Author: hemapani
Date: Sun Jul  3 05:02:02 2005
New Revision: 208907

URL: http://svn.apache.org/viewcvs?rev=208907&view=rev
Log:
updates to docs and conver shell scripts M2->0.9

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/SOAPMessageBodyBasedDispatcher.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
    webservices/axis/trunk/java/modules/samples/script/amazonQS/run.bat
    webservices/axis/trunk/java/modules/samples/script/amazonQS/run.sh
    webservices/axis/trunk/java/modules/samples/script/googleSearch/run.bat
    webservices/axis/trunk/java/modules/samples/script/googleSearch/run.sh
    webservices/axis/trunk/java/modules/samples/script/googleSpellcheck/run.bat
    webservices/axis/trunk/java/modules/samples/script/googleSpellcheck/run.sh
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/TCPClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoBlockingClient.bat
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoBlockingDualClient.bat
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoNonBlockingClient.bat
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoNonBlockingDualClient.bat
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestPingClient.bat
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestWebServiceWithModuleClient.bat
    webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat
    webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat
    webservices/axis/trunk/java/modules/tool/script/http-server.bat
    webservices/axis/trunk/java/modules/tool/script/http-server.sh
    webservices/axis/trunk/java/modules/tool/script/tcp-server.bat
    webservices/axis/trunk/java/modules/tool/script/tcp-server.sh
    webservices/axis/trunk/java/xdocs/tcp-transport.html

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/SOAPMessageBodyBasedDispatcher.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/SOAPMessageBodyBasedDispatcher.java?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/SOAPMessageBodyBasedDispatcher.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/SOAPMessageBodyBasedDispatcher.java
Sun Jul  3 05:02:02 2005
@@ -22,6 +22,7 @@
 import org.apache.axis2.description.ServiceDescription;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
+import org.apache.axis2.util.Utils;
 
 import javax.xml.namespace.QName;
 
@@ -60,30 +61,22 @@
      */
     public ServiceDescription findService(MessageContext messageContext) throws AxisFault
{
         final String URI_ID_STRING = "/services";
-            OMElement bodyFirstChild = messageContext.getEnvelope().getBody().getFirstElement();
-            OMNamespace ns = bodyFirstChild.getNamespace();
-            if (ns != null) {
-                String filePart = ns.getName();
-
-                int index = filePart.lastIndexOf(URI_ID_STRING);
-                String serviceStr = null;
-                if (-1 != index) {
-                    serviceStr = filePart.substring(index + URI_ID_STRING.length() + 1);
-
-                    ConfigurationContext engineContext = messageContext.getSystemContext();
-
-                    if ((index = serviceStr.indexOf('/')) > 0) {
-                        serviceName = new QName(serviceStr.substring(0, index));
-                        operatoinName = new QName(serviceStr.substring(index + 1));
-                    } else {
-                        serviceName = new QName(serviceStr);
-                    }
-
-                    AxisConfiguration registry =
-                        messageContext.getSystemContext().getAxisConfiguration();
-                    return registry.getService(serviceName);
-                }
+        OMElement bodyFirstChild = messageContext.getEnvelope().getBody().getFirstElement();
+        OMNamespace ns = bodyFirstChild.getNamespace();
+        if (ns != null) {
+            String filePart = ns.getName();
+
+            String[] values = Utils.parseRequestURLForServiceAndOperation(filePart);
+            if (values[1] != null) {
+                operatoinName = new QName(values[1]);
+            }
+            if (values[0] != null) {
+                serviceName = new QName(values[0]);
+                AxisConfiguration registry =
+                    messageContext.getSystemContext().getAxisConfiguration();
+                return registry.getService(serviceName);
             }
+        }
         return null;
 
     }

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
Sun Jul  3 05:02:02 2005
@@ -52,9 +52,12 @@
             ConfigurationContextFactory erfac = new ConfigurationContextFactory();
             ConfigurationContext configContext = erfac.buildConfigurationContext(dir);
             this.configContext = configContext;
+            Thread.sleep(3000);
             serversocket = new ServerSocket(port);
         } catch (DeploymentException e1) {
             throw new AxisFault(e1);
+        } catch (InterruptedException e1) {
+            throw new AxisFault(e1);
         } catch (IOException e1) {
             throw new AxisFault(e1);
         }
@@ -92,7 +95,7 @@
     }
 
     public synchronized void start() throws AxisFault {
-        if(serversocket == null){
+        if (serversocket == null) {
             serversocket = ListenerManager.openSocket(port);
         }
         started = true;
@@ -133,9 +136,14 @@
     public static void main(String[] args) throws AxisFault, NumberFormatException {
         if (args.length != 2) {
             System.out.println("TCPServer repositoryLocation port");
-        }else{
-            TCPServer tcpServer = new TCPServer(Integer.parseInt(args[1]), args[0]);
-            System.out.println("[Axis2] Using the Repository " + new File(args[0]).getAbsolutePath());
+        } else {
+            File repository = new File(args[0]);
+            if(!repository.exists()){
+                System.out.print("Repository file does not exists .. initializing repository");
+            }
+            TCPServer tcpServer = new TCPServer(Integer.parseInt(args[1]), repository.getAbsolutePath());
+            System.out.println(
+                "[Axis2] Using the Repository " + repository.getAbsolutePath());
             System.out.println("[Axis2] Starting the TCP Server on port " + args[1]);
             tcpServer.start();
         }

Modified: webservices/axis/trunk/java/modules/samples/script/amazonQS/run.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/script/amazonQS/run.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/script/amazonQS/run.bat (original)
+++ webservices/axis/trunk/java/modules/samples/script/amazonQS/run.bat Sun Jul  3 05:02:02
2005
@@ -16,7 +16,7 @@
 set AXIS_HOME=%cd%
 
 :gotHome
-if EXIST "%AXIS_HOME%\lib\axis2-M2.jar" goto okHome
+if EXIST "%AXIS_HOME%\lib\axis2-0.9.jar" goto okHome
 echo The AXIS_HOME environment variable seems not to point to the correct location!
 echo This environment variable is needed to run this program
 pause
@@ -25,7 +25,20 @@
 :okHome
 cd %CURRENT_DIR%
 rem get the classes for the simple axis server
-set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-M2.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\log4j-1.2.8.jar";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+set AXIS2_CLASS_PATH="%AXIS_HOME%"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis2-0.9.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\log4j-1.2.8.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-activation-1.0.2-rc3.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar        
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar
+
 set AXIS2_CLASS_PATH=%AXIS2_CLASS_PATH%;"%CURRENT_DIR%\amazonQS.jar"
 start javaw -cp %AXIS2_CLASS_PATH% sample.amazon.amazonSimpleQueueService.RunGUICQ
 start javaw -cp %AXIS2_CLASS_PATH% sample.amazon.amazonSimpleQueueService.RunGUIRQ

Modified: webservices/axis/trunk/java/modules/samples/script/amazonQS/run.sh
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/script/amazonQS/run.sh?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/script/amazonQS/run.sh (original)
+++ webservices/axis/trunk/java/modules/samples/script/amazonQS/run.sh Sun Jul  3 05:02:02
2005
@@ -1,10 +1,15 @@
 export AXIS2_HOME=../..
-AXIS2_CLASSPATH=$AXIS2_HOME/lib/axis2-M2.jar
+AXIS2_CLASSPATH=$AXIS2_HOME/lib/axis2-0.9.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/axis-wsdl4j-1.2.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/commons-logging-1.0.3.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/log4j-1.2.8.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/stax-1.1.1-dev.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/stax-api-1.0.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/geronimo-spec-activation-1.0.2-rc3.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/axis-wsdl4j-1.2.jar        
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/geronimo-spec-javamail-1.3.1-rc3.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/xbean-2.0.0-beta1.jar
+
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:amazonQS.jar
 export AXIS2_CLASSPATH
 echo the classpath $AXIS2_CLASSPATH

Modified: webservices/axis/trunk/java/modules/samples/script/googleSearch/run.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/script/googleSearch/run.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/script/googleSearch/run.bat (original)
+++ webservices/axis/trunk/java/modules/samples/script/googleSearch/run.bat Sun Jul  3 05:02:02
2005
@@ -18,7 +18,7 @@
 echo using Axis Home %AXIS_HOME%
 
 :gotHome
-if EXIST "%AXIS_HOME%\lib\axis2-M2.jar" goto okHome
+if EXIST "%AXIS_HOME%\lib\axis2-0.9.jar" goto okHome
 echo The AXIS_HOME environment variable seems not to point to the correct loaction!
 echo This environment variable is needed to run this program
 pause
@@ -27,7 +27,20 @@
 :okHome
 rem set the classes
 cd %CURRENT_DIR%
-set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-M2.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\log4j-1.2.8.jar";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+set AXIS2_CLASS_PATH="%AXIS_HOME%"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis2-0.9.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\log4j-1.2.8.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-activation-1.0.2-rc3.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar        
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar
+
 set AXIS2_CLASS_PATH=%AXIS2_CLASS_PATH%;"%CURRENT_DIR%\googleSearch.jar"
 start javaw -cp %AXIS2_CLASS_PATH% sample.google.search.AsynchronousClient
 

Modified: webservices/axis/trunk/java/modules/samples/script/googleSearch/run.sh
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/script/googleSearch/run.sh?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/script/googleSearch/run.sh (original)
+++ webservices/axis/trunk/java/modules/samples/script/googleSearch/run.sh Sun Jul  3 05:02:02
2005
@@ -1,10 +1,14 @@
 export AXIS2_HOME=../..
-AXIS2_CLASSPATH=$AXIS2_HOME/lib/axis2-M2.jar
+AXIS2_CLASSPATH=$AXIS2_HOME/lib/axis2-0.9.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/axis-wsdl4j-1.2.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/commons-logging-1.0.3.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/log4j-1.2.8.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/stax-1.1.1-dev.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/stax-api-1.0.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/geronimo-spec-activation-1.0.2-rc3.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/axis-wsdl4j-1.2.jar        
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/geronimo-spec-javamail-1.3.1-rc3.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/xbean-2.0.0-beta1.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:googleSearch.jar
 export AXIS2_CLASSPATH
 echo the classpath $AXIS2_CLASSPATH

Modified: webservices/axis/trunk/java/modules/samples/script/googleSpellcheck/run.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/script/googleSpellcheck/run.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/script/googleSpellcheck/run.bat (original)
+++ webservices/axis/trunk/java/modules/samples/script/googleSpellcheck/run.bat Sun Jul  3
05:02:02 2005
@@ -19,7 +19,7 @@
 
 
 :gotHome
-if EXIST "%AXIS_HOME%\lib\axis2-M2.jar" goto okHome
+if EXIST "%AXIS_HOME%\lib\axis2-0.9.jar" goto okHome
 echo The AXIS_HOME environment variable seems not to point to the correct loaction!
 echo This environment variable is needed to run this program
 pause
@@ -28,7 +28,20 @@
 :okHome
 cd %CURRENT_DIR%
 rem get the classes
-set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-M2.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\log4j-1.2.8.jar";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+set AXIS2_CLASS_PATH="%AXIS_HOME%"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis2-0.9.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\log4j-1.2.8.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-activation-1.0.2-rc3.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar        
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar
+
 set AXIS2_CLASS_PATH=%AXIS2_CLASS_PATH%;"%CURRENT_DIR%\googleSpellcheck.jar"
 start javaw -cp %AXIS2_CLASS_PATH% sample.google.spellcheck.SuggestionForm
 

Modified: webservices/axis/trunk/java/modules/samples/script/googleSpellcheck/run.sh
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/script/googleSpellcheck/run.sh?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/script/googleSpellcheck/run.sh (original)
+++ webservices/axis/trunk/java/modules/samples/script/googleSpellcheck/run.sh Sun Jul  3
05:02:02 2005
@@ -1,10 +1,14 @@
 export AXIS2_HOME=../..
-AXIS2_CLASSPATH=$AXIS2_HOME/lib/axis2-M2.jar
+AXIS2_CLASSPATH=$AXIS2_HOME/lib/axis2-0.9.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/axis-wsdl4j-1.2.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/commons-logging-1.0.3.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/log4j-1.2.8.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/stax-1.1.1-dev.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/stax-api-1.0.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/geronimo-spec-activation-1.0.2-rc3.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/axis-wsdl4j-1.2.jar        
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/geronimo-spec-javamail-1.3.1-rc3.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$AXIS2_HOME/lib/xbean-2.0.0-beta1.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:googleSpellcheck.jar
 export AXIS2_CLASSPATH
 echo the classpath $AXIS2_CLASSPATH

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/TCPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/TCPClient.java?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/TCPClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/TCPClient.java Sun Jul
 3 05:02:02 2005
@@ -40,7 +40,7 @@
 			Call  call = new Call();
 			call.setTo(new EndpointReference(AddressingConstants.WSA_TO,toEpr));
 			call.setTransportInfo(Constants.TRANSPORT_TCP,Constants.TRANSPORT_TCP,false);
-			call.engageModule(new QName(Constants.MODULE_ADDRESSING));
+			//call.engageModule(new QName(Constants.MODULE_ADDRESSING));
 			
 			OMElement result = call.invokeBlocking("echo", getPayload());
 		
@@ -59,7 +59,7 @@
 	private static OMElement getPayload() {
 		OMFactory fac = OMAbstractFactory.getOMFactory();
 		OMNamespace omNs = fac.createOMNamespace(
-				"http://example1.org/example1", "example1");
+				"tcp://localhost:8080/axis2/services/MyService", "example1");
 		OMElement method = fac.createOMElement("echo", omNs);
 		OMElement value = fac.createOMElement("Text", omNs);
 		value.addChild(fac.createText(value, "Axis2 Echo String "));

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoBlockingClient.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoBlockingClient.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoBlockingClient.bat
(original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoBlockingClient.bat
Sun Jul  3 05:02:02 2005
@@ -1,10 +1,16 @@
 @echo off
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis2-M2.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-api-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-1.1.1-dev.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/log4j-1.2.8.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-logging-1.0.3.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-fileupload-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis-wsdl4j-1.2.jar
-set CLASSPATH=%CLASSPATH%;../../../../sample.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis2-0.9.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-1.1.1-dev.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\log4j-1.2.8.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-logging-1.0.3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-fileupload-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-activation-1.0.2-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar        
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\xbean-2.0.0-beta1.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\sample.jar
+
 java userguide.clients.EchoBlockingClient

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoBlockingDualClient.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoBlockingDualClient.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoBlockingDualClient.bat
(original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoBlockingDualClient.bat
Sun Jul  3 05:02:02 2005
@@ -1,10 +1,16 @@
 @echo off
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis2-M2.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-api-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-1.1.1-dev.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/log4j-1.2.8.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-logging-1.0.3.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-fileupload-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis-wsdl4j-1.2.jar
-set CLASSPATH=%CLASSPATH%;../../../../sample.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis2-0.9.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-1.1.1-dev.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\log4j-1.2.8.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-logging-1.0.3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-fileupload-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-activation-1.0.2-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar        
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\xbean-2.0.0-beta1.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\sample.jar
+
 java userguide.clients.EchoBlockingDualClient

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoNonBlockingClient.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoNonBlockingClient.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoNonBlockingClient.bat
(original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoNonBlockingClient.bat
Sun Jul  3 05:02:02 2005
@@ -1,10 +1,16 @@
 @echo off
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis2-M2.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-api-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-1.1.1-dev.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/log4j-1.2.8.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-logging-1.0.3.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-fileupload-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis-wsdl4j-1.2.jar
-set CLASSPATH=%CLASSPATH%;../../../../sample.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis2-0.9.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-1.1.1-dev.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\log4j-1.2.8.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-logging-1.0.3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-fileupload-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-activation-1.0.2-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar        
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\xbean-2.0.0-beta1.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\sample.jar
+
 java userguide.clients.EchoNonBlockingClient

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoNonBlockingDualClient.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoNonBlockingDualClient.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoNonBlockingDualClient.bat
(original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestEchoNonBlockingDualClient.bat
Sun Jul  3 05:02:02 2005
@@ -1,10 +1,16 @@
 @echo off
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis2-M2.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-api-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-1.1.1-dev.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/log4j-1.2.8.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-logging-1.0.3.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-fileupload-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis-wsdl4j-1.2.jar
-set CLASSPATH=%CLASSPATH%;../../../../sample.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis20.9.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-1.1.1-dev.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\log4j-1.2.8.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-logging-1.0.3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-fileupload-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-activation-1.0.2-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar        
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\xbean-2.0.0-beta1.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\sample.jar
+
 java userguide.clients.EchoNonBlockingDualClient

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestPingClient.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestPingClient.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestPingClient.bat
(original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestPingClient.bat
Sun Jul  3 05:02:02 2005
@@ -1,10 +1,15 @@
 @echo off
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis2-M2.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-api-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-1.1.1-dev.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/log4j-1.2.8.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-logging-1.0.3.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-fileupload-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis-wsdl4j-1.2.jar
-set CLASSPATH=%CLASSPATH%;../../../../sample.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis2-0.9.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-1.1.1-dev.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\log4j-1.2.8.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-logging-1.0.3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-fileupload-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-activation-1.0.2-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar        
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\xbean-2.0.0-beta1.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\sample.jar
 java userguide.clients.PingClient

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestWebServiceWithModuleClient.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestWebServiceWithModuleClient.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestWebServiceWithModuleClient.bat
(original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/bin/TestWebServiceWithModuleClient.bat
Sun Jul  3 05:02:02 2005
@@ -1,10 +1,15 @@
 @echo off
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis2-M2.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-api-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/stax-1.1.1-dev.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/log4j-1.2.8.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-logging-1.0.3.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/commons-fileupload-1.0.jar
-set CLASSPATH=%CLASSPATH%;../../../../../../lib/axis-wsdl4j-1.2.jar
-set CLASSPATH=%CLASSPATH%;../../../../sample.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis2-0.9.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-1.1.1-dev.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\log4j-1.2.8.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-logging-1.0.3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\commons-fileupload-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-activation-1.0.2-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\axis-wsdl4j-1.2.jar        
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\xbean-2.0.0-beta1.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\..\..\lib\stax-api-1.0.jar
+set CLASSPATH=%CLASSPATH%;..\..\..\..\sample.jar
 java userguide.clients.ClientForWebServiceWithModule

Modified: webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat (original)
+++ webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat Sun Jul  3 05:02:02 2005
@@ -11,7 +11,7 @@
 set AXIS_HOME=%cd%
 
 :gotHome
-if EXIST "%AXIS_HOME%\lib\axis2-M2.jar" goto okHome
+if EXIST "%AXIS_HOME%\lib\axis2-0.9.jar" goto okHome
 echo The AXIS_HOME environment variable seems not to point to the correct location!
 echo This environment variable is needed to run this program
 pause
@@ -19,7 +19,19 @@
 
 :okHome
 rem set the classes
-set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-M2.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\log4j-1.2.8.jar";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+set AXIS2_CLASS_PATH="%AXIS_HOME%"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis2-M2.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\log4j-1.2.8.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-activation-1.0.2-rc3.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar        
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar
 
 java -cp %AXIS2_CLASS_PATH% org.apache.axis2.wsdl.WSDL2Code %1 %2 %3 %4 %5 %6 %7 %8 %9 
 

Modified: webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat (original)
+++ webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat Sun Jul  3 05:02:02 2005
@@ -19,7 +19,19 @@
 
 :okHome
 rem set the classes
-set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-M2.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar";"%AXIS_HOME%\lib\log4j-1.2.8.jar";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+set AXIS2_CLASS_PATH="%AXIS_HOME%"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis2-M2.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\log4j-1.2.8.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-activation-1.0.2-rc3.jar
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar        
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar
 
 java -cp %AXIS2_CLASS_PATH% org.apache.axis2.wsdl.WSDL2Java %1 %2 %3 %4 %5 %6 %7 %8 %9
 

Modified: webservices/axis/trunk/java/modules/tool/script/http-server.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/http-server.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/http-server.bat (original)
+++ webservices/axis/trunk/java/modules/tool/script/http-server.bat Sun Jul  3 05:02:02 2005
@@ -4,7 +4,36 @@
 rem
 rem ---------------------------------------------------------------------------
 
-rem get the classes for the simple axis server
-set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-M2.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\log4j-1.2.8.jar";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+rem Guess AXIS_HOME if not defined
+if not "%AXIS_HOME%" == "" goto gotHome
+cd ..
+set AXIS_HOME=%cd%
+
+:gotHome
+if EXIST "%AXIS_HOME%\lib\axis2-0.9.jar" goto okHome
+echo The AXIS_HOME environment variable seems not to point to the correct location!
+echo This environment variable is needed to run this program
+pause
+exit
+
+:okHome
+rem set the classes
+set AXIS2_CLASS_PATH="%AXIS_HOME%"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis2-0.9.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\log4j-1.2.8.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-activation-1.0.2-rc3.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar        
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar
+set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar
 
 java -cp %AXIS2_CLASS_PATH% org.apache.axis2.transport.http.SimpleHTTPServer %1 %2
+
+:end
+
+

Modified: webservices/axis/trunk/java/modules/tool/script/http-server.sh
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/http-server.sh?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/http-server.sh (original)
+++ webservices/axis/trunk/java/modules/tool/script/http-server.sh Sun Jul  3 05:02:02 2005
@@ -1,18 +1,17 @@
 #!/bin/sh
 
-#if [ $AXIS_HOME =  ]:then
-#   echo $AXIS_HOME not set
-#   $AXIS_HOME=`dirname ..`
-#   echo $AXIS_HOME
-#fi
-
 cd ..
-AXIS2_CLASSPATH=./lib/axis2-M2.jar
+AXIS2_CLASSPATH=./lib/axis2-0.9.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/axis-wsdl4j-1.2.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/commons-logging-1.0.3.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/log4j-1.2.8.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/stax-1.1.1-dev.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/geronimo-spec-activation-1.0.2-rc3.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/axis-wsdl4j-1.2.jar        
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/geronimo-spec-javamail-1.3.1-rc3.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/xbean-2.0.0-beta1.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/stax-api-1.0.jar
+
 export AXIS2_CLASSPATH
 echo the classpath $AXIS2_CLASSPATH
 java -classpath $AXIS2_CLASSPATH org.apache.axis2.transport.http.SimpleHTTPServer $1 $2

Modified: webservices/axis/trunk/java/modules/tool/script/tcp-server.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/tcp-server.bat?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/tcp-server.bat (original)
+++ webservices/axis/trunk/java/modules/tool/script/tcp-server.bat Sun Jul  3 05:02:02 2005
@@ -5,6 +5,18 @@
 rem ---------------------------------------------------------------------------
 
 rem get the classes for the simple axis server
-set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-M2.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2-RC1.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\log4j-1.2.8.jar";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+set AXIS2_CLASS_PATH="%AXIS_HOME%"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis2-M2.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\log4j-1.2.8.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-activation-1.0.2-rc3.jar
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar        
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-javamail-1.3.1-rc3.jar
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar
+AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar
 
 java -cp %AXIS2_CLASS_PATH% org.apache.axis2.transport.tcp.TCPServer %1 %2

Modified: webservices/axis/trunk/java/modules/tool/script/tcp-server.sh
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/tcp-server.sh?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/tcp-server.sh (original)
+++ webservices/axis/trunk/java/modules/tool/script/tcp-server.sh Sun Jul  3 05:02:02 2005
@@ -1,12 +1,18 @@
 #!/bin/sh
 
 cd ..
-AXIS2_CLASSPATH=./lib/axis2-M2.jar
+AXIS2_CLASSPATH=./lib/axis2-0.9.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/axis-wsdl4j-1.2.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/commons-logging-1.0.3.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/log4j-1.2.8.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/stax-1.1.1-dev.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/geronimo-spec-activation-1.0.2-rc3.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/axis-wsdl4j-1.2.jar        
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/geronimo-spec-javamail-1.3.1-rc3.jar
+AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/xbean-2.0.0-beta1.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/stax-api-1.0.jar
+
+
 export AXIS2_CLASSPATH
 echo the classpath $AXIS2_CLASSPATH
 java -classpath $AXIS2_CLASSPATH org.apache.axis2.transport.tcp.TCPServer  $1 $2

Modified: webservices/axis/trunk/java/xdocs/tcp-transport.html
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/xdocs/tcp-transport.html?rev=208907&r1=208906&r2=208907&view=diff
==============================================================================
--- webservices/axis/trunk/java/xdocs/tcp-transport.html (original)
+++ webservices/axis/trunk/java/xdocs/tcp-transport.html Sun Jul  3 05:02:02 2005
@@ -45,7 +45,7 @@
 Parameter is of the type <a href="faq.html#a2">OMElement</a>, the XML represntation
of Axis2.</p>
 
 <h2>Sample</h2>
-<p>Sample for a TCP Client can be found from the samples/userguide/clients/TCPClient.java
in the binary distribution, this accsess the same web service explained in the 
+<p>Sample for a TCP Client can be found from the samples/userguide/src/userguide/clients/TCPClient.java
in the binary distribution, this accsess the same web service explained in the 
 userguide. To try the client first starts the TCPServer with the same repository used for
the userguide samples. Since sample is already deployed in the 
 repository while trying the userguide it will be automatically avalible.</p>
 



Mime
View raw message