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 se...@apache.org on 2002/08/14 00:18:13 UTC

cvs commit: xml-axis/java/test/wsdl/literal buildComponent.xml

seibert     2002/08/13 15:18:13

  Modified:    java/test/wsdl/literal buildComponent.xml
  Log:
  This file needed some real work.  First off, there was this problem:
  
      <!-- 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"
      -->
      <!--
      <wsdl2java url="${axis.home}/test/wsdl/literal/SalesRankNPrice.wsdl"
                 output="${axis.home}/build/work"
                 verbose="no"
                 serverSide="no"
                 testcase="no">
          <mapping namespace="http://www.PerfectXML.com/NETWebSvcs/BookService" package="test.wsdl.literal"/>
      </wsdl2java>
      -->
  
  Which meant that nothing was ever generated.  Actually, the comments were the other way around,
  with the file commented out first, and a note that the URL didn't exist.  So I flip-flopped
  them, and am using the stored wsdl file to generate the classes.
  
  This, in coupling with my last xmls/targets.xml change, now allows this test to succeed.
  
  Revision  Changes    Path
  1.4       +3 -7      xml-axis/java/test/wsdl/literal/buildComponent.xml
  
  Index: buildComponent.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/literal/buildComponent.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- buildComponent.xml	7 Aug 2002 20:22:14 -0000	1.3
  +++ buildComponent.xml	13 Aug 2002 22:18:13 -0000	1.4
  @@ -27,21 +27,17 @@
   <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="${axis.home}/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"
  +    -->
  +    <wsdl2java url="${axis.home}/test/wsdl/literal/SalesRankNPrice.wsdl"
                  output="${axis.home}/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}">
  @@ -49,7 +45,7 @@
         <include name="test/wsdl/literal/*.java" />
       </javac>
   
  -    <javac srcdir="${axis.home}/" destdir="${build.dest}"
  +    <javac srcdir="${axis.home}" destdir="${build.dest}"
              debug="${debug}">
         <classpath refid="classpath" />
         <include name="test/wsdl/literal/*.java" />