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 sc...@apache.org on 2002/05/18 16:08:32 UTC

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

scheu       02/05/18 07:08:32

  Modified:    java     build.xml
               java/test/wsdl Wsdl2javaTestSuite.xml
  Log:
  Added a test (addrNoImplSEI)
  
  This test ensures that an service implementation does not
  need to implement the SEI (Service Endpoint Interface).
  
  An test.addrNoImplSEI.AddressBookSoapImpl is added that
  is just like the samples.addr.AddressBookSoapImpl except that
  it does not implement AddressBook.
  
  I also removed the <operation> elements from the
  deploy.wsdd for this test to force the runtime to use introspection.
  
  Revision  Changes    Path
  1.133     +22 -2     xml-axis/java/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/build.xml,v
  retrieving revision 1.132
  retrieving revision 1.133
  diff -u -r1.132 -r1.133
  --- build.xml	2 May 2002 21:03:13 -0000	1.132
  +++ build.xml	18 May 2002 14:08:31 -0000	1.133
  @@ -334,13 +334,33 @@
           <mapping namespace="http://soapinterop.org/" package="samples.echo"/>
           <mapping namespace="http://soapinterop.org/xsd" package="samples.echo"/>
       </wsdl2java>
  -    
  +
       <!-- Compile the echo sample generated java files -->
       <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="${debug}">
         <classpath refid="test-classpath" />
         <include name="samples/echo/**.java" />
       </javac>
   
  +    <!-- AddressBook Sample -->
  +    <wsdl2java url="samples/addr/AddressBook.wsdl"
  +               output="build/work"
  +               deployscope="session"
  +               serverSide="yes"
  +               skeletonDeploy="yes"
  +               noimports="no"
  +               verbose="no"
  +               typeMappingVersion="1.1"
  +               testcase="no">
  +        <mapping namespace="urn:AddressFetcher2" package="samples.addr"/>
  +    </wsdl2java>
  +    
  +    <!-- Compile the echo sample generated java files -->
  +    <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="${debug}">
  +      <classpath refid="test-classpath" />
  +      <include name="samples/addr/**.java" />
  +    </javac>
  +
  +
       <!-- Compile the sample code -->
       <javac srcdir="." destdir="${build.dest}"
              debug="${debug}">
  @@ -353,7 +373,7 @@
         <exclude name="samples/**/*SMTP*.java" unless="smtp.present" />
         <exclude name="**/old/**/*.java" />
         <exclude name="samples/userguide/example2/Calculator.java"/>
  -      <exclude name="samples/addr/*.java" />
  +<!--      <exclude name="samples/addr/*.java" /> -->
         <exclude name="samples/userguide/example6/Main.java" />
         <exclude name="samples/userguide/example6/*Impl.java" />
         <exclude name="samples/userguide/example6/*TestCase.java" />
  
  
  
  1.98      +0 -12     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.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- Wsdl2javaTestSuite.xml	14 May 2002 15:17:19 -0000	1.97
  +++ Wsdl2javaTestSuite.xml	18 May 2002 14:08:31 -0000	1.98
  @@ -28,18 +28,6 @@
       <echo message="Classpath for wsdl2java task : ${test-classpath.property}"/>
       -->
       <echo message="Running WSDL2Java and Java2WSDL Emitters"/>
  -    <!-- AddressBook Sample -->
  -    <wsdl2java url="samples/addr/AddressBook.wsdl"
  -               output="build/work"
  -               deployscope="session"
  -               serverSide="yes"
  -               skeletonDeploy="yes"
  -               noimports="no"
  -               verbose="no"
  -               typeMappingVersion="1.1"
  -               testcase="no">
  -        <mapping namespace="urn:AddressFetcher2" package="samples.addr"/>
  -    </wsdl2java>
   
       <!-- WidgetPrice Java to WSDL Samples -->
       <java2wsdl output="build/work/samples/userguide/example6/WidgetPrice.wsdl"