You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yoko-commits@incubator.apache.org by en...@apache.org on 2006/10/06 12:34:02 UTC

svn commit: r453580 [3/4] - in /incubator/yoko/trunk/tools/src: main/java/org/apache/yoko/tools/processors/wsdl/ test/java/org/apache/yoko/tools/processors/ test/resources/idlgen/ test/resources/wsdl/

Added: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested.wsdl
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/test/resources/idlgen/nested.wsdl?view=auto&rev=453580
==============================================================================
--- incubator/yoko/trunk/tools/src/test/resources/idlgen/nested.wsdl (added)
+++ incubator/yoko/trunk/tools/src/test/resources/idlgen/nested.wsdl Fri Oct  6 05:34:01 2006
@@ -0,0 +1,361 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name="nested" targetNamespace="http://schemas.apache.org/idl/nested.idl" xmlns:tns="http://schemas.apache.org/idl/nested.idl" xmlns:corbatm="http://schemas.apache.org/typemap/corba/nested.idl" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:corba="http://schemas.apache.org/yoko/bindings/corba" xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" xmlns="http://schemas.xmlsoap.org/wsdl/">
+  <corba:typeMapping targetNamespace="http://schemas.apache.org/idl/nested.idl/corba/typemap/">
+    <corba:union xmlns:ns3="http://schemas.apache.org/idltypes/nested.idl" discriminator="corba:long" repositoryID="IDL:sub2ChoiceType:1.0" type="ns3:sub2ChoiceType" name="sub2ChoiceType">
+      <corba:unionbranch name="e4" idltype="corba:double" default="false">
+        <corba:case label="0" />
+      </corba:unionbranch>
+        <corba:unionbranch name="e6" idltype="corba:double" default="false">
+          <corba:case label="1" />
+        </corba:unionbranch>
+        </corba:union>
+          <corba:union xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" discriminator="corba:long" repositoryID="IDL:_omg_sub2ChoiceType:1.0" type="xsd1:_omg_sub2ChoiceType" name="_omg_sub2ChoiceType">
+            <corba:unionbranch name="e4" idltype="corba:double" default="false">
+              <corba:case label="0" />
+            </corba:unionbranch>
+              <corba:unionbranch name="e6" idltype="corba:double" default="false">
+                <corba:case label="1" />
+              </corba:unionbranch>
+              </corba:union>
+                <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:typeSequenceStructr6:1.0" type="xsd1:typeSequenceStructr6" name="typeSequenceStructr6">
+                  <corba:member name="varFloat" idltype="corba:float" />
+                  <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="typeSequenceStruct4_f" idltype="ns1:typeSequenceStruct4" />
+                </corba:struct>
+                  <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:typeSequenceStruct1Type:1.0" type="xsd1:typeSequenceStruct1Type" name="typeSequenceStruct1Type">
+                    <corba:member name="attrString" idltype="corba:string" />
+                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="SimpleStruct_f" idltype="ns1:SimpleStruct" />
+                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="typeSequenceStruct1_f" idltype="ns1:typeSequenceStruct1" />
+                  </corba:struct>
+                    <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:typeSequenceStruct5:1.0" type="xsd1:typeSequenceStruct5" name="typeSequenceStruct5">
+                      <corba:member name="varStringExt" idltype="corba:string" />
+                      <corba:member name="varFloatExt" idltype="corba:float" />
+                    </corba:struct>
+                      <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:sub3SequenceStruct:1.0" type="xsd1:sub3SequenceStruct" name="sub3SequenceStruct">
+                        <corba:member name="e5" idltype="corba:boolean" />
+                      </corba:struct>
+                        <corba:union xmlns:tns="http://schemas.apache.org/idl/nested.idl" discriminator="corba:boolean" repositoryID="IDL:long_nil:1.0" type="tns:attrib1" name="long_nil">
+                          <corba:unionbranch name="value" idltype="corba:long" default="false">
+                            <corba:case label="TRUE" />
+                          </corba:unionbranch>
+                          </corba:union>
+                            <corba:union xmlns:tns="http://schemas.apache.org/idl/nested.idl" discriminator="corba:boolean" repositoryID="IDL:_1_attrib2Type_nil_nil:1.0" type="tns:attrib2" name="_1_attrib2Type_nil_nil">
+                              <corba:unionbranch xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="value" idltype="ns1:_1_attrib2Type_nil" default="false">
+                                <corba:case label="TRUE" />
+                              </corba:unionbranch>
+                              </corba:union>
+                                <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:typeSequenceStruct2:1.0" type="xsd1:typeSequenceStruct2" name="typeSequenceStruct2">
+                                  <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="attrib1" idltype="ns1:long_nil" />
+                                  <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="attrib2" idltype="ns1:_1_attrib2Type_nil_nil" />
+                                  <corba:member name="simpleTypeValue" idltype="corba:short" />
+                                </corba:struct>
+                                  <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:SimpleStruct:1.0" type="xsd1:SimpleStruct" name="SimpleStruct">
+                                    <corba:member name="varFloat" idltype="corba:float" />
+                                    <corba:member name="varInt" idltype="corba:long" />
+                                    <corba:member name="varString" idltype="corba:string" />
+                                  </corba:struct>
+                                    <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:sub1SequenceStruct:1.0" type="xsd1:sub1SequenceStruct" name="sub1SequenceStruct">
+                                      <corba:member name="e3" idltype="corba:float" />
+                                    </corba:struct>
+                                      <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:typeSequenceStruct1:1.0" type="xsd1:typeSequenceStruct1" name="typeSequenceStruct1">
+                                        <corba:member name="varString" idltype="corba:long" />
+                                        <corba:member name="varFloat" idltype="corba:float" />
+                                      </corba:struct>
+                                        <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:sub3:1.0" type="xsd1:sub3" name="sub3">
+                                          <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="sub2_f" idltype="ns1:sub2" />
+                                          <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="sub3SequenceStruct_f" idltype="ns1:sub3SequenceStruct" />
+                                        </corba:struct>
+                                          <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:base:1.0" type="xsd1:base" name="base">
+                                            <corba:member name="attr1" idltype="corba:string" />
+                                            <corba:member name="attr2" idltype="corba:long" />
+                                            <corba:member name="e1" idltype="corba:long" />
+                                            <corba:member name="e2" idltype="corba:string" />
+                                          </corba:struct>
+                                            <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:typeSequenceStruct4:1.0" type="xsd1:typeSequenceStruct4" name="typeSequenceStruct4">
+                                              <corba:member name="varInt" idltype="corba:long" />
+                                              <corba:member name="varString" idltype="corba:string" />
+                                            </corba:struct>
+                                              <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:testStructType:1.0" type="xsd1:testStructType" name="testStructType">
+                                                <corba:member name="attrString" idltype="corba:string" />
+                                                <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="SimpleStruct_f" idltype="ns1:SimpleStruct" />
+                                              </corba:struct>
+                                                <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:sub2:1.0" type="xsd1:sub2" name="sub2">
+                                                  <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="base_f" idltype="ns1:base" />
+                                                  <corba:member xmlns:tns="http://schemas.apache.org/idl/nested.idl" name="sub2ChoiceType_f" idltype="tns:sub2ChoiceType" />
+                                                </corba:struct>
+                                                  <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:typeSequenceStruct5Type:1.0" type="xsd1:typeSequenceStruct5Type" name="typeSequenceStruct5Type">
+                                                    <corba:member name="AttrString" idltype="corba:string" />
+                                                    <corba:member name="any_f" idltype="corba:any" />
+                                                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="typeSequenceStruct5_f" idltype="ns1:typeSequenceStruct5" />
+                                                  </corba:struct>
+                                                    <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:typeSequenceStruct3Type:1.0" type="xsd1:typeSequenceStruct3Type" name="typeSequenceStruct3Type">
+                                                      <corba:member name="attrString1" idltype="corba:string" />
+                                                      <corba:member name="attrString2" idltype="corba:string" />
+                                                      <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="SimpleStruct_f" idltype="ns1:SimpleStruct" />
+                                                      <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="typeSequenceStruct3_f" idltype="ns1:typeSequenceStruct3" />
+                                                    </corba:struct>
+                                                      <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:sub1:1.0" type="xsd1:sub1" name="sub1">
+                                                        <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="base_f" idltype="ns1:base" />
+                                                        <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="sub1SequenceStruct_f" idltype="ns1:sub1SequenceStruct" />
+                                                      </corba:struct>
+                                                        <corba:anonstring bound="2" type="corba:string" name="_1_attrib2Type_nil" />
+                                                        <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:typeSequenceStruct3:1.0" type="xsd1:typeSequenceStruct3" name="typeSequenceStruct3">
+                                                          <corba:member name="varFloat" idltype="corba:float" />
+                                                        </corba:struct>
+                                                          <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:TypeInheritancePortType/echoObjectResult:1.0" type="xsd1:TypeInheritancePortType.echoObjectResult" name="TypeInheritancePortType.echoObjectResult">
+                                                            <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="return" idltype="ns1:base" />
+                                                          </corba:struct>
+                                                            <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:TypeInheritancePortType/echoObject2Result:1.0" type="xsd1:TypeInheritancePortType.echoObject2Result" name="TypeInheritancePortType.echoObject2Result">
+                                                              <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="return" idltype="ns1:sub2" />
+                                                            </corba:struct>
+                                                              <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:TypeInheritancePortType/echoObject:1.0" type="xsd1:TypeInheritancePortType.echoObject" name="TypeInheritancePortType.echoObject">
+                                                                <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="x" idltype="ns1:base" />
+                                                              </corba:struct>
+                                                                <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:TypeInheritancePortType/echoObject3Result:1.0" type="xsd1:TypeInheritancePortType.echoObject3Result" name="TypeInheritancePortType.echoObject3Result">
+                                                                  <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="return" idltype="ns1:sub2" />
+                                                                </corba:struct>
+                                                                  <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:TypeInheritancePortType/echoObject3:1.0" type="xsd1:TypeInheritancePortType.echoObject3" name="TypeInheritancePortType.echoObject3">
+                                                                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="x" idltype="ns1:sub3" />
+                                                                  </corba:struct>
+                                                                    <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested.idl" repositoryID="IDL:TypeInheritancePortType/echoObject2:1.0" type="xsd1:TypeInheritancePortType.echoObject2" name="TypeInheritancePortType.echoObject2">
+                                                                      <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="x" idltype="ns1:sub1" />
+                                                                    </corba:struct>
+                                                                    </corba:typeMapping>
+  <types>
+    <schema targetNamespace="http://schemas.apache.org/idltypes/nested.idl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+            <complexType name="base">
+                <sequence>
+                    <element name="attr1" type="string"/>
+                    <element name="attr2" type="int"/>
+                    <element name="e1" type="int"/>
+                    <element name="e2" type="string"/>
+                </sequence>
+            </complexType>
+            <complexType name="sub2ChoiceType">
+                <choice>
+                    <element name="e4" type="double"/>
+                    <element name="e6" type="double"/>
+                </choice>
+            </complexType>
+            <complexType name="_omg_sub2ChoiceType">
+                <sequence>
+                    <element maxOccurs="1" minOccurs="1" name="discriminator" type="int"/>
+                    <choice maxOccurs="1" minOccurs="0">
+                        <element name="e4" type="double"/>
+                        <element name="e6" type="double"/>
+                    </choice>
+                </sequence>
+            </complexType>
+            <complexType name="sub2">
+                <sequence>
+                    <element name="base_f" type="xsd1:base"/>
+                    <element name="sub2ChoiceType_f" type="xsd1:sub2ChoiceType"/>
+                </sequence>
+            </complexType>
+            <complexType name="sub1SequenceStruct">
+                <sequence>
+                    <element name="e3" type="float"/>
+                </sequence>
+            </complexType>
+            <complexType name="sub1">
+                <sequence>
+                    <element name="base_f" type="xsd1:base"/>
+                    <element name="sub1SequenceStruct_f" type="xsd1:sub1SequenceStruct"/>
+                </sequence>
+            </complexType>
+            <complexType name="sub3SequenceStruct">
+                <sequence>
+                    <element name="e5" type="boolean"/>
+                </sequence>
+            </complexType>
+            <complexType name="sub3">
+                <sequence>
+                    <element name="sub2_f" type="xsd1:sub2"/>
+                    <element name="sub3SequenceStruct_f" type="xsd1:sub3SequenceStruct"/>
+                </sequence>
+            </complexType>
+            <complexType name="SimpleStruct">
+                <sequence>
+                    <element name="varFloat" type="float"/>
+                    <element name="varInt" type="int"/>
+                    <element name="varString" type="string"/>
+                </sequence>
+            </complexType>
+            <complexType name="testStructType">
+                <sequence>
+                    <element name="attrString" type="string"/>
+                    <element name="SimpleStruct_f" type="xsd1:SimpleStruct"/>
+                </sequence>
+            </complexType>
+            <complexType name="typeSequenceStruct1">
+                <sequence>
+                    <element name="varString" type="int"/>
+                    <element name="varFloat" type="float"/>
+                </sequence>
+            </complexType>
+            <complexType name="typeSequenceStruct1Type">
+                <sequence>
+                    <element name="attrString" type="string"/>
+                    <element name="SimpleStruct_f" type="xsd1:SimpleStruct"/>
+                    <element name="typeSequenceStruct1_f" type="xsd1:typeSequenceStruct1"/>
+                </sequence>
+            </complexType>
+            <simpleType name="_1_attrib2Type_nil">
+                <restriction base="string">
+                    <maxLength value="2"/>
+                </restriction>
+            </simpleType>
+            <complexType name="typeSequenceStruct2">
+                <sequence>
+                    <element name="attrib1" nillable="true" type="int"/>
+                    <element name="attrib2" nillable="true" type="xsd1:_1_attrib2Type_nil"/>
+                    <element name="simpleTypeValue" type="short"/>
+                </sequence>
+            </complexType>
+            <complexType name="typeSequenceStruct3">
+                <sequence>
+                    <element name="varFloat" type="float"/>
+                </sequence>
+            </complexType>
+            <complexType name="typeSequenceStruct3Type">
+                <sequence>
+                    <element name="attrString1" type="string"/>
+                    <element name="attrString2" type="string"/>
+                    <element name="SimpleStruct_f" type="xsd1:SimpleStruct"/>
+                    <element name="typeSequenceStruct3_f" type="xsd1:typeSequenceStruct3"/>
+                </sequence>
+            </complexType>
+            <complexType name="typeSequenceStruct4">
+                <sequence>
+                    <element name="varInt" type="int"/>
+                    <element name="varString" type="string"/>
+                </sequence>
+            </complexType>
+            <complexType name="typeSequenceStruct5">
+                <sequence>
+                    <element name="varStringExt" type="string"/>
+                    <element name="varFloatExt" type="float"/>
+                </sequence>
+            </complexType>
+            <complexType name="typeSequenceStruct5Type">
+                <sequence>
+                    <element name="AttrString" type="string"/>
+                    <element name="any_f" type="anyType"/>
+                    <element name="typeSequenceStruct5_f" type="xsd1:typeSequenceStruct5"/>
+                </sequence>
+            </complexType>
+            <complexType name="typeSequenceStructr6">
+                <sequence>
+                    <element name="varFloat" type="float"/>
+                    <element name="typeSequenceStruct4_f" type="xsd1:typeSequenceStruct4"/>
+                </sequence>
+            </complexType>
+            <element name="TypeInheritancePortType.echoObject">
+                <complexType>
+                    <sequence>
+                        <element name="x" type="xsd1:base"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="TypeInheritancePortType.echoObjectResult">
+                <complexType>
+                    <sequence>
+                        <element name="return" type="xsd1:base"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="TypeInheritancePortType.echoObject2">
+                <complexType>
+                    <sequence>
+                        <element name="x" type="xsd1:sub1"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="TypeInheritancePortType.echoObject2Result">
+                <complexType>
+                    <sequence>
+                        <element name="return" type="xsd1:sub2"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="TypeInheritancePortType.echoObject3">
+                <complexType>
+                    <sequence>
+                        <element name="x" type="xsd1:sub3"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="TypeInheritancePortType.echoObject3Result">
+                <complexType>
+                    <sequence>
+                        <element name="return" type="xsd1:sub2"/>
+                    </sequence>
+                </complexType>
+            </element>
+        </schema>
+  </types>
+  <message name="TypeInheritancePortType.echoObject3">
+    <part name="parameters" element="xsd1:TypeInheritancePortType.echoObject3"/>
+  </message>
+  <message name="TypeInheritancePortType.echoObjectResponse">
+    <part name="parameters" element="xsd1:TypeInheritancePortType.echoObjectResult"/>
+  </message>
+  <message name="TypeInheritancePortType.echoObject3Response">
+    <part name="parameters" element="xsd1:TypeInheritancePortType.echoObject3Result"/>
+  </message>
+  <message name="TypeInheritancePortType.echoObject">
+    <part name="parameters" element="xsd1:TypeInheritancePortType.echoObject"/>
+  </message>
+  <message name="TypeInheritancePortType.echoObject2Response">
+    <part name="parameters" element="xsd1:TypeInheritancePortType.echoObject2Result"/>
+  </message>
+  <message name="TypeInheritancePortType.echoObject2">
+    <part name="parameters" element="xsd1:TypeInheritancePortType.echoObject2"/>
+  </message>
+  <portType name="TypeInheritancePortType">
+    <operation name="echoObject">
+      <input name="echoObject" message="tns:TypeInheritancePortType.echoObject"/>
+      <output name="echoObjectResponse" message="tns:TypeInheritancePortType.echoObjectResponse"/>
+    </operation>
+    <operation name="echoObject2">
+      <input name="echoObject2" message="tns:TypeInheritancePortType.echoObject2"/>
+      <output name="echoObject2Response" message="tns:TypeInheritancePortType.echoObject2Response"/>
+    </operation>
+    <operation name="echoObject3">
+      <input name="echoObject3" message="tns:TypeInheritancePortType.echoObject3"/>
+      <output name="echoObject3Response" message="tns:TypeInheritancePortType.echoObject3Response"/>
+    </operation>
+  </portType>
+  <binding name="TypeInheritanceCORBABinding" type="tns:TypeInheritancePortType">
+    <corba:binding repositoryID="IDL:TypeInheritancePortType:1.0" />
+    <operation name="echoObject">
+      <corba:operation name="echoObject">
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" mode="in" name="x" idltype="ns1:base" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="return" idltype="ns1:base" />
+      </corba:operation>
+      <input name="echoObject">
+      </input>
+      <output name="echoObjectResponse">
+      </output>
+    </operation>
+    <operation name="echoObject2">
+      <corba:operation name="echoObject2">
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" mode="in" name="x" idltype="ns1:sub1" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="return" idltype="ns1:sub2" />
+      </corba:operation>
+      <input name="echoObject2">
+      </input>
+      <output name="echoObject2Response">
+      </output>
+    </operation>
+    <operation name="echoObject3">
+      <corba:operation name="echoObject3">
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" mode="in" name="x" idltype="ns1:sub3" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/idl/nested.idl/corba/typemap/" name="return" idltype="ns1:sub2" />
+      </corba:operation>
+      <input name="echoObject3">
+      </input>
+      <output name="echoObject3Response">
+      </output>
+    </operation>
+  </binding>
+</definitions>

Propchange: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_complex.wsdl
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_complex.wsdl?view=auto&rev=453580
==============================================================================
--- incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_complex.wsdl (added)
+++ incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_complex.wsdl Fri Oct  6 05:34:01 2006
@@ -0,0 +1,411 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name="nested_complex" targetNamespace="http://schemas.apache.org/idl/nested_complex.idl" xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" xmlns:corbatm="http://schemas.apache.org/typemap/corba/nested_complex.idl" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:corba="http://schemas.apache.org/yoko/bindings/corba" xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" xmlns="http://schemas.xmlsoap.org/wsdl/">
+  <corba:typeMapping targetNamespace="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/">
+    <corba:union xmlns:ns3="http://schemas.apache.org/idltypes/nested_complex.idl" discriminator="corba:long" repositoryID="IDL:nested_choice:1.0" type="ns3:nested_choice" name="nested_choice">
+      <corba:unionbranch name="e" idltype="corba:string" default="false">
+        <corba:case label="0" />
+      </corba:unionbranch>
+        <corba:unionbranch name="f" idltype="corba:float" default="false">
+          <corba:case label="1" />
+        </corba:unionbranch>
+        </corba:union>
+          <corba:union xmlns:ns3="http://schemas.apache.org/idltypes/nested_complex.idl" discriminator="corba:long" repositoryID="IDL:unionTwo:1.0" type="ns3:unionTwo" name="unionTwo">
+            <corba:unionbranch xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="nested_choice_f" idltype="tns:nested_choice" default="false">
+              <corba:case label="0" />
+            </corba:unionbranch>
+              <corba:unionbranch xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="color_f" idltype="ns1:color" default="false">
+                <corba:case label="1" />
+              </corba:unionbranch>
+                <corba:unionbranch xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="structOne_f" idltype="ns1:structOne" default="false">
+                  <corba:case label="2" />
+                </corba:unionbranch>
+                </corba:union>
+                  <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:structOne:1.0" type="xsd1:structOne" name="structOne">
+                    <corba:member name="s" idltype="corba:short" />
+                    <corba:member name="l" idltype="corba:long" />
+                  </corba:struct>
+                    <corba:enum xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:color:1.0" type="xsd1:color" name="color">
+                      <corba:enumerator value="RED" />
+                      <corba:enumerator value="GREEN" />
+                      <corba:enumerator value="BLUE" />
+                    </corba:enum>
+                      <corba:union xmlns:ns3="http://schemas.apache.org/idltypes/nested_complex.idl" discriminator="corba:long" repositoryID="IDL:unionThree:1.0" type="ns3:unionThree" name="unionThree">
+                        <corba:unionbranch xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="unionTwo_f" idltype="tns:unionTwo" default="false">
+                          <corba:case label="0" />
+                        </corba:unionbranch>
+                          <corba:unionbranch xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="obj2_f" idltype="ns1:obj2" default="false">
+                            <corba:case label="1" />
+                          </corba:unionbranch>
+                          </corba:union>
+                            <corba:union xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" discriminator="corba:long" repositoryID="IDL:_omg_nested_choice:1.0" type="xsd1:_omg_nested_choice" name="_omg_nested_choice">
+                              <corba:unionbranch name="e" idltype="corba:string" default="false">
+                                <corba:case label="0" />
+                              </corba:unionbranch>
+                                <corba:unionbranch name="f" idltype="corba:float" default="false">
+                                  <corba:case label="1" />
+                                </corba:unionbranch>
+                                </corba:union>
+                                  <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:obj2:1.0" type="xsd1:obj2" name="obj2">
+                                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="aa" idltype="ns1:S1" />
+                                  </corba:struct>
+                                    <corba:union xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" discriminator="corba:long" repositoryID="IDL:_omg_unionTwo:1.0" type="xsd1:_omg_unionTwo" name="_omg_unionTwo">
+                                      <corba:unionbranch xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="nested_choice_f" idltype="tns:nested_choice" default="false">
+                                        <corba:case label="0" />
+                                      </corba:unionbranch>
+                                        <corba:unionbranch xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="color_f" idltype="ns1:color" default="false">
+                                          <corba:case label="1" />
+                                        </corba:unionbranch>
+                                          <corba:unionbranch xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="structOne_f" idltype="ns1:structOne" default="false">
+                                            <corba:case label="2" />
+                                          </corba:unionbranch>
+                                          </corba:union>
+                                            <corba:union xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" discriminator="corba:long" repositoryID="IDL:_omg_unionThree:1.0" type="xsd1:_omg_unionThree" name="_omg_unionThree">
+                                              <corba:unionbranch xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="unionTwo_f" idltype="tns:unionTwo" default="false">
+                                                <corba:case label="0" />
+                                              </corba:unionbranch>
+                                                <corba:unionbranch xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="obj2_f" idltype="ns1:obj2" default="false">
+                                                  <corba:case label="1" />
+                                                </corba:unionbranch>
+                                                </corba:union>
+                                                  <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:structTwo:1.0" type="xsd1:structTwo" name="structTwo">
+                                                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="white" idltype="ns1:color" />
+                                                    <corba:member xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="nested_choice_f" idltype="tns:nested_choice" />
+                                                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="structOne_f" idltype="ns1:structOne" />
+                                                  </corba:struct>
+                                                    <corba:array xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" elemtype="ns1:obj" bound="25" repositoryID="IDL:S1:1.0" type="xsd1:S1" name="S1" />
+                                                    <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:obj:1.0" type="xsd1:obj" name="obj">
+                                                      <corba:member name="s" idltype="corba:string" />
+                                                    </corba:struct>
+                                                      <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:X/op_unionTwoResult:1.0" type="xsd1:X.op_unionTwoResult" name="X.op_unionTwoResult">
+                                                        <corba:member xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="return" idltype="tns:unionTwo" />
+                                                        <corba:member xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="p2" idltype="tns:unionTwo" />
+                                                        <corba:member xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="p3" idltype="tns:unionTwo" />
+                                                      </corba:struct>
+                                                        <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:X/op_obj2Result:1.0" type="xsd1:X.op_obj2Result" name="X.op_obj2Result">
+                                                          <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="return" idltype="ns1:obj2" />
+                                                          <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p2" idltype="ns1:obj2" />
+                                                          <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p3" idltype="ns1:obj2" />
+                                                        </corba:struct>
+                                                          <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:X/op_structTwo:1.0" type="xsd1:X.op_structTwo" name="X.op_structTwo">
+                                                            <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p1" idltype="ns1:structTwo" />
+                                                            <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p2" idltype="ns1:structTwo" />
+                                                          </corba:struct>
+                                                            <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:X/op_color:1.0" type="xsd1:X.op_color" name="X.op_color">
+                                                              <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p1" idltype="ns1:color" />
+                                                              <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p2" idltype="ns1:color" />
+                                                            </corba:struct>
+                                                              <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:X/op_unionThree:1.0" type="xsd1:X.op_unionThree" name="X.op_unionThree">
+                                                                <corba:member xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="p1" idltype="tns:unionThree" />
+                                                                <corba:member xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="p2" idltype="tns:unionThree" />
+                                                              </corba:struct>
+                                                                <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:X/op_obj2:1.0" type="xsd1:X.op_obj2" name="X.op_obj2">
+                                                                  <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p1" idltype="ns1:obj2" />
+                                                                  <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p2" idltype="ns1:obj2" />
+                                                                </corba:struct>
+                                                                  <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:X/op_colorResult:1.0" type="xsd1:X.op_colorResult" name="X.op_colorResult">
+                                                                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="return" idltype="ns1:color" />
+                                                                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p2" idltype="ns1:color" />
+                                                                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p3" idltype="ns1:color" />
+                                                                  </corba:struct>
+                                                                    <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:X/op_unionThreeResult:1.0" type="xsd1:X.op_unionThreeResult" name="X.op_unionThreeResult">
+                                                                      <corba:member xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="return" idltype="tns:unionThree" />
+                                                                      <corba:member xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="p2" idltype="tns:unionThree" />
+                                                                      <corba:member xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="p3" idltype="tns:unionThree" />
+                                                                    </corba:struct>
+                                                                      <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:X/op_unionTwo:1.0" type="xsd1:X.op_unionTwo" name="X.op_unionTwo">
+                                                                        <corba:member xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="p1" idltype="tns:unionTwo" />
+                                                                        <corba:member xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="p2" idltype="tns:unionTwo" />
+                                                                      </corba:struct>
+                                                                        <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_complex.idl" repositoryID="IDL:X/op_structTwoResult:1.0" type="xsd1:X.op_structTwoResult" name="X.op_structTwoResult">
+                                                                          <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="return" idltype="ns1:structTwo" />
+                                                                          <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p2" idltype="ns1:structTwo" />
+                                                                          <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="p3" idltype="ns1:structTwo" />
+                                                                        </corba:struct>
+                                                                        </corba:typeMapping>
+  <types>
+    <schema targetNamespace="http://schemas.apache.org/idltypes/nested_complex.idl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+            <complexType name="obj">
+                <sequence>
+                    <element name="s" type="string"/>
+                </sequence>
+            </complexType>
+            <complexType name="S1">
+                <sequence>
+                    <element maxOccurs="25" minOccurs="25" name="item" type="xsd1:obj"/>
+                </sequence>
+            </complexType>
+            <complexType name="obj2">
+                <sequence>
+                    <element name="aa" type="xsd1:S1"/>
+                </sequence>
+            </complexType>
+            <simpleType name="color">
+                <restriction base="string">
+                    <enumeration value="RED"/>
+                    <enumeration value="GREEN"/>
+                    <enumeration value="BLUE"/>
+                </restriction>
+            </simpleType>
+            <complexType name="nested_choice">
+                <choice>
+                    <element name="e" type="string"/>
+                    <element name="f" type="float"/>
+                </choice>
+            </complexType>
+            <complexType name="_omg_nested_choice">
+                <sequence>
+                    <element maxOccurs="1" minOccurs="1" name="discriminator" type="int"/>
+                    <choice maxOccurs="1" minOccurs="0">
+                        <element name="e" type="string"/>
+                        <element name="f" type="float"/>
+                    </choice>
+                </sequence>
+            </complexType>
+            <complexType name="structOne">
+                <sequence>
+                    <element name="s" type="short"/>
+                    <element name="l" type="int"/>
+                </sequence>
+            </complexType>
+            <complexType name="structTwo">
+                <sequence>
+                    <element name="white" type="xsd1:color"/>
+                    <element name="nested_choice_f" type="xsd1:nested_choice"/>
+                    <element name="structOne_f" type="xsd1:structOne"/>
+                </sequence>
+            </complexType>
+            <complexType name="unionTwo">
+                <choice>
+                    <element name="nested_choice_f" type="xsd1:nested_choice"/>
+                    <element name="color_f" type="xsd1:color"/>
+                    <element name="structOne_f" type="xsd1:structOne"/>
+                </choice>
+            </complexType>
+            <complexType name="_omg_unionTwo">
+                <sequence>
+                    <element maxOccurs="1" minOccurs="1" name="discriminator" type="int"/>
+                    <choice maxOccurs="1" minOccurs="0">
+                        <element name="nested_choice_f" type="xsd1:nested_choice"/>
+                        <element name="color_f" type="xsd1:color"/>
+                        <element name="structOne_f" type="xsd1:structOne"/>
+                    </choice>
+                </sequence>
+            </complexType>
+            <complexType name="unionThree">
+                <choice>
+                    <element name="unionTwo_f" type="xsd1:unionTwo"/>
+                    <element name="obj2_f" type="xsd1:obj2"/>
+                </choice>
+            </complexType>
+            <complexType name="_omg_unionThree">
+                <sequence>
+                    <element maxOccurs="1" minOccurs="1" name="discriminator" type="int"/>
+                    <choice maxOccurs="1" minOccurs="0">
+                        <element name="unionTwo_f" type="xsd1:unionTwo"/>
+                        <element name="obj2_f" type="xsd1:obj2"/>
+                    </choice>
+                </sequence>
+            </complexType>
+            <element name="X.op_obj2">
+                <complexType>
+                    <sequence>
+                        <element name="p1" type="xsd1:obj2"/>
+                        <element name="p2" type="xsd1:obj2"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="X.op_obj2Result">
+                <complexType>
+                    <sequence>
+                        <element name="return" type="xsd1:obj2"/>
+                        <element name="p2" type="xsd1:obj2"/>
+                        <element name="p3" type="xsd1:obj2"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="X.op_structTwo">
+                <complexType>
+                    <sequence>
+                        <element name="p1" type="xsd1:structTwo"/>
+                        <element name="p2" type="xsd1:structTwo"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="X.op_structTwoResult">
+                <complexType>
+                    <sequence>
+                        <element name="return" type="xsd1:structTwo"/>
+                        <element name="p2" type="xsd1:structTwo"/>
+                        <element name="p3" type="xsd1:structTwo"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="X.op_unionTwo">
+                <complexType>
+                    <sequence>
+                        <element name="p1" type="xsd1:unionTwo"/>
+                        <element name="p2" type="xsd1:unionTwo"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="X.op_unionTwoResult">
+                <complexType>
+                    <sequence>
+                        <element name="return" type="xsd1:unionTwo"/>
+                        <element name="p2" type="xsd1:unionTwo"/>
+                        <element name="p3" type="xsd1:unionTwo"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="X.op_color">
+                <complexType>
+                    <sequence>
+                        <element name="p1" type="xsd1:color"/>
+                        <element name="p2" type="xsd1:color"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="X.op_colorResult">
+                <complexType>
+                    <sequence>
+                        <element name="return" type="xsd1:color"/>
+                        <element name="p2" type="xsd1:color"/>
+                        <element name="p3" type="xsd1:color"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="X.op_unionThree">
+                <complexType>
+                    <sequence>
+                        <element name="p1" type="xsd1:unionThree"/>
+                        <element name="p2" type="xsd1:unionThree"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="X.op_unionThreeResult">
+                <complexType>
+                    <sequence>
+                        <element name="return" type="xsd1:unionThree"/>
+                        <element name="p2" type="xsd1:unionThree"/>
+                        <element name="p3" type="xsd1:unionThree"/>
+                    </sequence>
+                </complexType>
+            </element>
+        </schema>
+  </types>
+  <message name="X.op_unionTwoResponse">
+    <part name="parameters" element="xsd1:X.op_unionTwoResult"/>
+  </message>
+  <message name="X.op_obj2Response">
+    <part name="parameters" element="xsd1:X.op_obj2Result"/>
+  </message>
+  <message name="X.op_unionTwo">
+    <part name="parameters" element="xsd1:X.op_unionTwo"/>
+  </message>
+  <message name="X.op_color">
+    <part name="parameters" element="xsd1:X.op_color"/>
+  </message>
+  <message name="X.op_structTwoResponse">
+    <part name="parameters" element="xsd1:X.op_structTwoResult"/>
+  </message>
+  <message name="X.op_unionThreeResponse">
+    <part name="parameters" element="xsd1:X.op_unionThreeResult"/>
+  </message>
+  <message name="X.op_structTwo">
+    <part name="parameters" element="xsd1:X.op_structTwo"/>
+  </message>
+  <message name="X.op_obj2">
+    <part name="parameters" element="xsd1:X.op_obj2"/>
+  </message>
+  <message name="X.op_colorResponse">
+    <part name="parameters" element="xsd1:X.op_colorResult"/>
+  </message>
+  <message name="X.op_unionThree">
+    <part name="parameters" element="xsd1:X.op_unionThree"/>
+  </message>
+  <portType name="X">
+    <operation name="op_obj2">
+      <input name="op_obj2" message="tns:X.op_obj2"/>
+      <output name="op_obj2Response" message="tns:X.op_obj2Response"/>
+    </operation>
+    <operation name="op_structTwo">
+      <input name="op_structTwo" message="tns:X.op_structTwo"/>
+      <output name="op_structTwoResponse" message="tns:X.op_structTwoResponse"/>
+    </operation>
+    <operation name="op_unionTwo">
+      <input name="op_unionTwo" message="tns:X.op_unionTwo"/>
+      <output name="op_unionTwoResponse" message="tns:X.op_unionTwoResponse"/>
+    </operation>
+    <operation name="op_color">
+      <input name="op_color" message="tns:X.op_color"/>
+      <output name="op_colorResponse" message="tns:X.op_colorResponse"/>
+    </operation>
+    <operation name="op_unionThree">
+      <input name="op_unionThree" message="tns:X.op_unionThree"/>
+      <output name="op_unionThreeResponse" message="tns:X.op_unionThreeResponse"/>
+    </operation>
+  </portType>
+  <binding name="XCORBABinding" type="tns:X">
+    <corba:binding repositoryID="IDL:X:1.0" />
+    <operation name="op_obj2">
+      <corba:operation name="op_obj2">
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" mode="in" name="p1" idltype="ns1:obj2" />
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" mode="out" name="p3" idltype="ns1:obj2" />
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" mode="inout" name="p2" idltype="ns1:obj2" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="return" idltype="ns1:obj2" />
+      </corba:operation>
+      <input name="op_obj2">
+      </input>
+      <output name="op_obj2Response">
+      </output>
+    </operation>
+    <operation name="op_structTwo">
+      <corba:operation name="op_structTwo">
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" mode="in" name="p1" idltype="ns1:structTwo" />
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" mode="out" name="p3" idltype="ns1:structTwo" />
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" mode="inout" name="p2" idltype="ns1:structTwo" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="return" idltype="ns1:structTwo" />
+      </corba:operation>
+      <input name="op_structTwo">
+      </input>
+      <output name="op_structTwoResponse">
+      </output>
+    </operation>
+    <operation name="op_unionTwo">
+      <corba:operation name="op_unionTwo">
+        <corba:param xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" mode="in" name="p1" idltype="tns:unionTwo" />
+        <corba:param xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" mode="out" name="p3" idltype="tns:unionTwo" />
+        <corba:param xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" mode="inout" name="p2" idltype="tns:unionTwo" />
+        <corba:return xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="return" idltype="tns:unionTwo" />
+      </corba:operation>
+      <input name="op_unionTwo">
+      </input>
+      <output name="op_unionTwoResponse">
+      </output>
+    </operation>
+    <operation name="op_color">
+      <corba:operation name="op_color">
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" mode="in" name="p1" idltype="ns1:color" />
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" mode="out" name="p3" idltype="ns1:color" />
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" mode="inout" name="p2" idltype="ns1:color" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/idl/nested_complex.idl/corba/typemap/" name="return" idltype="ns1:color" />
+      </corba:operation>
+      <input name="op_color">
+      </input>
+      <output name="op_colorResponse">
+      </output>
+    </operation>
+    <operation name="op_unionThree">
+      <corba:operation name="op_unionThree">
+        <corba:param xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" mode="in" name="p1" idltype="tns:unionThree" />
+        <corba:param xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" mode="out" name="p3" idltype="tns:unionThree" />
+        <corba:param xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" mode="inout" name="p2" idltype="tns:unionThree" />
+        <corba:return xmlns:tns="http://schemas.apache.org/idl/nested_complex.idl" name="return" idltype="tns:unionThree" />
+      </corba:operation>
+      <input name="op_unionThree">
+      </input>
+      <output name="op_unionThreeResponse">
+      </output>
+    </operation>
+  </binding>
+</definitions>

Propchange: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_complex.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_complex.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_complex.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_interfaces.wsdl
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_interfaces.wsdl?view=auto&rev=453580
==============================================================================
--- incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_interfaces.wsdl (added)
+++ incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_interfaces.wsdl Fri Oct  6 05:34:01 2006
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name="nested_interfaces" targetNamespace="http://schemas.apache.org/idl/nested_interfaces.idl" xmlns:tns="http://schemas.apache.org/idl/nested_interfaces.idl" xmlns:corbatm="http://schemas.apache.org/typemap/corba/nested_interfaces.idl" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:corba="http://schemas.apache.org/yoko/bindings/corba" xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://schemas.apache.org/idltypes/nested_interfaces.idl" xmlns="http://schemas.xmlsoap.org/wsdl/">
+  <corba:typeMapping targetNamespace="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/">
+    <corba:anonstring bound="14" type="corba:string" name="C.C1.aString" />
+    <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_interfaces.idl" repositoryID="IDL:A/A1/AA1:1.0" type="xsd1:A.A1.AA1" name="A.A1.AA1">
+      <corba:member name="s" idltype="corba:string" />
+      <corba:member name="f" idltype="corba:float" />
+    </corba:struct>
+      <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_interfaces.idl" repositoryID="IDL:B/B1/BB1:1.0" type="xsd1:B.B1.BB1" name="B.B1.BB1">
+        <corba:member name="t" idltype="corba:short" />
+        <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="r" idltype="ns1:A.A1.AA1" />
+      </corba:struct>
+        <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_interfaces.idl" repositoryID="IDL:C/C1/CC1:1.0" type="xsd1:C.C1.CC1" name="C.C1.CC1">
+          <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="aString_f" idltype="ns1:C.C1.aString" />
+          <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="b_f" idltype="ns1:B.B1.BB1" />
+        </corba:struct>
+          <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_interfaces.idl" repositoryID="IDL:B/B1/op_BB1Result:1.0" type="xsd1:B.B1.op_BB1Result" name="B.B1.op_BB1Result">
+            <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="return" idltype="ns1:B.B1.BB1" />
+            <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="p2" idltype="ns1:B.B1.BB1" />
+          </corba:struct>
+            <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_interfaces.idl" repositoryID="IDL:B/B1/op_BB1:1.0" type="xsd1:B.B1.op_BB1" name="B.B1.op_BB1">
+              <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="p1" idltype="ns1:A.A1.AA1" />
+            </corba:struct>
+              <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_interfaces.idl" repositoryID="IDL:A/A1/op_AA1:1.0" type="xsd1:A.A1.op_AA1" name="A.A1.op_AA1">
+                <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="p1" idltype="ns1:A.A1.AA1" />
+                <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="p2" idltype="ns1:A.A1.AA1" />
+              </corba:struct>
+                <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_interfaces.idl" repositoryID="IDL:C/C1/op_CC1:1.0" type="xsd1:C.C1.op_CC1" name="C.C1.op_CC1">
+                  <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="p1" idltype="ns1:C.C1.CC1" />
+                  <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="p2" idltype="ns1:B.B1.BB1" />
+                </corba:struct>
+                  <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_interfaces.idl" repositoryID="IDL:A/A1/op_AA1Result:1.0" type="xsd1:A.A1.op_AA1Result" name="A.A1.op_AA1Result">
+                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="return" idltype="ns1:A.A1.AA1" />
+                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="p2" idltype="ns1:A.A1.AA1" />
+                    <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="p3" idltype="ns1:A.A1.AA1" />
+                  </corba:struct>
+                    <corba:struct xmlns:xsd1="http://schemas.apache.org/idltypes/nested_interfaces.idl" repositoryID="IDL:C/C1/op_CC1Result:1.0" type="xsd1:C.C1.op_CC1Result" name="C.C1.op_CC1Result">
+                      <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="return" idltype="ns1:C.C1.CC1" />
+                      <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="p2" idltype="ns1:B.B1.BB1" />
+                      <corba:member xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="p3" idltype="ns1:A.A1.AA1" />
+                    </corba:struct>
+                    </corba:typeMapping>
+  <types>
+    <schema targetNamespace="http://schemas.apache.org/idltypes/nested_interfaces.idl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+            <complexType name="A.A1.AA1">
+                <sequence>
+                    <element name="s" type="string"/>
+                    <element name="f" type="float"/>
+                </sequence>
+            </complexType>
+            <complexType name="B.B1.BB1">
+                <sequence>
+                    <element name="t" type="short"/>
+                    <element name="r" type="xsd1:A.A1.AA1"/>
+                </sequence>
+            </complexType>
+            <simpleType name="C.C1.aString">
+                <restriction base="string">
+                    <maxLength value="14"/>
+                </restriction>
+            </simpleType>
+            <complexType name="C.C1.CC1">
+                <sequence>
+                    <element name="aString_f" type="xsd1:C.C1.aString"/>
+                    <element name="b_f" type="xsd1:B.B1.BB1"/>
+                </sequence>
+            </complexType>
+            <element name="A.A1.op_AA1">
+                <complexType>
+                    <sequence>
+                        <element name="p1" type="xsd1:A.A1.AA1"/>
+                        <element name="p2" type="xsd1:A.A1.AA1"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="A.A1.op_AA1Result">
+                <complexType>
+                    <sequence>
+                        <element name="return" type="xsd1:A.A1.AA1"/>
+                        <element name="p2" type="xsd1:A.A1.AA1"/>
+                        <element name="p3" type="xsd1:A.A1.AA1"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="B.B1.op_BB1">
+                <complexType>
+                    <sequence>
+                        <element name="p1" type="xsd1:A.A1.AA1"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="B.B1.op_BB1Result">
+                <complexType>
+                    <sequence>
+                        <element name="return" type="xsd1:B.B1.BB1"/>
+                        <element name="p2" type="xsd1:B.B1.BB1"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="C.C1.op_CC1">
+                <complexType>
+                    <sequence>
+                        <element name="p1" type="xsd1:C.C1.CC1"/>
+                        <element name="p2" type="xsd1:B.B1.BB1"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="C.C1.op_CC1Result">
+                <complexType>
+                    <sequence>
+                        <element name="return" type="xsd1:C.C1.CC1"/>
+                        <element name="p2" type="xsd1:B.B1.BB1"/>
+                        <element name="p3" type="xsd1:A.A1.AA1"/>
+                    </sequence>
+                </complexType>
+            </element>
+        </schema>
+  </types>
+  <message name="B.B1.op_BB1Response">
+    <part name="parameters" element="xsd1:B.B1.op_BB1Result"/>
+  </message>
+  <message name="A.A1.op_AA1">
+    <part name="parameters" element="xsd1:A.A1.op_AA1"/>
+  </message>
+  <message name="C.C1.op_CC1Response">
+    <part name="parameters" element="xsd1:C.C1.op_CC1Result"/>
+  </message>
+  <message name="B.B1.op_BB1">
+    <part name="parameters" element="xsd1:B.B1.op_BB1"/>
+  </message>
+  <message name="C.C1.op_CC1">
+    <part name="parameters" element="xsd1:C.C1.op_CC1"/>
+  </message>
+  <message name="A.A1.op_AA1Response">
+    <part name="parameters" element="xsd1:A.A1.op_AA1Result"/>
+  </message>
+  <portType name="C.C1">
+    <operation name="op_CC1">
+      <input name="op_CC1" message="tns:C.C1.op_CC1"/>
+      <output name="op_CC1Response" message="tns:C.C1.op_CC1Response"/>
+    </operation>
+  </portType>
+  <portType name="B.B1">
+    <operation name="op_BB1">
+      <input name="op_BB1" message="tns:B.B1.op_BB1"/>
+      <output name="op_BB1Response" message="tns:B.B1.op_BB1Response"/>
+    </operation>
+  </portType>
+  <portType name="A.A1">
+    <operation name="op_AA1">
+      <input name="op_AA1" message="tns:A.A1.op_AA1"/>
+      <output name="op_AA1Response" message="tns:A.A1.op_AA1Response"/>
+    </operation>
+  </portType>
+  <binding name="C.C1CORBABinding" type="tns:C.C1">
+    <corba:binding repositoryID="IDL:C/C1:1.0" />
+    <operation name="op_CC1">
+      <corba:operation name="op_CC1">
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" mode="in" name="p1" idltype="ns1:C.C1.CC1" />
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" mode="out" name="p3" idltype="ns1:A.A1.AA1" />
+        <corba:param xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" mode="inout" name="p2" idltype="ns1:B.B1.BB1" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/idl/nested_interfaces.idl/corba/typemap/" name="return" idltype="ns1:C.C1.CC1" />
+      </corba:operation>
+      <input name="op_CC1">
+      </input>
+      <output name="op_CC1Response">
+      </output>
+    </operation>
+  </binding>
+</definitions>

Propchange: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_interfaces.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_interfaces.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/yoko/trunk/tools/src/test/resources/idlgen/nested_interfaces.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml