axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seib...@apache.org
Subject cvs commit: xml-axis/java/test/wsdl/ram buildComponent.xml
Date Fri, 02 Aug 2002 18:42:38 GMT
seibert     2002/08/02 11:42:38

  Added:       java/test/wsdl/addrNoImplSEI buildComponent.xml
               java/test/wsdl/attachments buildComponent.xml
               java/test/wsdl/echo buildComponent.xml
               java/test/wsdl/extensibility buildComponent.xml
               java/test/wsdl/getPort buildComponent.xml
               java/test/wsdl/include buildComponent.xml
               java/test/wsdl/literal buildComponent.xml
               java/test/wsdl/polymorphism buildComponent.xml
               java/test/wsdl/qualify buildComponent.xml
               java/test/wsdl/qualify2 buildComponent.xml
               java/test/wsdl/ram buildComponent.xml
  Log:
  New Test component files
  
  Revision  Changes    Path
  1.1                  xml-axis/java/test/wsdl/addrNoImplSEI/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  <?xml version="1.0" ?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
          <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
          <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
  ]>
  
  <!-- ===================================================================
  ==================================================================== -->
  
  <project default="compile">
  
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
  
  <target name="clean"/>
  
  <target name="copy"/>
  
  <target name="compile" depends="copy">
    <echo message="Compilig test.wsdl.addrNoImplSEI"/>
  
      <delete dir="${build.dir}/classes/test/wsdl/addrNoImplSEI"/>
      <delete dir="${build.dir}/work/test/wsdl/addrNoImplSEI"/>
      <wsdl2java url="test/wsdl/addrNoImplSEI/AddressBook.wsdl"
                 output="build/work"
                 deployscope="session"
                 serverSide="yes"
                 skeletonDeploy="no"
                 noimports="no"
                 verbose="no"
                 typeMappingVersion="1.1"
                 testcase="no">
          <mapping namespace="urn:AddrNoImplSEI" package="test.wsdl.addrNoImplSEI"/>
      </wsdl2java>
  
      <!-- Copy over original classes -->
      <copy todir="${build.dir}/work/test/wsdl/addrNoImplSEI" overwrite="yes">
        <fileset dir="${test.dir}/wsdl/addrNoImplSEI">
          <include name="*.java"/>
        </fileset>
      </copy>
  
      <!-- Compile the Web Service -->
      <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/addrNoImplSEI/**.java" />
        <exclude name="test/wsdl/addrNoImplSEI/*TestCase.java" />
        <exclude name="test/wsdl/addrNoImplSEI/Main.java" />
      </javac>
  
      <!-- Now run java to wsdl to make sure we don't have any strange artifacts -->
      <java2wsdl output="build/work/test/wsdl/addrNoImplSEI/AddressBook.wsdl"
                 className= "test.wsdl.addrNoImplSEI.AddressBookNoImplSEISoapBindingImpl"
                 useInheritedMethods="false"
                 portTypeName="AddressBookNoImplSEI"
                 namespace="http://addrNoImplSEI.wsdl.test"
                 location="http://localhost:8080/axis/services/AddressBookNoImplSEI">
          <mapping namespace="urn:AddrNoImplSEI" package="test.wsdl.addrNoImplSEI"/>
      </java2wsdl>
  
      <!-- Now run wsdl to java to make sure we don't have any strange artifacts -->
      <wsdl2java url="build/work/test/wsdl/addrNoImplSEI/AddressBook.wsdl"
                 output="build/work"
                 deployscope="session"
                 serverSide="yes"
                 skeletonDeploy="no"
                 noimports="no"
                 verbose="no"
                 typeMappingVersion="1.1"
                 testcase="no">
          <mapping namespace="urn:AddrNoImplSEI" package="test.wsdl.addrNoImplSEI"/>
      </wsdl2java>
      <!-- Copy over original classes -->
      <copy todir="${build.dir}/work/test/wsdl/addrNoImplSEI" overwrite="yes">
        <fileset dir="${test.dir}/wsdl/addrNoImplSEI">
          <include name="*.java"/>
        </fileset>
      </copy>
  
      <javac srcdir="." destdir="${build.dest}"
             debug="${debug}">
        <include name="test/wsdl/addrNoImplSEI/*.java" />
      </javac>
  
  </target>
  
  <target name="deploy"/>
  
  <target name="run"  depends="compile" />
  
  <target name="undeploy"/>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/attachments/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  <?xml version="1.0" ?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
          <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
          <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
  ]>
  
  <!-- ===================================================================
  ==================================================================== -->
  
  <project default="compile">
  
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
  
  <target name="clean"/>
  
  <target name="copy"/>
  
  <target name="compile" depends="copy">
    <echo message="Compilig test.wsdl.attachements"/>
      <wsdl2java url="test/wsdl/attachments/mime.wsdl"
                 output="build/work"
                 serverSide="yes"
                 skeletonDeploy="yes"
                 testcase="yes">
      </wsdl2java>
  
      <javac srcdir="${build.dir}/work" destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/attachments/*.java" />
      </javac>
  
  </target>
  
  <target name="deploy"/>
  
  <target name="run"  depends="compile" />
  
  <target name="undeploy"/>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/echo/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  <?xml version="1.0" ?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
          <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
          <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
  ]>
  
  <!-- ===================================================================
  ==================================================================== -->
  
  <project default="compile">
  
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
  
  <target name="clean"/>
  
  <target name="copy"/>
  
  <target name="compile" depends="copy">
    <echo message="Compilig test.wsdl.echo"/>
      <!-- This tests holders for complextype Bug:10247 -->
      <wsdl2java url="test/wsdl/echo/echo.wsdl"
                 output="build/work"
                 serverSide="yes"
                 testcase="yes">
          <mapping namespace="http://echo.services" package="test.wsdl.echo"/>
          <mapping namespace="http://types.echo.services" package="test.wsdl.echo"/>
      </wsdl2java>
  
      <javac srcdir="${build.dir}/work" destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/echo/*.java" />
      </javac>
  
      <javac srcdir="." destdir="${build.dest}"
             debug="${debug}">
        <include name="test/wsdl/echo/*.java" />
      </javac>
  </target>
  
  <target name="deploy"/>
  
  <target name="run"  depends="compile" />
  
  <target name="undeploy"/>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/extensibility/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  <?xml version="1.0" ?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
          <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
          <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
  ]>
  
  <!-- ===================================================================
  ==================================================================== -->
  
  <project default="compile">
  
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
  
  <target name="clean"/>
  
  <target name="copy"/>
  
  <target name="compile" depends="copy">
    <echo message="Compilig test.wsdl.extensibility"/>
      <!-- Extensibility Sample Test -->
      <wsdl2java url="test/wsdl/extensibility/QueryTypes.wsdl"
                 output="build/work"
                 deployscope="session"
                 serverSide="no"
                 skeletonDeploy="no"
                 testcase="no">
          <mapping namespace="urn:QueryTypes" package="test.wsdl.extensibility"/>
      </wsdl2java>
      <wsdl2java url="test/wsdl/extensibility/ExtensibilityQuery.wsdl"
                 output="build/work"
                 deployscope="session"
                 serverSide="yes"
                 skeletonDeploy="yes"
                 testcase="yes">
          <mapping namespace="urn:ExtensibilityQuery" package="test.wsdl.extensibility"/>
      </wsdl2java>
  
      <javac srcdir="${build.dir}/work" destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/extensibility/*.java" />
      </javac>
  
      <javac srcdir="." destdir="${build.dest}"
             debug="${debug}">
        <include name="test/wsdl/extensibility/*.java" />
      </javac>
  </target>
  
  <target name="deploy"/>
  
  <target name="run"  depends="compile" />
  
  <target name="undeploy"/>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/getPort/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  <?xml version="1.0" ?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
          <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
          <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
  ]>
  
  <!-- ===================================================================
  ==================================================================== -->
  
  <project default="compile">
  
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
  
  <target name="clean"/>
  
  <target name="copy"/>
  
  <target name="compile" depends="copy">
    <echo message="Compilig test.wsdl.getPort"/>
      <!-- This tests the getPort method in generated services.  -->
      <wsdl2java url="test/wsdl/getPort/getPort.wsdl"
                 output="build/work"
                 serverSide="yes"
                 testcase="no">
      </wsdl2java>
  
      <javac srcdir="${build.dir}/work" destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/getPort/*.java" />
      </javac>
  
      <javac srcdir="." destdir="${build.dest}"
             debug="${debug}">
        <include name="test/wsdl/getPort/*.java" />
      </javac>
  </target>
  
  <target name="deploy"/>
  
  <target name="run"  depends="compile" />
  
  <target name="undeploy"/>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/include/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  <?xml version="1.0" ?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
          <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
          <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
  ]>
  
  <!-- ===================================================================
  ==================================================================== -->
  
  <project default="compile">
  
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
  
  <target name="clean"/>
  
  <target name="copy"/>
  
  <target name="compile" depends="copy">
    <echo message="Compilig test.wsdl.include"/>
      <!-- Include test -->
      <wsdl2java url="test/wsdl/include/AddressBook.wsdl"
                 output="build/work"
                 serverSide="yes"
                 skeletonDeploy="yes"
                 testcase="yes">
          <mapping namespace="urn:AddressFetcher2" package="test.wsdl.include"/>
      </wsdl2java>
  
      <javac srcdir="${build.dir}/work" destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/include/*.java" />
      </javac>
  
      <javac srcdir="." destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/ram/*.java" />
        <include name="test/wsdl/ram/**/*.java" />
      </javac>
  
  </target>
  
  <target name="deploy"/>
  
  <target name="run"  depends="compile" />
  
  <target name="undeploy"/>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/literal/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  <?xml version="1.0" ?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
          <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
          <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
  ]>
  
  <!-- ===================================================================
  ==================================================================== -->
  
  <project default="compile">
  
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
  
  <target name="clean"/>
  
  <target name="copy"/>
  
  <target name="compile" depends="copy">
    <echo message="Compilig test.wsdl.literal"/>
  
      <!-- This tests .NET document/literal WSDL.
           We get this WSDL file from the internet on purpose,
           file is only for reference.
      <wsdl2java url="test/wsdl/literal/SalesRankNPrice.wsdl"
      -->
      <!-- NOTE:  THIS DOMAIN HAS EXPIRED!  If it comes back,
           we can add this test back in.
      <wsdl2java url="http://www.perfectxml.net/WebServices/SalesRankNPrice/BookService.asmx?WSDL"
                 output="build/work"
                 verbose="no"
                 serverSide="no"
                 testcase="no">
          <mapping namespace="http://www.PerfectXML.com/NETWebSvcs/BookService" package="test.wsdl.literal"/>
      </wsdl2java>
      -->
  
      <javac srcdir="${build.dir}/work" destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/literal/*.java" />
      </javac>
  
      <javac srcdir="." destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/literal/*.java" />
      </javac>
  
  </target>
  
  <target name="deploy"/>
  
  <target name="run"  depends="compile" />
  
  <target name="undeploy"/>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/polymorphism/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  <?xml version="1.0" ?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
          <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
          <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
  ]>
  
  <!-- ===================================================================
  ==================================================================== -->
  
  <project default="compile">
  
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
  
  <target name="clean"/>
  
  <target name="copy"/>
  
  <target name="compile" depends="copy">
    <echo message="Compilig test.wsdl.polymorphism"/>
      <!-- This tests polymorphism of return values -->
        <wsdl2java url="test/wsdl/polymorphism/polymorphism.wsdl"
                   output="build/work"
                   serverSide="yes"
                   testcase="yes">
            <mapping namespace="http://xml.apache.org/axis/PolymorphismTest"
                package="test.wsdl.polymorphism"/>
        </wsdl2java>
        <copy todir="${build.dir}/work/test/wsdl/polymorphism" overwrite="yes">
          <fileset dir="${test.dir}/wsdl/polymorphism">
            <include name="C.java"/>
          </fileset>
        </copy>
  
      <javac srcdir="${build.dir}/work" destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/polymorphism/*.java" />
      </javac>
  
      <javac srcdir="." destdir="${build.dest}"
             debug="${debug}">
        <include name="test/wsdl/polymorphism/*.java" />
      </javac>
  </target>
  
  <target name="deploy"/>
  
  <target name="run"  depends="compile" />
  
  <target name="undeploy"/>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/qualify/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  <?xml version="1.0" ?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
          <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
          <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
  ]>
  
  <!-- ===================================================================
  ==================================================================== -->
  
  <project default="compile">
  
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
  
  <target name="clean"/>
  
  <target name="copy"/>
  
  <target name="compile" depends="copy">
    <echo message="Compilig test.wsdl.qualify"/>
      <!-- This tests element qualification.  -->
      <wsdl2java url="test/wsdl/qualify/qualifytest.wsdl"
                 output="build/work"
                 serverSide="yes"
                 testcase="no">
          <mapping namespace="urn:qualifyTest" package="test.wsdl.qualify"/>
      </wsdl2java>
  
      <javac srcdir="${build.dir}/work" destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/qualify/*.java" />
      </javac>
  
      <javac srcdir="." destdir="${build.dest}"
             debug="${debug}">
        <include name="test/wsdl/qualify/*.java" />
      </javac>
  </target>
  
  <target name="deploy"/>
  
  <target name="run"  depends="compile" />
  
  <target name="undeploy"/>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/qualify2/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  <?xml version="1.0" ?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
          <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
          <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
  ]>
  
  <!-- ===================================================================
  ==================================================================== -->
  
  <project default="compile">
  
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
  
  <target name="clean"/>
  
  <target name="copy"/>
  
  <target name="compile" depends="copy">
    <echo message="Compilig test.wsdl.qualify2"/>
      <!-- test for qualified or unqualified attributes -->
      <wsdl2java url="test/wsdl/qualify2/attribute-qualify.wsdl"
                 output="build/work"
                 serverSide="yes"
                 testcase="no">
          <mapping namespace="urn:attributeQualify" package="test.wsdl.qualify2"/>
      </wsdl2java>
  
      <javac srcdir="${build.dir}/work" destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/qualify2/*.java" />
      </javac>
  
      <javac srcdir="." destdir="${build.dest}"
             debug="${debug}">
        <include name="test/wsdl/qualify2/*.java" />
      </javac>
  </target>
  
  <target name="deploy"/>
  
  <target name="run"  depends="compile" />
  
  <target name="undeploy"/>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/ram/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  <?xml version="1.0" ?>
  <!DOCTYPE project [
          <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
          <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
          <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
          <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
  ]>
  
  <!-- ===================================================================
  ==================================================================== -->
  
  <project default="compile">
  
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
  
  <target name="clean"/>
  
  <target name="copy"/>
  
  <target name="compile" depends="copy">
    <echo message="Compilig test.wsdl.ram"/>
      <!-- This tests Bug 9642 -  Java Date not deserialize properly.  -->
      <wsdl2java url="test/wsdl/ram/ram.wsdl"
                 output="build/work"
                 serverSide="yes"
                 testcase="yes">
          <mapping namespace="urn:ram" package="test.wsdl.ram"/>
          <mapping namespace="http://ram.uspto.gov" package="test.wsdl.ram"/>
      </wsdl2java>
  
      <javac srcdir="${build.dir}/work" destdir="${build.dest}"
             debug="${debug}">
        <classpath refid="classpath" />
        <include name="test/wsdl/ram/*.java" />
      </javac>
  
      <javac srcdir="." destdir="${build.dest}"
             debug="${debug}">
        <include name="test/wsdl/ram/*.java" />
      </javac>
  </target>
  
  <target name="deploy"/>
  
  <target name="run"  depends="compile" />
  
  <target name="undeploy"/>
  
  </project>
  
  
  

Mime
View raw message