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 di...@apache.org on 2001/10/25 13:41:50 UTC

cvs commit: xml-axis/java/test/wsdl Wsdl2javaTestSuite.xml

dims        01/10/25 04:41:50

  Modified:    java/src/org/apache/axis/wsdl Emitter.java
               java/test build_functional_tests.xml
               java/test/wsdl Wsdl2javaTestSuite.xml
  Log:
  Got "functional-tests" working in my environment. Need to figure out the problem Russell has with finding the Wsdl2javaAntTask.
  
  Revision  Changes    Path
  1.78      +4 -1      xml-axis/java/src/org/apache/axis/wsdl/Emitter.java
  
  Index: Emitter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/Emitter.java,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- Emitter.java	2001/10/24 18:45:56	1.77
  +++ Emitter.java	2001/10/25 11:41:50	1.78
  @@ -1885,7 +1885,10 @@
        */
       private PrintWriter printWriter(QName qname, String suffix, String extension, String message) throws IOException
       {
  -        String name = Utils.capitalize(xmlNameToJava(qname.getLocalPart()));
  +        String name = qname.getLocalPart();
  +        // Don't capitalize for deploy.xml and undeploy.xml
  +        if(name.indexOf("deploy")==-1)
  +            name = Utils.capitalize(xmlNameToJava(name));
           String fileName = name + (suffix == null ? "" : suffix) + '.' + extension;
           String packageName = namespaces.getCreate(qname.getNamespaceURI());
           String packageDirName = namespaces.toDir(packageName);
  
  
  
  1.16      +4 -1      xml-axis/java/test/build_functional_tests.xml
  
  Index: build_functional_tests.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/build_functional_tests.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- build_functional_tests.xml	2001/10/24 18:20:39	1.15
  +++ build_functional_tests.xml	2001/10/25 11:41:50	1.16
  @@ -70,7 +70,7 @@
   
       <!--...not to mention the sample user list -->
       <copy file="samples/stock/users.lst" todir="build"/>
  -
  +    
       <java classname="org.apache.axis.client.AdminClient" fork="yes">
         <classpath refid="test-classpath" />
         <arg line="${deploy.xml.property}"/>
  @@ -127,6 +127,9 @@
         </fileset>
         <fileset dir="${samples.dir}">
           <include name="**/*TestCase.java"/>
  +      </fileset>
  +      <fileset dir="${samples.dir}">
  +        <include name="**/Main.java"/>
         </fileset>
       </copy>
       <path id="deploy.xml.files">
  
  
  
  1.3       +1 -1      xml-axis/java/test/wsdl/Wsdl2javaTestSuite.xml
  
  Index: Wsdl2javaTestSuite.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/Wsdl2javaTestSuite.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Wsdl2javaTestSuite.xml	2001/10/24 21:17:08	1.2
  +++ Wsdl2javaTestSuite.xml	2001/10/25 11:41:50	1.3
  @@ -15,12 +15,12 @@
                  testcase="no">
           <mapping namespace="http://www.ibm.com/inout" package="test.inout"/>
       </wsdl2java>
  -    <!--
       <wsdl2java url="http://www.whitemesa.com/interop/InteropTest.wsdl"
                  output="build/work"
                  testcase="no">
           <mapping namespace="http://soapinterop.org/" package="soap.interop"/>
       </wsdl2java>
  +    <!--
       <wsdl2java url="http://www.whitemesa.com/interop/InteropTestB.wsdl"
                  output="build/work"
                  testcase="no">