butek 02/02/21 11:11:27 Modified: java/test/wsdl/interop3/groupE/client InteropTestListServiceTestCase.java Log: List is a bean. It is translated to WSDL as: <complexType name="List"> <all> <element name="varInt" type="xsd:int"/> <element name="varString" nillable="true" type="xsd:string"/> <element name="child" nillable="true" type="intf:List"/> </all> </complexType> Note the <all> tag (NOT <sequence>). <all> means there's no order. The test calls a List constructor that assumes a certain order. This order is not guaranteed. In fact, we've run across a situation where it IS different (though we haven't bothered to figure out why). Revision Changes Path 1.2 +11 -3 xml-axis/java/test/wsdl/interop3/groupE/client/InteropTestListServiceTestCase.java Index: InteropTestListServiceTestCase.java =================================================================== RCS file: /home/cvs/xml-axis/java/test/wsdl/interop3/groupE/client/InteropTestListServiceTestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- InteropTestListServiceTestCase.java 20 Feb 2002 13:46:09 -0000 1.1 +++ InteropTestListServiceTestCase.java 21 Feb 2002 19:11:26 -0000 1.2 @@ -79,9 +79,17 @@ assertTrue("binding is null", binding != null); try { - List node1 = new List(1, "last", null); - List node2 = new List(2, "middle", node1); - List list = new List(3, "first", node2); + List node1 = new List(); + node1.setVarInt(1); + node1.setVarString("last"); + List node2 = new List(); + node2.setVarInt(2); + node2.setVarString("middle"); + node2.setChild(node1); + List list = new List(); + list.setVarInt(3); + list.setVarString("first"); + list.setChild(node2); List value = binding.echoLinkedList(list); List vnode2 = value.getChild();