axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/test/wsdl/interop5/complextype ComplexTypeExtensionsBindingImpl.java ComplexTypeExtensionsServiceTestCase.java build.xml group5_5.wsdl
Date Wed, 08 Jan 2003 23:52:37 GMT
dims        2003/01/08 15:52:37

  Added:       java/test/wsdl/interop5/complextype
                        ComplexTypeExtensionsBindingImpl.java
                        ComplexTypeExtensionsServiceTestCase.java build.xml
                        group5_5.wsdl
  Log:
  Initial checkin for GroupV ComplexType Interop tests.
  
  Notes:
  1. Original WSDL - http://soapinterop.java.sun.com/round5/group5_5?WSDL
  2.  Details - http://java.sun.com/wsinterop/sb/r5/complextype-extensions.html
  
  Revision  Changes    Path
  1.1                  xml-axis/java/test/wsdl/interop5/complextype/ComplexTypeExtensionsBindingImpl.java
  
  Index: ComplexTypeExtensionsBindingImpl.java
  ===================================================================
  /**
   * ComplexTypeExtensionsBindingImpl.java
   *
   * This file was auto-generated from WSDL
   * by the Apache Axis WSDL2Java emitter.
   */
  
  package test.wsdl.interop5.complextype;
  
  public class ComplexTypeExtensionsBindingImpl implements test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType{
      public void echoBaseType_1(test.wsdl.interop5.complextype.types.holders.BaseTypeHolder
param) throws java.rmi.RemoteException {
      }
  
      public void echoBaseType_2(test.wsdl.interop5.complextype.types.holders.BaseTypeHolder
param) throws java.rmi.RemoteException {
      }
  
      public void echoBaseType_3(test.wsdl.interop5.complextype.types.holders.BaseTypeHolder
param) throws java.rmi.RemoteException {
      }
  
      public void echoBaseType_4(test.wsdl.interop5.complextype.types.holders.BaseTypeHolder
param) throws java.rmi.RemoteException {
      }
  
      public void echoBaseType_5(test.wsdl.interop5.complextype.types.holders.BaseTypeHolder
param) throws java.rmi.RemoteException {
      }
  
      public void echoL1DerivedType_1(test.wsdl.interop5.complextype.types.holders.L1DerivedTypeHolder
param) throws java.rmi.RemoteException {
      }
  
      public void echoL1DerivedType_2(test.wsdl.interop5.complextype.types.holders.L1DerivedTypeHolder
param) throws java.rmi.RemoteException {
      }
  
      public void echoL2DerivedType1_1(test.wsdl.interop5.complextype.types.holders.L2DerivedType1Holder
param) throws java.rmi.RemoteException {
      }
  
      public test.wsdl.interop5.complextype.types.BaseType echoL1DerivedTypeAsBaseType(test.wsdl.interop5.complextype.types.L1DerivedType
param) throws java.rmi.RemoteException {
          test.wsdl.interop5.complextype.types.BaseType output = new test.wsdl.interop5.complextype.types.BaseType();
          output.setBaseTypeMember1(param.getBaseTypeMember1());
          output.setBaseTypeMember2(param.getBaseTypeMember2());
          return output;
      }
  
      public test.wsdl.interop5.complextype.types.BaseType echoL2DerivedType1AsBaseType(test.wsdl.interop5.complextype.types.L2DerivedType1
param) throws java.rmi.RemoteException {
          test.wsdl.interop5.complextype.types.BaseType output = new test.wsdl.interop5.complextype.types.BaseType();
          output.setBaseTypeMember1(param.getBaseTypeMember1());
          output.setBaseTypeMember2(param.getBaseTypeMember2());
          return output;
      }
  
      public test.wsdl.interop5.complextype.types.L1DerivedType echoBaseTypeAsL1DerivedType(test.wsdl.interop5.complextype.types.BaseType
param) throws java.rmi.RemoteException {
          return (test.wsdl.interop5.complextype.types.L1DerivedType)param;
      }
  
      public test.wsdl.interop5.complextype.types.L2DerivedType1 echoBaseTypeAsL2DerivedType1(test.wsdl.interop5.complextype.types.BaseType
param) throws java.rmi.RemoteException {
          return (test.wsdl.interop5.complextype.types.L2DerivedType1)param;
      }
  
  }
  
  
  
  1.1                  xml-axis/java/test/wsdl/interop5/complextype/ComplexTypeExtensionsServiceTestCase.java
  
  Index: ComplexTypeExtensionsServiceTestCase.java
  ===================================================================
  /**
   * ComplexTypeExtensionsServiceTestCase.java
   *
   * This file was auto-generated from WSDL
   * by the Apache Axis WSDL2Java emitter.
   */
  
  package test.wsdl.interop5.complextype;
  
  public class ComplexTypeExtensionsServiceTestCase extends junit.framework.TestCase {
      public ComplexTypeExtensionsServiceTestCase(java.lang.String name) {
          super(name);
      }
      public void test1ComplexTypeExtensionsPortEchoBaseType_1() throws Exception {
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          // Test operation
          test.wsdl.interop5.complextype.types.BaseType input = new test.wsdl.interop5.complextype.types.BaseType();
          input.setBaseTypeMember1("echoBaseType_1");
          input.setBaseTypeMember2(1);
          test.wsdl.interop5.complextype.types.holders.BaseTypeHolder inputHolder = new test.wsdl.interop5.complextype.types.holders.BaseTypeHolder(input);
          binding.echoBaseType_1(inputHolder);
          test.wsdl.interop5.complextype.types.BaseType output = inputHolder.value;
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
      }
  
      public void test2ComplexTypeExtensionsPortEchoBaseType_2() throws Exception {
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          // Test operation
          test.wsdl.interop5.complextype.types.L1DerivedType input = new test.wsdl.interop5.complextype.types.L1DerivedType();
          input.setBaseTypeMember1("echoBaseType_2");
          input.setBaseTypeMember2(2);
          input.setL1DerivedTypeMember("L1DerivedType");
          test.wsdl.interop5.complextype.types.holders.BaseTypeHolder inputHolder = new test.wsdl.interop5.complextype.types.holders.BaseTypeHolder(input);
          binding.echoBaseType_2(inputHolder);
          test.wsdl.interop5.complextype.types.L1DerivedType output = (test.wsdl.interop5.complextype.types.L1DerivedType)inputHolder.value;
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
          assertEquals(output.getL1DerivedTypeMember(),input.getL1DerivedTypeMember());
      }
  
      public void test3ComplexTypeExtensionsPortEchoBaseType_3() throws Exception {
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          // Test operation
          test.wsdl.interop5.complextype.types.L2DerivedType1 input = new test.wsdl.interop5.complextype.types.L2DerivedType1();
          input.setBaseTypeMember1("echoBaseType_3");
          input.setBaseTypeMember2(2);
          input.setL1DerivedTypeMember("L2DerivedType1");
          input.setL2DerivedType1Member(3);
          test.wsdl.interop5.complextype.types.holders.BaseTypeHolder inputHolder = new test.wsdl.interop5.complextype.types.holders.BaseTypeHolder(input);
          binding.echoBaseType_3(inputHolder);
          test.wsdl.interop5.complextype.types.L2DerivedType1 output = (test.wsdl.interop5.complextype.types.L2DerivedType1)inputHolder.value;
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
          assertEquals(output.getL1DerivedTypeMember(),input.getL1DerivedTypeMember());
          assertEquals(output.getL2DerivedType1Member(),input.getL2DerivedType1Member());
      }
  
      public void test4ComplexTypeExtensionsPortEchoBaseType_4() throws Exception {
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          // Test operation
          test.wsdl.interop5.complextype.types.L2DerivedType2 input = new test.wsdl.interop5.complextype.types.L2DerivedType2();
          input.setBaseTypeMember1("echoBaseType_4");
          input.setBaseTypeMember2(2);
          input.setL1DerivedTypeMember("L2DerivedType2");
          input.setL2DerivedType2Member(new java.math.BigDecimal(100.00));
          test.wsdl.interop5.complextype.types.holders.BaseTypeHolder inputHolder = new test.wsdl.interop5.complextype.types.holders.BaseTypeHolder(input);
          binding.echoBaseType_4(inputHolder);
          test.wsdl.interop5.complextype.types.L2DerivedType2 output = (test.wsdl.interop5.complextype.types.L2DerivedType2)inputHolder.value;
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
          assertEquals(output.getL1DerivedTypeMember(),input.getL1DerivedTypeMember());
          assertEquals(output.getL2DerivedType2Member(),input.getL2DerivedType2Member());
      }
  
      public void test5ComplexTypeExtensionsPortEchoBaseType_5() throws Exception {
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          // Test operation
          test.wsdl.interop5.complextype.types.L3DerivedType input = new test.wsdl.interop5.complextype.types.L3DerivedType();
          input.setBaseTypeMember1("echoBaseType_5");
          input.setBaseTypeMember2(2);
          input.setL1DerivedTypeMember("L3DerivedType");
          input.setL2DerivedType2Member(new java.math.BigDecimal(100.00));
          input.setL3DerivedTypeMember((short)5);
          test.wsdl.interop5.complextype.types.holders.BaseTypeHolder inputHolder = new test.wsdl.interop5.complextype.types.holders.BaseTypeHolder(input);
          binding.echoBaseType_5(inputHolder);
          test.wsdl.interop5.complextype.types.L3DerivedType output = (test.wsdl.interop5.complextype.types.L3DerivedType)inputHolder.value;
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
          assertEquals(output.getL1DerivedTypeMember(),input.getL1DerivedTypeMember());
          assertEquals(output.getL2DerivedType2Member(),input.getL2DerivedType2Member());
          assertEquals(output.getL3DerivedTypeMember(),input.getL3DerivedTypeMember());
      }
  
      public void test6ComplexTypeExtensionsPortEchoL1DerivedType_1() throws Exception {
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          // Test operation
          test.wsdl.interop5.complextype.types.L1DerivedType input = new test.wsdl.interop5.complextype.types.L1DerivedType();
          input.setBaseTypeMember1("echoL1DerivedType_1");
          input.setBaseTypeMember2(2);
          input.setL1DerivedTypeMember("L1DerivedType");
          test.wsdl.interop5.complextype.types.holders.L1DerivedTypeHolder inputHolder = new
test.wsdl.interop5.complextype.types.holders.L1DerivedTypeHolder(input);
          binding.echoL1DerivedType_1(inputHolder);
          test.wsdl.interop5.complextype.types.L1DerivedType output = inputHolder.value;
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
          assertEquals(output.getL1DerivedTypeMember(),input.getL1DerivedTypeMember());
      }
  
      public void test7ComplexTypeExtensionsPortEchoL1DerivedType_2() throws Exception {
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          // Test operation
          test.wsdl.interop5.complextype.types.L2DerivedType1 input = new test.wsdl.interop5.complextype.types.L2DerivedType1();
          input.setBaseTypeMember1("echoL1DerivedType_1");
          input.setBaseTypeMember2(2);
          input.setL1DerivedTypeMember("L2DerivedType1");
          input.setL2DerivedType1Member(5);
          test.wsdl.interop5.complextype.types.holders.L1DerivedTypeHolder inputHolder = new
test.wsdl.interop5.complextype.types.holders.L1DerivedTypeHolder(input);
          binding.echoL1DerivedType_2(inputHolder);
          test.wsdl.interop5.complextype.types.L2DerivedType1 output = (test.wsdl.interop5.complextype.types.L2DerivedType1)inputHolder.value;
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
          assertEquals(output.getL1DerivedTypeMember(),input.getL1DerivedTypeMember());
          assertEquals(output.getL2DerivedType1Member(),input.getL2DerivedType1Member());
      }
  
      public void test8ComplexTypeExtensionsPortEchoL2DerivedType1_1() throws Exception {
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          // Test operation
          test.wsdl.interop5.complextype.types.L2DerivedType1 input = new test.wsdl.interop5.complextype.types.L2DerivedType1();
          input.setBaseTypeMember1("echoL2DerivedType1_1");
          input.setBaseTypeMember2(2);
          input.setL1DerivedTypeMember("L2DerivedType1");
          input.setL2DerivedType1Member(5);
          test.wsdl.interop5.complextype.types.holders.L2DerivedType1Holder inputHolder =
new test.wsdl.interop5.complextype.types.holders.L2DerivedType1Holder(input);
          binding.echoL2DerivedType1_1(inputHolder);
          test.wsdl.interop5.complextype.types.L2DerivedType1 output = inputHolder.value;
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
          assertEquals(output.getL1DerivedTypeMember(),input.getL1DerivedTypeMember());
          assertEquals(output.getL2DerivedType1Member(),input.getL2DerivedType1Member());
      }
  
      public void test9ComplexTypeExtensionsPortEchoL1DerivedTypeAsBaseType() throws Exception
{
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          test.wsdl.interop5.complextype.types.L1DerivedType input = new test.wsdl.interop5.complextype.types.L1DerivedType();
          input.setBaseTypeMember1("echoBaseType_2");
          input.setBaseTypeMember2(2);
          input.setL1DerivedTypeMember("L1DerivedType");
          // Test operation
          test.wsdl.interop5.complextype.types.BaseType output = null;
          output = binding.echoL1DerivedTypeAsBaseType(input);
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
      }
  
      public void test10ComplexTypeExtensionsPortEchoL2DerivedType1AsBaseType() throws Exception
{
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          test.wsdl.interop5.complextype.types.L2DerivedType1 input = new test.wsdl.interop5.complextype.types.L2DerivedType1();
          input.setBaseTypeMember1("echoBaseType_3");
          input.setBaseTypeMember2(2);
          input.setL1DerivedTypeMember("L2DerivedType1");
          input.setL2DerivedType1Member(3);
          // Test operation
          test.wsdl.interop5.complextype.types.BaseType output = null;
          output = binding.echoL2DerivedType1AsBaseType(input);
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
      }
  
      public void test11ComplexTypeExtensionsPortEchoBaseTypeAsL1DerivedType() throws Exception
{
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          test.wsdl.interop5.complextype.types.L1DerivedType input = new test.wsdl.interop5.complextype.types.L1DerivedType();
          input.setBaseTypeMember1("echoBaseType_2");
          input.setBaseTypeMember2(2);
          input.setL1DerivedTypeMember("L1DerivedType");
          // Test operation
          test.wsdl.interop5.complextype.types.L1DerivedType output = null;
          output = binding.echoBaseTypeAsL1DerivedType(input);
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
          assertEquals(output.getL1DerivedTypeMember(),input.getL1DerivedTypeMember());
      }
  
      public void test12ComplexTypeExtensionsPortEchoBaseTypeAsL2DerivedType1() throws Exception
{
          test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
          try {
              binding = new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPort();
          }
          catch (javax.xml.rpc.ServiceException jre) {
              if(jre.getLinkedCause()!=null)
                  jre.getLinkedCause().printStackTrace();
              throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught:
" + jre);
          }
          assertTrue("binding is null", binding != null);
  
          test.wsdl.interop5.complextype.types.L2DerivedType1 input = new test.wsdl.interop5.complextype.types.L2DerivedType1();
          input.setBaseTypeMember1("echoBaseType_3");
          input.setBaseTypeMember2(2);
          input.setL1DerivedTypeMember("L2DerivedType1");
          input.setL2DerivedType1Member(3);
          // Test operation
          test.wsdl.interop5.complextype.types.L2DerivedType1 output = null;
          output = binding.echoBaseTypeAsL2DerivedType1(input);
          // TBD - validate results
          assertEquals(output.getBaseTypeMember1(),input.getBaseTypeMember1());
          assertEquals(output.getBaseTypeMember2(),input.getBaseTypeMember2());
          assertEquals(output.getL1DerivedTypeMember(),input.getL1DerivedTypeMember());
          assertEquals(output.getL2DerivedType1Member(),input.getL2DerivedType1Member());
      }
  }
  
  
  
  1.1                  xml-axis/java/test/wsdl/interop5/complextype/build.xml
  
  Index: build.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">
          <!ENTITY targets SYSTEM "file:../../../../xmls/targets.xml">
  ]>
  
  <!-- ===================================================================
  <description>
     Test/Sample Component file for Axis
  
  Notes:
     This is a build file for use with the Jakarta Ant build tool.
  
  Prerequisites:
  
     jakarta-ant from http://jakarta.apache.org
  
  Build Instructions:
     To compile
          ant compile
     To execute
          ant run
  
  Author:
    Matt Seibert mseibert@us.ibm.com
  
  Copyright:
    Copyright (c) 2002-2003 Apache Software Foundation.
  </description>
  ==================================================================== -->
  
  <project name="Round5" default="compile">
  <property name="axis.home" location="../../../.." />
  <property name="componentName" value="test/wsdl/interop5/complextype" />
          &properties;
          &paths;
          &taskdefs;
          &taskdefs_post_compile;
          &targets;
    <property name="root.dir" value="../../../.."/>
  
      <target name="clean">
          <echo message="Removing ${build.dir}/classes/${componentName} and ${build.dir}/work/${componentName}"
/>
          <delete dir="${build.dir}/classes/${componentName}"/>
          <delete dir="${build.dir}/work/${componentName}"/>
      </target>
  
    <target name="compile" depends="setenv">
      <property name="testname" value="complextype"/>
  
      <!-- generate skeletons -->
      <wsdl2java url="${axis.home}/test/wsdl/interop5/complextype/group5_5.wsdl"
                 output="${root.dir}/build/work" 
                 skeletonDeploy="no"
                 testCase="yes"
                 serverSide="yes">
          <mapping namespace="http://soapinterop.org/" package="test.wsdl.interop5.complextype"/>
          <mapping namespace="http://soapinterop.org/round5/type-ext" package="test.wsdl.interop5.complextype"/>
          <mapping namespace="http://soapinterop.org/round5/type-ext/types" package="test.wsdl.interop5.complextype.types"/>
          <mapping namespace="http://schemas.xmlsoap.org/soap/encoding/" package="test.wsdl.interop5.complextype.soap.encoding"/>
          <mapping namespace="http://schemas.xmlsoap.org/wsdl/mime/" package="test.wsdl.interop5.complextype.wsdl.mime"/>
          <mapping namespace="http://schemas.xmlsoap.org/wsdl/http/" package="test.wsdl.interop5.complextype.wsdl.http"/>
          <mapping namespace="http://schemas.xmlsoap.org/wsdl/soap/" package="test.wsdl.interop5.complextype.wsdl.soap"/>
          <mapping namespace="services.wsdl" package="test.wsdl.interop5.complextype"/>
      </wsdl2java>
  
      <mkdir dir="${build.dest}"/>
  
      <copy file="ComplexTypeExtensionsBindingImpl.java"
           todir="${root.dir}/build/work/test/wsdl/interop5/complextype/"
           overwrite="yes"/>
      <copy file="ComplexTypeExtensionsServiceTestCase.java"
           todir="${root.dir}/build/work/test/wsdl/interop5/complextype/"
           overwrite="yes"/>
  
      <!-- compile the skeletons -->
      <javac srcdir="${build.dir}/work"
        destdir="${build.dest}" debug="on">
        <classpath refid="classpath" />
        <include name="test/wsdl/interop5/complextype/**/*.java" />
      </javac>
    </target>
  
    <target name="run" >
      <antcall target="execute-Component" />
    </target>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/interop5/complextype/group5_5.wsdl
  
  Index: group5_5.wsdl
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://soapinterop.org/round5/type-ext"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns0="http://soapinterop.org/round5/type-ext/types" targetNamespace="http://soapinterop.org/round5/type-ext">
  	<types>
  		<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://soapinterop.org/round5/type-ext/types"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://soapinterop.org/round5/type-ext/types">
  
  			<complexType name="BaseType">
  				<sequence>
  					<element name="baseTypeMember1" type="xsd:string"/>
  					<element name="baseTypeMember2" type="xsd:int"/>
  				</sequence>
  			</complexType>
  
  			<complexType name="L1DerivedType">
  				<complexContent>
  					<extension base="tns:BaseType">
  						<sequence>
  							<element name="l1DerivedTypeMember" type="xsd:string"/>
  						</sequence>
  					</extension>
  				</complexContent>
  			</complexType>
  
  			<complexType name="L2DerivedType1">
  				<complexContent>
  					<extension base="tns:L1DerivedType">
  						<sequence>
  							<element name="l2DerivedType1Member" type="xsd:int"/>
  						</sequence>
  					</extension>
  				</complexContent>
  			</complexType>
  
  			<!-- the following 2 data types below are not referenced elsewhere within the WSDL
-->
  
  			<complexType name="L2DerivedType2">
  				<complexContent>
  					<extension base="tns:L1DerivedType">
  						<sequence>
  							<element name="l2DerivedType2Member" type="xsd:decimal"/>
  						</sequence>
  					</extension>
  				</complexContent>
  			</complexType>
  
  			<complexType name="L3DerivedType">
  				<complexContent>
  					<extension base="tns:L2DerivedType2">
  						<sequence>
  							<element name="l3DerivedTypeMember" type="xsd:short"/>
  						</sequence>
  					</extension>
  				</complexContent>
  			</complexType>
  
  		</schema>
  	</types>
  
  	<message name="echoBaseTypeRequest">
  		<part name="param" type="ns0:BaseType"/>
  	</message>
  
  	<message name="echoBaseTypeResponse">
  		<part name="param" type="ns0:BaseType"/>
  	</message>
  
  	<message name="echoL1DerivedTypeRequest">
  		<part name="param" type="ns0:L1DerivedType"/>
  	</message>
  
  	<message name="echoL1DerivedTypeResponse">
  		<part name="param" type="ns0:L1DerivedType"/>
  	</message>
  
  	<message name="echoL2DerivedType1Request">
  		<part name="param" type="ns0:L2DerivedType1"/>
  	</message>
  
  	<message name="echoL2DerivedType1Response">
  		<part name="param" type="ns0:L2DerivedType1"/>
  	</message>
  	<message name="echoL1DerivedTypeAsBaseTypeRequest">
  		<part name="param" type="ns0:L1DerivedType"/>
  	</message>
  
  	<message name="echoL1DerivedTypeAsBaseTypeResponse">
  		<part name="param" type="ns0:BaseType"/>
  	</message>
  
  	<message name="echoL2DerivedType1AsBaseTypeRequest">
  		<part name="param" type="ns0:L2DerivedType1"/>
  	</message>
  
  	<message name="echoL2DerivedType1AsBaseTypeResponse">
  		<part name="param" type="ns0:BaseType"/>
  	</message>
  
  	<message name="echoBaseTypeAsL1DerivedTypeRequest">
  		<part name="param" type="ns0:BaseType"/>
  	</message>
  
  	<message name="echoBaseTypeAsL1DerivedTypeResponse">
  		<part name="param" type="ns0:L1DerivedType"/>
  	</message>
  
  	<message name="echoBaseTypeAsL2DerivedType1Request">
  		<part name="param" type="ns0:BaseType"/>
  	</message>
  
  	<message name="echoBaseTypeAsL2DerivedType1Response">
  		<part name="param" type="ns0:L2DerivedType1"/>
  	</message>
  
  	<portType name="ComplexTypeExtensionsPortType">
  		<!--
  			Pass an instance of the BaseType at run-time
  		-->
  		<operation name="echoBaseType_1">
  			<input message="tns:echoBaseTypeRequest"/>
  			<output message="tns:echoBaseTypeResponse"/>
  		</operation>
  
  		<!--
  			Pass an instance of the L1DerivedType at run-time
  		-->
  		<operation name="echoBaseType_2">
  			<input message="tns:echoBaseTypeRequest"/>
  			<output message="tns:echoBaseTypeResponse"/>
  		</operation>
  
  		<!--
  			Pass an instance of the L2DerivedType1 at run-time
  		-->
  		<operation name="echoBaseType_3">
  			<input message="tns:echoBaseTypeRequest"/>
  			<output message="tns:echoBaseTypeResponse"/>
  		</operation>
  
  		<!--
  			Pass an instance of the L2DerivedType2 at run-time
  		-->
  		<operation name="echoBaseType_4">
  			<input message="tns:echoBaseTypeRequest"/>
  			<output message="tns:echoBaseTypeResponse"/>
  		</operation>
  
  		<!--
  			Pass an instance of the L3DerivedType at run-time
  		-->
  		<operation name="echoBaseType_5">
  			<input message="tns:echoBaseTypeRequest"/>
  			<output message="tns:echoBaseTypeResponse"/>
  		</operation>
  
  		<!--
  			Pass an instance of the L1DerivedType at run-time
  		-->
  		<operation name="echoL1DerivedType_1">
  			<input message="tns:echoL1DerivedTypeRequest"/>
  			<output message="tns:echoL1DerivedTypeResponse"/>
  		</operation>
  
  		<!--
  			Pass an instance of the L2DerivedType1 at run-time
  		-->
  		<operation name="echoL1DerivedType_2">
  			<input message="tns:echoL1DerivedTypeRequest"/>
  			<output message="tns:echoL1DerivedTypeResponse"/>
  		</operation>
  
  		<!--
  			Pass an instance of the L2DerivedType1 at run-time
  		-->
  		<operation name="echoL2DerivedType1_1">
  			<input message="tns:echoL2DerivedType1Request"/>
  			<output message="tns:echoL2DerivedType1Response"/>
  		</operation>
  
  		<!--
  			The server implementation should "reconstruct" the BaseType from 
  			the L1DerivedType 
  		-->
  		<operation name="echoL1DerivedTypeAsBaseType">
  			<input message="tns:echoL1DerivedTypeAsBaseTypeRequest"/>
  			<output message="tns:echoL1DerivedTypeAsBaseTypeResponse"/>
  		</operation>
  
  		<!--
  			The server implementation should "reconstruct" the BaseType from 
  			the L2DerivedType 
  		-->
  		<operation name="echoL2DerivedType1AsBaseType">
  			<input message="tns:echoL2DerivedType1AsBaseTypeRequest"/>
  			<output message="tns:echoL2DerivedType1AsBaseTypeResponse"/>
  		</operation>
  
  		<!-- 
  			Pass an instance of L1DerivedType - 
  							Casting is going to be involved on the server-side.
  		-->
  
  		<operation name="echoBaseTypeAsL1DerivedType">
  			<input message="tns:echoBaseTypeAsL1DerivedTypeRequest"/>
  			<output message="tns:echoBaseTypeAsL1DerivedTypeResponse"/>
  		</operation>
  
  		<!-- 
  			Pass an instance of L2DerivedType1 - 
  							Casting is going to be involved on the server-side.
  		-->
  
  		<operation name="echoBaseTypeAsL2DerivedType1">
  			<input message="tns:echoBaseTypeAsL2DerivedType1Request"/>
  			<output message="tns:echoBaseTypeAsL2DerivedType1Response"/>
  		</operation>
  
  	</portType>
  
  	<binding name="ComplexTypeExtensionsBinding" type="tns:ComplexTypeExtensionsPortType">
  
  		<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
  
  		<operation name="echoBaseType_1">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  		<operation name="echoBaseType_2">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  		<operation name="echoBaseType_3">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  		<operation name="echoBaseType_4">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  		<operation name="echoBaseType_5">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  		<operation name="echoL1DerivedType_1">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  		<operation name="echoL1DerivedType_2">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  		<operation name="echoL2DerivedType1_1">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  		<operation name="echoL1DerivedTypeAsBaseType">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  		<operation name="echoL2DerivedType1AsBaseType">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  		<operation name="echoBaseTypeAsL1DerivedType">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  		<operation name="echoBaseTypeAsL2DerivedType1">
  			<soap:operation soapAction=""/>
  			<input>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</input>
  			<output>
  				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded"
namespace="http://soapinterop.org/wsdl"/>
  			</output>
  		</operation>
  
  	</binding>
  
  	<service name="ComplexTypeExtensionsService">
  		<port name="ComplexTypeExtensionsPort" binding="tns:ComplexTypeExtensionsBinding">
              <soap:address xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" location="http://localhost:8080/axis/services/ComplexTypeExtensionsPort"
/>
              <!--
  			<soap:address xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" location="http://soapinterop.java.sun.com:80/round5/group5_5"/>
              -->
  		</port>
  	</service>
  </definitions>
  
  

Mime
View raw message