You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2008/01/08 03:47:59 UTC
svn commit: r609848 [3/7] - in /incubator/cxf/trunk/tools/corba: ./
src/main/generated/ src/main/generated/org/ src/main/generated/org/apache/
src/main/generated/org/apache/yoko/ src/main/generated/org/apache/yoko/tools/
src/main/generated/org/apache/y...
Propchange: incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLParser.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLTokenTypes.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLTokenTypes.java?rev=609848&view=auto
==============================================================================
--- incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLTokenTypes.java (added)
+++ incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLTokenTypes.java Mon Jan 7 18:47:56 2008
@@ -0,0 +1,125 @@
+// $ANTLR 2.7.4: "idl.g" -> "IDLParser.java"$
+
+ package org.apache.yoko.tools.processors.idl;
+
+ import java.io.*;
+ import java.util.Vector;
+ import java.util.Hashtable;
+
+public interface IDLTokenTypes {
+ int EOF = 1;
+ int NULL_TREE_LOOKAHEAD = 3;
+ int SEMI = 4;
+ int LITERAL_abstract = 5;
+ int LITERAL_local = 6;
+ int LITERAL_interface = 7;
+ int LITERAL_custom = 8;
+ int LITERAL_valuetype = 9;
+ int LITERAL_eventtype = 10;
+ int LITERAL_module = 11;
+ int LCURLY = 12;
+ int RCURLY = 13;
+ int COLON = 14;
+ int COMMA = 15;
+ int SCOPEOP = 16;
+ int IDENT = 17;
+ int LITERAL_truncatable = 18;
+ int LITERAL_supports = 19;
+ int LITERAL_public = 20;
+ int LITERAL_private = 21;
+ int LITERAL_factory = 22;
+ int LPAREN = 23;
+ int RPAREN = 24;
+ int LITERAL_in = 25;
+ int LITERAL_const = 26;
+ int ASSIGN = 27;
+ int OR = 28;
+ int XOR = 29;
+ int AND = 30;
+ int LSHIFT = 31;
+ int RSHIFT = 32;
+ int PLUS = 33;
+ int MINUS = 34;
+ int STAR = 35;
+ int DIV = 36;
+ int MOD = 37;
+ int TILDE = 38;
+ int LITERAL_TRUE = 39;
+ int LITERAL_FALSE = 40;
+ int LITERAL_typedef = 41;
+ int LITERAL_native = 42;
+ int LITERAL_float = 43;
+ int LITERAL_double = 44;
+ int LITERAL_long = 45;
+ int LITERAL_short = 46;
+ int LITERAL_unsigned = 47;
+ int LITERAL_char = 48;
+ int LITERAL_wchar = 49;
+ int LITERAL_boolean = 50;
+ int LITERAL_octet = 51;
+ int LITERAL_any = 52;
+ int LITERAL_Object = 53;
+ int LITERAL_struct = 54;
+ int LITERAL_union = 55;
+ int LITERAL_switch = 56;
+ int LITERAL_case = 57;
+ int LITERAL_default = 58;
+ int LITERAL_enum = 59;
+ int LITERAL_sequence = 60;
+ int LT = 61;
+ int GT = 62;
+ int LITERAL_string = 63;
+ int LITERAL_wstring = 64;
+ int LBRACK = 65;
+ int RBRACK = 66;
+ int LITERAL_exception = 67;
+ int LITERAL_oneway = 68;
+ int LITERAL_void = 69;
+ int LITERAL_out = 70;
+ int LITERAL_inout = 71;
+ int LITERAL_raises = 72;
+ int LITERAL_context = 73;
+ int LITERAL_fixed = 74;
+ int LITERAL_ValueBase = 75;
+ int LITERAL_import = 76;
+ int LITERAL_typeid = 77;
+ int LITERAL_typeprefix = 78;
+ int LITERAL_readonly = 79;
+ int LITERAL_attribute = 80;
+ int LITERAL_getraises = 81;
+ int LITERAL_setraises = 82;
+ int LITERAL_component = 83;
+ int LITERAL_provides = 84;
+ int LITERAL_uses = 85;
+ int LITERAL_multiple = 86;
+ int LITERAL_emits = 87;
+ int LITERAL_publishes = 88;
+ int LITERAL_consumes = 89;
+ int LITERAL_home = 90;
+ int LITERAL_manages = 91;
+ int LITERAL_primarykey = 92;
+ int LITERAL_finder = 93;
+ int INT = 94;
+ int OCTAL = 95;
+ int HEX = 96;
+ int STRING_LITERAL = 97;
+ int WIDE_STRING_LITERAL = 98;
+ int CHAR_LITERAL = 99;
+ int WIDE_CHAR_LITERAL = 100;
+ int FIXED = 101;
+ int FLOAT = 102;
+ int QUESTION = 103;
+ int DOT = 104;
+ int NOT = 105;
+ int WS = 106;
+ int PREPROC_DIRECTIVE = 107;
+ int SL_COMMENT = 108;
+ int ML_COMMENT = 109;
+ int ESC = 110;
+ int VOCAB = 111;
+ int DIGIT = 112;
+ int NONZERODIGIT = 113;
+ int OCTDIGIT = 114;
+ int HEXDIGIT = 115;
+ int ESCAPED_IDENT = 116;
+}
Propchange: incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLTokenTypes.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLTokenTypes.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLTokenTypes.txt?rev=609848&view=auto
==============================================================================
--- incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLTokenTypes.txt (added)
+++ incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLTokenTypes.txt Mon Jan 7 18:47:56 2008
@@ -0,0 +1,115 @@
+// $ANTLR 2.7.4: idl.g -> IDLTokenTypes.txt$
+IDL // output token vocab name
+SEMI(";")=4
+LITERAL_abstract="abstract"=5
+LITERAL_local="local"=6
+LITERAL_interface="interface"=7
+LITERAL_custom="custom"=8
+LITERAL_valuetype="valuetype"=9
+LITERAL_eventtype="eventtype"=10
+LITERAL_module="module"=11
+LCURLY("{")=12
+RCURLY("}")=13
+COLON(":")=14
+COMMA(",")=15
+SCOPEOP("::")=16
+IDENT("an identifer")=17
+LITERAL_truncatable="truncatable"=18
+LITERAL_supports="supports"=19
+LITERAL_public="public"=20
+LITERAL_private="private"=21
+LITERAL_factory="factory"=22
+LPAREN("(")=23
+RPAREN(")")=24
+LITERAL_in="in"=25
+LITERAL_const="const"=26
+ASSIGN("=")=27
+OR("|")=28
+XOR("^")=29
+AND("&")=30
+LSHIFT("<<")=31
+RSHIFT(">>")=32
+PLUS("+")=33
+MINUS("-")=34
+STAR("*")=35
+DIV("/")=36
+MOD("%")=37
+TILDE("~")=38
+LITERAL_TRUE="TRUE"=39
+LITERAL_FALSE="FALSE"=40
+LITERAL_typedef="typedef"=41
+LITERAL_native="native"=42
+LITERAL_float="float"=43
+LITERAL_double="double"=44
+LITERAL_long="long"=45
+LITERAL_short="short"=46
+LITERAL_unsigned="unsigned"=47
+LITERAL_char="char"=48
+LITERAL_wchar="wchar"=49
+LITERAL_boolean="boolean"=50
+LITERAL_octet="octet"=51
+LITERAL_any="any"=52
+LITERAL_Object="Object"=53
+LITERAL_struct="struct"=54
+LITERAL_union="union"=55
+LITERAL_switch="switch"=56
+LITERAL_case="case"=57
+LITERAL_default="default"=58
+LITERAL_enum="enum"=59
+LITERAL_sequence="sequence"=60
+LT("<")=61
+GT(">")=62
+LITERAL_string="string"=63
+LITERAL_wstring="wstring"=64
+LBRACK("[")=65
+RBRACK("]")=66
+LITERAL_exception="exception"=67
+LITERAL_oneway="oneway"=68
+LITERAL_void="void"=69
+LITERAL_out="out"=70
+LITERAL_inout="inout"=71
+LITERAL_raises="raises"=72
+LITERAL_context="context"=73
+LITERAL_fixed="fixed"=74
+LITERAL_ValueBase="ValueBase"=75
+LITERAL_import="import"=76
+LITERAL_typeid="typeid"=77
+LITERAL_typeprefix="typeprefix"=78
+LITERAL_readonly="readonly"=79
+LITERAL_attribute="attribute"=80
+LITERAL_getraises="getraises"=81
+LITERAL_setraises="setraises"=82
+LITERAL_component="component"=83
+LITERAL_provides="provides"=84
+LITERAL_uses="uses"=85
+LITERAL_multiple="multiple"=86
+LITERAL_emits="emits"=87
+LITERAL_publishes="publishes"=88
+LITERAL_consumes="consumes"=89
+LITERAL_home="home"=90
+LITERAL_manages="manages"=91
+LITERAL_primarykey="primarykey"=92
+LITERAL_finder="finder"=93
+INT("an integer value")=94
+OCTAL("an octal value")=95
+HEX("a hexadecimal value value")=96
+STRING_LITERAL("a string literal")=97
+WIDE_STRING_LITERAL("a wide string literal")=98
+CHAR_LITERAL("a character literal")=99
+WIDE_CHAR_LITERAL("a wide character literal")=100
+FIXED=101
+FLOAT("a floating point value")=102
+QUESTION("?")=103
+DOT(".")=104
+NOT("!")=105
+WS("white space")=106
+PREPROC_DIRECTIVE("a preprocessor directive")=107
+SL_COMMENT("a comment")=108
+ML_COMMENT("a comment")=109
+ESC("an escape sequence")=110
+VOCAB("an escaped character value")=111
+DIGIT("a digit")=112
+NONZERODIGIT("a non-zero digit")=113
+OCTDIGIT("an octal digit")=114
+HEXDIGIT("a hexadecimal digit")=115
+ESCAPED_IDENT("an escaped identifer")=116
Propchange: incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLTokenTypes.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/tools/corba/src/main/generated/org/apache/yoko/tools/processors/idl/IDLTokenTypes.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/cxf/trunk/tools/corba/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToProcessor.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/corba/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToProcessor.java?rev=609848&r1=609847&r2=609848&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/corba/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToProcessor.java (original)
+++ incubator/cxf/trunk/tools/corba/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToProcessor.java Mon Jan 7 18:47:56 2008
@@ -83,7 +83,7 @@
try {
WSDLFactory factory = WSDLFactory.newInstance();
WSDLReader reader = factory.newWSDLReader();
- reader.setFeature("javax.wsdl.verbose", true);
+ reader.setFeature("javax.wsdl.verbose", false);
reader.setFeature("javax.wsdl.importDocuments", true);
if (getExtensionRegistry() != null) {
reader.setExtensionRegistry(extReg);
Modified: incubator/cxf/trunk/tools/corba/src/test/java/org/apache/yoko/tools/WSDLToIDLTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/corba/src/test/java/org/apache/yoko/tools/WSDLToIDLTest.java?rev=609848&r1=609847&r2=609848&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/corba/src/test/java/org/apache/yoko/tools/WSDLToIDLTest.java (original)
+++ incubator/cxf/trunk/tools/corba/src/test/java/org/apache/yoko/tools/WSDLToIDLTest.java Mon Jan 7 18:47:56 2008
@@ -290,7 +290,9 @@
public void testIdlGenMissingBinding() throws Exception {
- String[] cmdArgs = {"-idl", getClass().getResource("/wsdl/simpleList.wsdl").toString()};
+ String[] cmdArgs = {"-d", output.getAbsolutePath(),
+ "-idl",
+ getClass().getResource("/wsdl/simpleList.wsdl").toString()};
int exc = execute(cmdArgs);
assertEquals("WSDLToIDL Failed", error, exc);
String expected = "Error : Binding Name required for generating IDL";
@@ -298,7 +300,8 @@
}
public void testIdlGenInvalidBinding() throws Exception {
- String[] cmdArgs = {"-idl", "-b", "TestBinding",
+ String[] cmdArgs = {"-d", output.getAbsolutePath(),
+ "-idl", "-b", "TestBinding",
getClass().getResource("/wsdl/simpleList.wsdl").toString()};
int exc = execute(cmdArgs);
assertEquals("WSDLToCORBA Failed", error, exc);
@@ -307,7 +310,8 @@
}
public void testMissingBindingName() throws Exception {
- String[] cmdArgs = {"-i", "BasePortType",
+ String[] cmdArgs = {"-d", output.getAbsolutePath(),
+ "-i", "BasePortType",
getClass().getResource("/wsdl/simpleList.wsdl").toString()};
assertEquals("WSDLToIDL should succeed even without Binding name. "
+ "Name used from creation of CORBA binding to generate IDL.",
Modified: incubator/cxf/trunk/tools/corba/src/test/java/org/apache/yoko/tools/processors/IDLToWSDLGenerationTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/corba/src/test/java/org/apache/yoko/tools/processors/IDLToWSDLGenerationTest.java?rev=609848&r1=609847&r2=609848&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/corba/src/test/java/org/apache/yoko/tools/processors/IDLToWSDLGenerationTest.java (original)
+++ incubator/cxf/trunk/tools/corba/src/test/java/org/apache/yoko/tools/processors/IDLToWSDLGenerationTest.java Mon Jan 7 18:47:56 2008
@@ -35,33 +35,33 @@
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamReader;
-import junit.framework.TestCase;
import org.apache.yoko.tools.common.ProcessorEnvironment;
import org.apache.yoko.tools.common.ToolCorbaConstants;
import org.apache.yoko.tools.processors.idl.IDLToWSDLProcessor;
import org.apache.yoko.tools.utils.WSDLGenerationTester;
+import org.junit.After;
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
-public class IDLToWSDLGenerationTest extends TestCase {
+public class IDLToWSDLGenerationTest extends Assert {
private XMLInputFactory factory;
private WSDLGenerationTester wsdlGenTester;
- public IDLToWSDLGenerationTest(String name) {
- super(name);
- wsdlGenTester = new WSDLGenerationTester();
- }
- protected void setUp() {
+ @Before
+ public void setUp() {
factory = XMLInputFactory.newInstance();
+ wsdlGenTester = new WSDLGenerationTester();
}
- protected void tearDown() {
+ @After
+ public void tearDown() {
+ wsdlGenTester = null;
+ factory = null;
}
- public static void main(String args[]) {
- junit.textui.TestRunner.run(IDLToWSDLGenerationTest.class);
- }
-
public void testWSDLGeneration(String sourceIdlFilename,
String expectedWsdlFilename)
throws Exception {
@@ -86,182 +86,223 @@
}
+ @Test
public void testHelloWorldWSDLGeneration() throws Exception {
testWSDLGeneration("/idl/HelloWorld.idl", "/idl/expected_HelloWorld.wsdl");
}
+ @Test
public void testPrimitivesGeneration() throws Exception {
testWSDLGeneration("/idl/primitives.idl", "/idl/expected_Primitives.wsdl");
}
+ @Test
public void testExceptionGeneration() throws Exception {
testWSDLGeneration("/idl/Exception.idl", "/idl/expected_Exception.wsdl");
}
+ @Test
public void testStructGeneration() throws Exception {
testWSDLGeneration("/idl/Struct.idl", "/idl/expected_Struct.wsdl");
}
+ @Test
public void testScopedStructGeneration() throws Exception {
testWSDLGeneration("/idl/scopedStruct.idl", "/idl/expected_scopedStruct.wsdl");
}
+ @Test
public void testOnewayGeneration() throws Exception {
testWSDLGeneration("/idl/Oneway.idl", "/idl/expected_Oneway.wsdl");
}
+ @Test
public void testConstGeneration() throws Exception {
testWSDLGeneration("/idl/Const.idl", "/idl/expected_Const.wsdl");
}
+ @Test
public void testEnumGeneration() throws Exception {
testWSDLGeneration("/idl/Enum.idl", "/idl/expected_Enum.wsdl");
}
+ @Test
public void testUnionGeneration() throws Exception {
testWSDLGeneration("/idl/Union.idl", "/idl/expected_Union.wsdl");
}
+ @Test
public void testFixedGeneration() throws Exception {
testWSDLGeneration("/idl/Fixed.idl", "/idl/expected_Fixed.wsdl");
}
+ @Test
public void testTypedefGeneration() throws Exception {
testWSDLGeneration("/idl/Typedef.idl", "/idl/expected_Typedef.wsdl");
}
+ @Test
public void testStringGeneration() throws Exception {
testWSDLGeneration("/idl/String.idl", "/idl/expected_String.wsdl");
}
+ @Test
public void testAttributesGeneration() throws Exception {
testWSDLGeneration("/idl/Attributes.idl", "/idl/expected_Attributes.wsdl");
}
+ @Test
public void testSequenceGeneration() throws Exception {
testWSDLGeneration("/idl/Sequence.idl", "/idl/expected_Sequence.wsdl");
}
+ @Test
public void testArrayGeneration() throws Exception {
testWSDLGeneration("/idl/Array.idl", "/idl/expected_Array.wsdl");
}
+ @Test
public void testAnonarrayGeneration() throws Exception {
testWSDLGeneration("/idl/Anonarray.idl", "/idl/expected_Anonarray.wsdl");
}
+ @Test
public void testAnonsequenceGeneration() throws Exception {
testWSDLGeneration("/idl/Anonsequence.idl", "/idl/expected_Anonsequence.wsdl");
}
+ @Test
public void testAnonboundedsequenceGeneration() throws Exception {
testWSDLGeneration("/idl/Anonboundedsequence.idl", "/idl/expected_Anonboundedsequence.wsdl");
}
+ @Test
public void testAnonstringGeneration() throws Exception {
testWSDLGeneration("/idl/Anonstring.idl", "/idl/expected_Anonstring.wsdl");
}
+ @Test
public void testMultipleDeclaratorsGeneration() throws Exception {
testWSDLGeneration("/idl/Declarators.idl", "/idl/expected_Declarators.wsdl");
}
+ @Test
public void testObjectReferenceGeneration() throws Exception {
testWSDLGeneration("/idl/ObjectRef.idl", "/idl/expected_ObjectRef.wsdl");
}
-
-
+
+ @Test
public void testScopingOperationGeneration() throws Exception {
testWSDLGeneration("/idl/scopingOperation.idl", "/idl/expected_scopingOperation.wsdl");
}
+ @Test
public void testScopingObjectRefGlobalGeneration() throws Exception {
testWSDLGeneration("/idl/scopingObjectRefGlobal.idl", "/idl/expected_scopingObjectRefGlobal.wsdl");
}
+ @Test
public void testScopingObjectRefGeneration() throws Exception {
testWSDLGeneration("/idl/scopingObjectRef.idl", "/idl/expected_scopingObjectRef.wsdl");
}
+ @Test
public void testScopingStringGeneration() throws Exception {
testWSDLGeneration("/idl/scopedString.idl", "/idl/expected_scopedString.wsdl");
}
+ @Test
public void testForwardInterface() throws Exception {
testWSDLGeneration("/idl/ForwardInterface.idl", "/idl/expected_ForwardInterface.wsdl");
}
+ @Test
public void testForwardInterfaceParam() throws Exception {
testWSDLGeneration("/idl/ForwardInterfaceParam.idl", "/idl/expected_ForwardInterfaceParam.wsdl");
}
+ @Test
public void testForwardInterfaceStructUnion() throws Exception {
testWSDLGeneration("/idl/ForwardInterfaceStructUnion.idl",
"/idl/expected_ForwardInterfaceStructUnion.wsdl");
}
+ @Test
public void testForwardInterfaceSequence() throws Exception {
testWSDLGeneration("/idl/ForwardInterfaceSequence.idl",
"/idl/expected_ForwardInterfaceSequence.wsdl");
}
+ @Test
public void testForwardInterfaceArray() throws Exception {
testWSDLGeneration("/idl/ForwardInterfaceArray.idl", "/idl/expected_ForwardInterfaceArray.wsdl");
}
+ @Test
public void testForwardInterfaceAttributes() throws Exception {
testWSDLGeneration("/idl/ForwardInterfaceAttributes.idl",
"/idl/expected_ForwardInterfaceAttributes.wsdl");
}
+ @Test
public void testForwardInterfaceExceptions() throws Exception {
testWSDLGeneration("/idl/ForwardInterfaceException.idl",
"/idl/expected_ForwardInterfaceException.wsdl");
}
+ @Test
public void testForwardInterfaceTypedef() throws Exception {
testWSDLGeneration("/idl/ForwardInterfaceTypedef.idl",
"/idl/expected_ForwardInterfaceTypedef.wsdl");
}
+ @Test
public void testForwardStruct() throws Exception {
testWSDLGeneration("/idl/ForwardStruct.idl",
"/idl/expected_ForwardStruct.wsdl");
}
+ @Test
public void testForwardUnion() throws Exception {
testWSDLGeneration("/idl/ForwardUnion.idl",
"/idl/expected_ForwardUnion.wsdl");
}
+ @Test
public void testIncludeGeneration() throws Exception {
testWSDLGeneration("/idl/included.idl", "/idl/expected_Included.wsdl");
}
+ @Test
public void testInterfaceInheritance() throws Exception {
testWSDLGeneration("/idl/inheritance.idl", "/idl/expected_Inheritance.wsdl");
}
+ @Test
public void testDuplicateOperationNames() throws Exception {
// This tests operations with the same name but in different scopes
testWSDLGeneration("/idl/duplicateOpNames.idl", "/idl/expected_duplicateOpNames.wsdl");
}
+ @Test
public void testConstScopedNames() throws Exception {
// This tests consts where their types are scoped names
testWSDLGeneration("/idl/ConstScopename.idl", "/idl/expected_ConstScopename.wsdl");
}
+ @Test
public void testTypedfOctet() throws Exception {
// This tests typedef sequence of octets.
testWSDLGeneration("/idl/Octet.idl", "/idl/expected_Octet.wsdl");
}
+ @Test
public void testRecursiveStructs() throws Exception {
// This tests for recursive structs
testWSDLGeneration("/idl/RecursiveStruct.idl", "/idl/expected_RecursiveStruct.wsdl");
}
+ @Test
public void testRecursiveUnions() throws Exception {
// This tests for recursive unions
testWSDLGeneration("/idl/RecursiveUnion.idl", "/idl/expected_RecursiveUnion.wsdl");
@@ -379,6 +420,7 @@
}
+ @Test
public void testSchemaOnly() throws Exception {
// This tests if -T option is only passed.
testLogicalPhysicalSchemaGeneration("/idl/OptionsSchema.idl",
@@ -392,6 +434,7 @@
// default files generated in user dir - no full path specified.
// This tests if -P and -T options are passed.
+ @Test
public void testPhysicalSchema() throws Exception {
testLogicalPhysicalSchemaGeneration("/idl/OptionsPT.idl", null,
"expected_PhysicalPT.wsdl",
@@ -401,6 +444,7 @@
"expected_SchemaPT.xsd");
}
+ @Test
public void testLogicalSchema() throws Exception {
// This tests -L and -T options are passed.
testLogicalPhysicalSchemaGeneration("/idl/OptionsLT.idl",
@@ -412,6 +456,7 @@
}
+ @Test
public void testLogicalOnly() throws Exception {
// This tests if only -L option is passed.
testLogicalPhysicalSchemaGeneration("/idl/OptionL.idl",
@@ -422,6 +467,7 @@
"expected_Logical.wsdl");
}
+ @Test
public void testLogicalPhysical() throws Exception {
// This tests if -L and -P options are passed.
testLogicalPhysicalSchemaGeneration("/idl/OptionsLP.idl", "expected_LogicalLP.wsdl",
@@ -431,6 +477,7 @@
null);
}
+ @Test
public void testPhysicalOnly() throws Exception {
// This tests if -P option is only passed.
testLogicalPhysicalSchemaGeneration("/idl/OptionP.idl", null,
@@ -441,6 +488,7 @@
"null");
}
+ @Test
public void testLogicalPyhsicalSchema() throws Exception {
// This tests if -L, -P and -T options are passed.
testLogicalPhysicalSchemaGeneration("/idl/OptionsLPT.idl",
@@ -454,6 +502,7 @@
}
+ @Test
public void testEncodingGeneration() throws Exception {
try {
Modified: incubator/cxf/trunk/tools/corba/src/test/resources/idl/Array.idl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/corba/src/test/resources/idl/Array.idl?rev=609848&r1=609847&r2=609848&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/corba/src/test/resources/idl/Array.idl (original)
+++ incubator/cxf/trunk/tools/corba/src/test/resources/idl/Array.idl Mon Jan 7 18:47:56 2008
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-
+
typedef long LongArray[10];
typedef long LongArrayArray[10][100];
@@ -35,3 +35,8 @@
typedef myLong MyLongArrayArray[10][100];
typedef myLong MyLongArrayArrayArray[10][100][1000];
typedef myLong MyLongArrayArrayArrayArray[10][100][1000][10000];
+
+
+typedef string<35> BuildingAddress_T;
+typedef BuildingAddress_T BuildingAddress_6_T[6];
+
\ No newline at end of file
Modified: incubator/cxf/trunk/tools/corba/src/test/resources/idl/HelloWorld.idl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/corba/src/test/resources/idl/HelloWorld.idl?rev=609848&r1=609847&r2=609848&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/corba/src/test/resources/idl/HelloWorld.idl (original)
+++ incubator/cxf/trunk/tools/corba/src/test/resources/idl/HelloWorld.idl Mon Jan 7 18:47:56 2008
@@ -18,6 +18,9 @@
*/
interface HelloWorld {
+ /**
+ * when extra "*******" are added below no exception should be thrown
+ *********/
string
greetMe(
in string return_message
Modified: incubator/cxf/trunk/tools/corba/src/test/resources/idl/expected_Anonarray.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/corba/src/test/resources/idl/expected_Anonarray.wsdl?rev=609848&r1=609847&r2=609848&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/corba/src/test/resources/idl/expected_Anonarray.wsdl (original)
+++ incubator/cxf/trunk/tools/corba/src/test/resources/idl/expected_Anonarray.wsdl Mon Jan 7 18:47:56 2008
@@ -19,291 +19,291 @@
-->
<wsdl:definitions targetNamespace="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:tns="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:corba="http://schemas.apache.org/yoko/bindings/corba" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<corba:typeMapping targetNamespace="http://schemas.apache.org/yoko/idl/Anonarray/typemap">
- <corba:anonarray xmlns="" elemname="item" bound="2" type="corba:long" name="anonStruct._1_structLongArray" />
- <corba:anonarray xmlns="" elemname="item" bound="4" type="corba:long" name="anonStruct._1_structLongArrayArray" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="2" type="ns4:anonStruct._1_structLongArrayArray" name="anonStruct._2_structLongArrayArray" />
- <corba:anonarray xmlns="" elemname="item" bound="8" type="corba:long" name="anonStruct._1_structLongArrayArrayArray" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="4" type="ns4:anonStruct._1_structLongArrayArrayArray" name="anonStruct._2_structLongArrayArrayArray" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="2" type="ns4:anonStruct._2_structLongArrayArrayArray" name="anonStruct._3_structLongArrayArrayArray" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="2" type="ns4:anonStruct._Anon1_structLongArray" name="anonStruct._Anon1_structLongArray" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="4" type="ns4:anonStruct._Anon1_structLongArrayArray" name="anonStruct._Anon1_structLongArrayArray" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonStruct._Anon1_structLongArrayArray" elemname="item" bound="2" type="ns5:anonStruct._Anon2_structLongArrayArray" name="anonStruct._Anon2_structLongArrayArray" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="8" type="ns4:anonStruct._Anon1_structLongArrayArrayArray" name="anonStruct._Anon1_structLongArrayArrayArray" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonStruct._Anon1_structLongArrayArrayArray" elemname="item" bound="4" type="ns5:anonStruct._Anon2_structLongArrayArrayArray" name="anonStruct._Anon2_structLongArrayArrayArray" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonStruct._Anon2_structLongArrayArrayArray" elemname="item" bound="2" type="ns5:anonStruct._Anon3_structLongArrayArrayArray" name="anonStruct._Anon3_structLongArrayArrayArray" />
<corba:struct xmlns="http://schemas.apache.org/yoko/idl/Anonarray" repositoryID="IDL:anonStruct:1.0" type="anonStruct" name="anonStruct">
- <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="structLongArray" idltype="ns4:anonStruct._1_structLongArray" />
- <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="structLongArrayArray" idltype="ns4:anonStruct._2_structLongArrayArray" />
- <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="structLongArrayArrayArray" idltype="ns4:anonStruct._3_structLongArrayArrayArray" />
+ <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="structLongArray" idltype="ns4:anonStruct._Anon1_structLongArray" />
+ <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="structLongArrayArray" idltype="ns4:anonStruct._Anon2_structLongArrayArray" />
+ <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="structLongArrayArrayArray" idltype="ns4:anonStruct._Anon3_structLongArrayArrayArray" />
</corba:struct>
- <corba:anonarray xmlns="" elemname="item" bound="2" type="corba:long" name="anonTypedefStruct._1_typedefStructLongArray" />
- <corba:anonarray xmlns="" elemname="item" bound="4" type="corba:long" name="anonTypedefStruct._1_typedefStructLongArrayArray" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="2" type="ns4:anonTypedefStruct._1_typedefStructLongArrayArray" name="anonTypedefStruct._2_typedefStructLongArrayArray" />
- <corba:anonarray xmlns="" elemname="item" bound="8" type="corba:long" name="anonTypedefStruct._1_typedefStructLongArrayArrayArray" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="4" type="ns4:anonTypedefStruct._1_typedefStructLongArrayArrayArray" name="anonTypedefStruct._2_typedefStructLongArrayArrayArray" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="2" type="ns4:anonTypedefStruct._2_typedefStructLongArrayArrayArray" name="anonTypedefStruct._3_typedefStructLongArrayArrayArray" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="2" type="ns4:anonTypedefStruct._Anon1_typedefStructLongArray" name="anonTypedefStruct._Anon1_typedefStructLongArray" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="4" type="ns4:anonTypedefStruct._Anon1_typedefStructLongArrayArray" name="anonTypedefStruct._Anon1_typedefStructLongArrayArray" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonTypedefStruct._Anon1_typedefStructLongArrayArray" elemname="item" bound="2" type="ns5:anonTypedefStruct._Anon2_typedefStructLongArrayArray" name="anonTypedefStruct._Anon2_typedefStructLongArrayArray" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="8" type="ns4:anonTypedefStruct._Anon1_typedefStructLongArrayArrayArray" name="anonTypedefStruct._Anon1_typedefStructLongArrayArrayArray" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonTypedefStruct._Anon1_typedefStructLongArrayArrayArray" elemname="item" bound="4" type="ns5:anonTypedefStruct._Anon2_typedefStructLongArrayArrayArray" name="anonTypedefStruct._Anon2_typedefStructLongArrayArrayArray" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonTypedefStruct._Anon2_typedefStructLongArrayArrayArray" elemname="item" bound="2" type="ns5:anonTypedefStruct._Anon3_typedefStructLongArrayArrayArray" name="anonTypedefStruct._Anon3_typedefStructLongArrayArrayArray" />
<corba:struct xmlns="http://schemas.apache.org/yoko/idl/Anonarray" repositoryID="IDL:anonTypedefStruct:1.0" type="anonTypedefStruct" name="anonTypedefStruct">
- <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="typedefStructLongArray" idltype="ns4:anonTypedefStruct._1_typedefStructLongArray" />
- <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="typedefStructLongArrayArray" idltype="ns4:anonTypedefStruct._2_typedefStructLongArrayArray" />
- <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="typedefStructLongArrayArrayArray" idltype="ns4:anonTypedefStruct._3_typedefStructLongArrayArrayArray" />
+ <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="typedefStructLongArray" idltype="ns4:anonTypedefStruct._Anon1_typedefStructLongArray" />
+ <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="typedefStructLongArrayArray" idltype="ns4:anonTypedefStruct._Anon2_typedefStructLongArrayArray" />
+ <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="typedefStructLongArrayArrayArray" idltype="ns4:anonTypedefStruct._Anon3_typedefStructLongArrayArrayArray" />
</corba:struct>
<corba:alias xmlns="http://schemas.apache.org/yoko/idl/Anonarray/typemap" basetype="anonTypedefStruct" repositoryID="IDL:myAnonTypedefStruct:1.0" name="myAnonTypedefStruct" />
- <corba:anonarray xmlns="" elemname="item" bound="2" type="corba:long" name="anonUnion._1_anonUnion" />
- <corba:anonarray xmlns="" elemname="item" bound="4" type="corba:long" name="anonUnion._2_anonUnion" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="2" type="ns4:anonUnion._2_anonUnion" name="anonUnion._3_anonUnion" />
- <corba:anonarray xmlns="" elemname="item" bound="8" type="corba:long" name="anonUnion._4_anonUnion" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="4" type="ns4:anonUnion._4_anonUnion" name="anonUnion._5_anonUnion" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="2" type="ns4:anonUnion._5_anonUnion" name="anonUnion._6_anonUnion" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="2" type="ns4:anonUnion._Anon1_anonUnion" name="anonUnion._Anon1_anonUnion" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="4" type="ns4:anonUnion._Anon2_anonUnion" name="anonUnion._Anon2_anonUnion" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonUnion._Anon2_anonUnion" elemname="item" bound="2" type="ns5:anonUnion._Anon3_anonUnion" name="anonUnion._Anon3_anonUnion" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="8" type="ns4:anonUnion._Anon4_anonUnion" name="anonUnion._Anon4_anonUnion" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonUnion._Anon4_anonUnion" elemname="item" bound="4" type="ns5:anonUnion._Anon5_anonUnion" name="anonUnion._Anon5_anonUnion" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonUnion._Anon5_anonUnion" elemname="item" bound="2" type="ns5:anonUnion._Anon6_anonUnion" name="anonUnion._Anon6_anonUnion" />
<corba:union xmlns="http://schemas.apache.org/yoko/idl/Anonarray" discriminator="corba:long" repositoryID="IDL:anonUnion:1.0" type="anonUnion" name="anonUnion">
- <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArray" idltype="ns4:anonUnion._1_anonUnion">
+ <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArray" idltype="ns4:anonUnion._Anon1_anonUnion">
<corba:case label="1" />
</corba:unionbranch>
- <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArrayArray" idltype="ns4:anonUnion._3_anonUnion">
+ <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArrayArray" idltype="ns4:anonUnion._Anon3_anonUnion">
<corba:case label="2" />
</corba:unionbranch>
- <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArrayArrayArray" idltype="ns4:anonUnion._6_anonUnion" default="true" />
+ <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArrayArrayArray" idltype="ns4:anonUnion._Anon6_anonUnion" default="true" />
</corba:union>
- <corba:anonarray xmlns="" elemname="item" bound="2" type="corba:long" name="anonTypedefUnion._1_anonTypedefUnion" />
- <corba:anonarray xmlns="" elemname="item" bound="4" type="corba:long" name="anonTypedefUnion._2_anonTypedefUnion" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="2" type="ns4:anonTypedefUnion._2_anonTypedefUnion" name="anonTypedefUnion._3_anonTypedefUnion" />
- <corba:anonarray xmlns="" elemname="item" bound="8" type="corba:long" name="anonTypedefUnion._4_anonTypedefUnion" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="4" type="ns4:anonTypedefUnion._4_anonTypedefUnion" name="anonTypedefUnion._5_anonTypedefUnion" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="2" type="ns4:anonTypedefUnion._5_anonTypedefUnion" name="anonTypedefUnion._6_anonTypedefUnion" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="2" type="ns4:anonTypedefUnion._Anon1_anonTypedefUnion" name="anonTypedefUnion._Anon1_anonTypedefUnion" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="4" type="ns4:anonTypedefUnion._Anon2_anonTypedefUnion" name="anonTypedefUnion._Anon2_anonTypedefUnion" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonTypedefUnion._Anon2_anonTypedefUnion" elemname="item" bound="2" type="ns5:anonTypedefUnion._Anon3_anonTypedefUnion" name="anonTypedefUnion._Anon3_anonTypedefUnion" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="8" type="ns4:anonTypedefUnion._Anon4_anonTypedefUnion" name="anonTypedefUnion._Anon4_anonTypedefUnion" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonTypedefUnion._Anon4_anonTypedefUnion" elemname="item" bound="4" type="ns5:anonTypedefUnion._Anon5_anonTypedefUnion" name="anonTypedefUnion._Anon5_anonTypedefUnion" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonTypedefUnion._Anon5_anonTypedefUnion" elemname="item" bound="2" type="ns5:anonTypedefUnion._Anon6_anonTypedefUnion" name="anonTypedefUnion._Anon6_anonTypedefUnion" />
<corba:union xmlns="http://schemas.apache.org/yoko/idl/Anonarray" discriminator="corba:long" repositoryID="IDL:anonTypedefUnion:1.0" type="anonTypedefUnion" name="anonTypedefUnion">
- <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArray" idltype="ns4:anonTypedefUnion._1_anonTypedefUnion">
+ <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArray" idltype="ns4:anonTypedefUnion._Anon1_anonTypedefUnion">
<corba:case label="1" />
</corba:unionbranch>
- <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArrayArray" idltype="ns4:anonTypedefUnion._3_anonTypedefUnion">
+ <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArrayArray" idltype="ns4:anonTypedefUnion._Anon3_anonTypedefUnion">
<corba:case label="2" />
</corba:unionbranch>
- <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArrayArrayArray" idltype="ns4:anonTypedefUnion._6_anonTypedefUnion" default="true" />
+ <corba:unionbranch xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="unionLongArrayArrayArray" idltype="ns4:anonTypedefUnion._Anon6_anonTypedefUnion" default="true" />
</corba:union>
<corba:alias xmlns="http://schemas.apache.org/yoko/idl/Anonarray/typemap" basetype="anonTypedefUnion" repositoryID="IDL:myAnonUnion:1.0" name="myAnonUnion" />
- <corba:anonarray xmlns="" elemname="item" bound="2" type="corba:long" name="anonException._1_exceptionLongArray" />
- <corba:anonarray xmlns="" elemname="item" bound="4" type="corba:long" name="anonException._1_exceptionLongArrayArray" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="2" type="ns4:anonException._1_exceptionLongArrayArray" name="anonException._2_exceptionLongArrayArray" />
- <corba:anonarray xmlns="" elemname="item" bound="8" type="corba:long" name="anonException._1_exceptionLongArrayArrayArray" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="4" type="ns4:anonException._1_exceptionLongArrayArrayArray" name="anonException._2_exceptionLongArrayArrayArray" />
- <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemname="item" bound="2" type="ns4:anonException._2_exceptionLongArrayArrayArray" name="anonException._3_exceptionLongArrayArrayArray" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="2" type="ns4:anonException._Anon1_exceptionLongArray" name="anonException._Anon1_exceptionLongArray" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="4" type="ns4:anonException._Anon1_exceptionLongArrayArray" name="anonException._Anon1_exceptionLongArrayArray" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonException._Anon1_exceptionLongArrayArray" elemname="item" bound="2" type="ns5:anonException._Anon2_exceptionLongArrayArray" name="anonException._Anon2_exceptionLongArrayArray" />
+ <corba:anonarray xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="" elemtype="corba:long" elemname="item" bound="8" type="ns4:anonException._Anon1_exceptionLongArrayArrayArray" name="anonException._Anon1_exceptionLongArrayArrayArray" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonException._Anon1_exceptionLongArrayArrayArray" elemname="item" bound="4" type="ns5:anonException._Anon2_exceptionLongArrayArrayArray" name="anonException._Anon2_exceptionLongArrayArrayArray" />
+ <corba:anonarray xmlns:ns5="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" xmlns="" elemtype="ns4:anonException._Anon2_exceptionLongArrayArrayArray" elemname="item" bound="2" type="ns5:anonException._Anon3_exceptionLongArrayArrayArray" name="anonException._Anon3_exceptionLongArrayArrayArray" />
<corba:exception xmlns="http://schemas.apache.org/yoko/idl/Anonarray" repositoryID="IDL:anonException:1.0" type="anonExceptionType" name="anonException">
- <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="exceptionLongArray" idltype="ns4:anonException._1_exceptionLongArray" />
- <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="exceptionLongArrayArray" idltype="ns4:anonException._2_exceptionLongArrayArray" />
- <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="exceptionLongArrayArrayArray" idltype="ns4:anonException._3_exceptionLongArrayArrayArray" />
+ <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="exceptionLongArray" idltype="ns4:anonException._Anon1_exceptionLongArray" />
+ <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="exceptionLongArrayArray" idltype="ns4:anonException._Anon2_exceptionLongArrayArray" />
+ <corba:member xmlns:ns4="http://schemas.apache.org/yoko/idl/Anonarray/typemap" name="exceptionLongArrayArrayArray" idltype="ns4:anonException._Anon3_exceptionLongArrayArrayArray" />
</corba:exception>
</corba:typeMapping>
<wsdl:types>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://schemas.apache.org/yoko/idl/Anonarray" xmlns="http://schemas.apache.org/yoko/idl/Anonarray" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:complexType name="anonStruct._1_structLongArray">
+ <xs:complexType name="anonStruct._Anon1_structLongArray">
<xs:sequence>
<xs:element maxOccurs="2" minOccurs="2" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonStruct._1_structLongArrayArray">
+ <xs:complexType name="anonStruct._Anon1_structLongArrayArray">
<xs:sequence>
<xs:element maxOccurs="4" minOccurs="4" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonStruct._2_structLongArrayArray">
+ <xs:complexType name="anonStruct._Anon2_structLongArrayArray">
<xs:sequence>
- <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonStruct._1_structLongArrayArray">
+ <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonStruct._Anon1_structLongArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonStruct._1_structLongArrayArrayArray">
+ <xs:complexType name="anonStruct._Anon1_structLongArrayArrayArray">
<xs:sequence>
<xs:element maxOccurs="8" minOccurs="8" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonStruct._2_structLongArrayArrayArray">
+ <xs:complexType name="anonStruct._Anon2_structLongArrayArrayArray">
<xs:sequence>
- <xs:element maxOccurs="4" minOccurs="4" name="item" type="anonStruct._1_structLongArrayArrayArray">
+ <xs:element maxOccurs="4" minOccurs="4" name="item" type="anonStruct._Anon1_structLongArrayArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonStruct._3_structLongArrayArrayArray">
+ <xs:complexType name="anonStruct._Anon3_structLongArrayArrayArray">
<xs:sequence>
- <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonStruct._2_structLongArrayArrayArray">
+ <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonStruct._Anon2_structLongArrayArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="anonStruct">
<xs:sequence>
- <xs:element name="structLongArray" type="anonStruct._1_structLongArray">
+ <xs:element name="structLongArray" type="anonStruct._Anon1_structLongArray">
</xs:element>
- <xs:element name="structLongArrayArray" type="anonStruct._2_structLongArrayArray">
+ <xs:element name="structLongArrayArray" type="anonStruct._Anon2_structLongArrayArray">
</xs:element>
- <xs:element name="structLongArrayArrayArray" type="anonStruct._3_structLongArrayArrayArray">
+ <xs:element name="structLongArrayArrayArray" type="anonStruct._Anon3_structLongArrayArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonTypedefStruct._1_typedefStructLongArray">
+ <xs:complexType name="anonTypedefStruct._Anon1_typedefStructLongArray">
<xs:sequence>
<xs:element maxOccurs="2" minOccurs="2" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonTypedefStruct._1_typedefStructLongArrayArray">
+ <xs:complexType name="anonTypedefStruct._Anon1_typedefStructLongArrayArray">
<xs:sequence>
<xs:element maxOccurs="4" minOccurs="4" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonTypedefStruct._2_typedefStructLongArrayArray">
+ <xs:complexType name="anonTypedefStruct._Anon2_typedefStructLongArrayArray">
<xs:sequence>
- <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonTypedefStruct._1_typedefStructLongArrayArray">
+ <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonTypedefStruct._Anon1_typedefStructLongArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonTypedefStruct._1_typedefStructLongArrayArrayArray">
+ <xs:complexType name="anonTypedefStruct._Anon1_typedefStructLongArrayArrayArray">
<xs:sequence>
<xs:element maxOccurs="8" minOccurs="8" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonTypedefStruct._2_typedefStructLongArrayArrayArray">
+ <xs:complexType name="anonTypedefStruct._Anon2_typedefStructLongArrayArrayArray">
<xs:sequence>
- <xs:element maxOccurs="4" minOccurs="4" name="item" type="anonTypedefStruct._1_typedefStructLongArrayArrayArray">
+ <xs:element maxOccurs="4" minOccurs="4" name="item" type="anonTypedefStruct._Anon1_typedefStructLongArrayArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonTypedefStruct._3_typedefStructLongArrayArrayArray">
+ <xs:complexType name="anonTypedefStruct._Anon3_typedefStructLongArrayArrayArray">
<xs:sequence>
- <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonTypedefStruct._2_typedefStructLongArrayArrayArray">
+ <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonTypedefStruct._Anon2_typedefStructLongArrayArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="anonTypedefStruct">
<xs:sequence>
- <xs:element name="typedefStructLongArray" type="anonTypedefStruct._1_typedefStructLongArray">
+ <xs:element name="typedefStructLongArray" type="anonTypedefStruct._Anon1_typedefStructLongArray">
</xs:element>
- <xs:element name="typedefStructLongArrayArray" type="anonTypedefStruct._2_typedefStructLongArrayArray">
+ <xs:element name="typedefStructLongArrayArray" type="anonTypedefStruct._Anon2_typedefStructLongArrayArray">
</xs:element>
- <xs:element name="typedefStructLongArrayArrayArray" type="anonTypedefStruct._3_typedefStructLongArrayArrayArray">
+ <xs:element name="typedefStructLongArrayArrayArray" type="anonTypedefStruct._Anon3_typedefStructLongArrayArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonUnion._1_anonUnion">
+ <xs:complexType name="anonUnion._Anon1_anonUnion">
<xs:sequence>
<xs:element maxOccurs="2" minOccurs="2" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonUnion._2_anonUnion">
+ <xs:complexType name="anonUnion._Anon2_anonUnion">
<xs:sequence>
<xs:element maxOccurs="4" minOccurs="4" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonUnion._3_anonUnion">
+ <xs:complexType name="anonUnion._Anon3_anonUnion">
<xs:sequence>
- <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonUnion._2_anonUnion">
+ <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonUnion._Anon2_anonUnion">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonUnion._4_anonUnion">
+ <xs:complexType name="anonUnion._Anon4_anonUnion">
<xs:sequence>
<xs:element maxOccurs="8" minOccurs="8" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonUnion._5_anonUnion">
+ <xs:complexType name="anonUnion._Anon5_anonUnion">
<xs:sequence>
- <xs:element maxOccurs="4" minOccurs="4" name="item" type="anonUnion._4_anonUnion">
+ <xs:element maxOccurs="4" minOccurs="4" name="item" type="anonUnion._Anon4_anonUnion">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonUnion._6_anonUnion">
+ <xs:complexType name="anonUnion._Anon6_anonUnion">
<xs:sequence>
- <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonUnion._5_anonUnion">
+ <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonUnion._Anon5_anonUnion">
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="anonUnion">
<xs:choice>
- <xs:element name="unionLongArray" type="anonUnion._1_anonUnion">
+ <xs:element name="unionLongArray" type="anonUnion._Anon1_anonUnion">
</xs:element>
- <xs:element name="unionLongArrayArray" type="anonUnion._3_anonUnion">
+ <xs:element name="unionLongArrayArray" type="anonUnion._Anon3_anonUnion">
</xs:element>
- <xs:element name="unionLongArrayArrayArray" type="anonUnion._6_anonUnion">
+ <xs:element name="unionLongArrayArrayArray" type="anonUnion._Anon6_anonUnion">
</xs:element>
</xs:choice>
</xs:complexType>
- <xs:complexType name="anonTypedefUnion._1_anonTypedefUnion">
+ <xs:complexType name="anonTypedefUnion._Anon1_anonTypedefUnion">
<xs:sequence>
<xs:element maxOccurs="2" minOccurs="2" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonTypedefUnion._2_anonTypedefUnion">
+ <xs:complexType name="anonTypedefUnion._Anon2_anonTypedefUnion">
<xs:sequence>
<xs:element maxOccurs="4" minOccurs="4" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonTypedefUnion._3_anonTypedefUnion">
+ <xs:complexType name="anonTypedefUnion._Anon3_anonTypedefUnion">
<xs:sequence>
- <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonTypedefUnion._2_anonTypedefUnion">
+ <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonTypedefUnion._Anon2_anonTypedefUnion">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonTypedefUnion._4_anonTypedefUnion">
+ <xs:complexType name="anonTypedefUnion._Anon4_anonTypedefUnion">
<xs:sequence>
<xs:element maxOccurs="8" minOccurs="8" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonTypedefUnion._5_anonTypedefUnion">
+ <xs:complexType name="anonTypedefUnion._Anon5_anonTypedefUnion">
<xs:sequence>
- <xs:element maxOccurs="4" minOccurs="4" name="item" type="anonTypedefUnion._4_anonTypedefUnion">
+ <xs:element maxOccurs="4" minOccurs="4" name="item" type="anonTypedefUnion._Anon4_anonTypedefUnion">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonTypedefUnion._6_anonTypedefUnion">
+ <xs:complexType name="anonTypedefUnion._Anon6_anonTypedefUnion">
<xs:sequence>
- <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonTypedefUnion._5_anonTypedefUnion">
+ <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonTypedefUnion._Anon5_anonTypedefUnion">
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="anonTypedefUnion">
<xs:choice>
- <xs:element name="unionLongArray" type="anonTypedefUnion._1_anonTypedefUnion">
+ <xs:element name="unionLongArray" type="anonTypedefUnion._Anon1_anonTypedefUnion">
</xs:element>
- <xs:element name="unionLongArrayArray" type="anonTypedefUnion._3_anonTypedefUnion">
+ <xs:element name="unionLongArrayArray" type="anonTypedefUnion._Anon3_anonTypedefUnion">
</xs:element>
- <xs:element name="unionLongArrayArrayArray" type="anonTypedefUnion._6_anonTypedefUnion">
+ <xs:element name="unionLongArrayArrayArray" type="anonTypedefUnion._Anon6_anonTypedefUnion">
</xs:element>
</xs:choice>
</xs:complexType>
- <xs:complexType name="anonException._1_exceptionLongArray">
+ <xs:complexType name="anonException._Anon1_exceptionLongArray">
<xs:sequence>
<xs:element maxOccurs="2" minOccurs="2" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonException._1_exceptionLongArrayArray">
+ <xs:complexType name="anonException._Anon1_exceptionLongArrayArray">
<xs:sequence>
<xs:element maxOccurs="4" minOccurs="4" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonException._2_exceptionLongArrayArray">
+ <xs:complexType name="anonException._Anon2_exceptionLongArrayArray">
<xs:sequence>
- <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonException._1_exceptionLongArrayArray">
+ <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonException._Anon1_exceptionLongArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonException._1_exceptionLongArrayArrayArray">
+ <xs:complexType name="anonException._Anon1_exceptionLongArrayArrayArray">
<xs:sequence>
<xs:element maxOccurs="8" minOccurs="8" name="item" type="xs:int">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonException._2_exceptionLongArrayArrayArray">
+ <xs:complexType name="anonException._Anon2_exceptionLongArrayArrayArray">
<xs:sequence>
- <xs:element maxOccurs="4" minOccurs="4" name="item" type="anonException._1_exceptionLongArrayArrayArray">
+ <xs:element maxOccurs="4" minOccurs="4" name="item" type="anonException._Anon1_exceptionLongArrayArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="anonException._3_exceptionLongArrayArrayArray">
+ <xs:complexType name="anonException._Anon3_exceptionLongArrayArrayArray">
<xs:sequence>
- <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonException._2_exceptionLongArrayArrayArray">
+ <xs:element maxOccurs="2" minOccurs="2" name="item" type="anonException._Anon2_exceptionLongArrayArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
@@ -311,14 +311,18 @@
</xs:element>
<xs:complexType name="anonExceptionType">
<xs:sequence>
- <xs:element name="exceptionLongArray" type="anonException._1_exceptionLongArray">
+ <xs:element name="exceptionLongArray" type="anonException._Anon1_exceptionLongArray">
</xs:element>
- <xs:element name="exceptionLongArrayArray" type="anonException._2_exceptionLongArrayArray">
+ <xs:element name="exceptionLongArrayArray" type="anonException._Anon2_exceptionLongArrayArray">
</xs:element>
- <xs:element name="exceptionLongArrayArrayArray" type="anonException._3_exceptionLongArrayArrayArray">
+ <xs:element name="exceptionLongArrayArrayArray" type="anonException._Anon3_exceptionLongArrayArrayArray">
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
+ <wsdl:message name="anonException">
+ <wsdl:part name="exception" element="tns:anonException">
+ </wsdl:part>
+ </wsdl:message>
</wsdl:definitions>