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 aj...@apache.org on 2005/02/22 16:08:34 UTC

svn commit: r154856 - in webservices/axis/trunk/java/modules/samples: project.xml src/java/org/apache/axis/testUtils/SimpleTypeEncodingUtils.java src/test/interop/doclit/InteropStubTest.java

Author: ajith
Date: Tue Feb 22 07:08:31 2005
New Revision: 154856

URL: http://svn.apache.org/viewcvs?view=rev&rev=154856
Log:
Updated the maven project to exclude the interop test. Since this includes HTTP calls to the interop sites, offline users will be unable to build!!!

Modified:
    webservices/axis/trunk/java/modules/samples/project.xml
    webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncodingUtils.java
    webservices/axis/trunk/java/modules/samples/src/test/interop/doclit/InteropStubTest.java

Modified: webservices/axis/trunk/java/modules/samples/project.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/project.xml?view=diff&r1=154855&r2=154856
==============================================================================
--- webservices/axis/trunk/java/modules/samples/project.xml (original)
+++ webservices/axis/trunk/java/modules/samples/project.xml Tue Feb 22 07:08:31 2005
@@ -102,8 +102,62 @@
             </properties>
 		<url>http://dist.codehaus.org/stax/jars/</url>
         </dependency>
+    </dependencies>
 
+    <!-- build information for the project -->
+  <build>
+    <nagEmailAddress>axis-dev@ws.apache.org</nagEmailAddress>
+    <sourceDirectory>src/java</sourceDirectory>
+    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
 
+    <unitTest>
+
+      <excludes>
+        <exclude>**/*Abstract*.java</exclude>
+	    <exclude>**/*Util*.java</exclude>
+		<exclude>**/*InteropStubTest.java</exclude>
+		<!-- <exclude>**/*TransportDeploymentTest.java</exclude>  -->
+		<!-- <exclude>**/*BuildERWithDeploymentTest.java</exclude>  -->
+      </excludes>
+     <includes>
+        <include>**/*Test.java</include>
+      </includes>
+
+     <resources>
+         <resource>
+             <directory>${basedir}/src/test-resources</directory>
+          </resource>
+          <resource>
+        	<directory>conf</directory>
+       			 <includes>
+          			<include>**/*.properties</include>
+        		</includes>
+      </resource>
+      <resource>
+        <directory>src/java</directory>
+        <includes>
+          	<include>**/*.properties</include>
+          	<include>**/*.xml</include>
+        </includes>
+      </resource>
+     </resources>
+    </unitTest>
+
+    <resources>
+      <resource>
+        <directory>conf</directory>
+        <includes>
+          <include>**/*.properties</include>
+        </includes>
+      </resource>
+      <resource>
+        <directory>src/java</directory>
+        <includes>
+          <include>**/*.properties</include>
+          <include>**/*.xml</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
 
-    </dependencies>
 </project>

Modified: webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncodingUtils.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncodingUtils.java?view=diff&r1=154855&r2=154856
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncodingUtils.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncodingUtils.java Tue Feb 22 07:08:31 2005
@@ -96,13 +96,11 @@
                 event = xpp.next();
             }
             event = xpp.next();
-            System.out.println("Element name    ----" + xpp.getLocalName());
             while (XMLStreamConstants.END_ELEMENT != event) {
                 if (XMLStreamConstants.CHARACTERS == event && !xpp.isWhiteSpace()) {
                     value = xpp.getText();
                 }
                 event = xpp.next();
-                System.out.println("Element name    ----" + xpp.getLocalName());
             }
         } catch (XMLStreamException e) {
             throw AxisFault.makeFault(e);

Modified: webservices/axis/trunk/java/modules/samples/src/test/interop/doclit/InteropStubTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/test/interop/doclit/InteropStubTest.java?view=diff&r1=154855&r2=154856
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/test/interop/doclit/InteropStubTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/test/interop/doclit/InteropStubTest.java Tue Feb 22 07:08:31 2005
@@ -21,8 +21,7 @@
 */
 public class InteropStubTest extends TestCase{
 
-//    private static String ASP_NET_ENDPOINT = "http://mssoapinterop.org/asmx/wsdl/InteropTestDocLit.asmx";
-    private static String ASP_NET_ENDPOINT = "http://localhost:8081/asmx/wsdl/InteropTestDocLit.asmx";
+    private static String ASP_NET_ENDPOINT = "http://mssoapinterop.org/asmx/wsdl/InteropTestDocLit.asmx";
     private static String OPENLINK_ENDPOINT = "http://demo.openlinksw.com/r3/DocLit";
 
 
@@ -65,13 +64,15 @@
     }
 
     public void testASPEndPoint(){
-//       testEchoString(ASP_NET_ENDPOINT,"\"http://soapinterop.org/\"");
-//        testEchoStringArray(ASP_NET_ENDPOINT,"\"http://soapinterop.org/\"");
+        testEchoString(ASP_NET_ENDPOINT,"\"http://soapinterop.org/\"");
+        testEchoStringArray(ASP_NET_ENDPOINT,"\"http://soapinterop.org/\"");
         testEchoStruct(ASP_NET_ENDPOINT,"\"http://soapinterop.org/\"");
 
     }
     public void testOpenlinkEndPoint(){
         testEchoString(OPENLINK_ENDPOINT,null);
+        testEchoStringArray(OPENLINK_ENDPOINT,null);
+        testEchoStruct(OPENLINK_ENDPOINT,null);
 
     }