fail();
}
}
private void testSoapElement31(Array array) {
TestSoapElement1 testSoapElement1 = new TestSoapElement1();
testSoapElement1.setTestSoapElement1(array);
try {
OMElement omElement = testSoapElement1.getOMElement(
TestSoapElement1.MY_QNAME, OMAbstractFactory.getOMFactory());
String omElementString = omElement.toStringWithConsume();
System.out.println("OM String ==>" + omElementString);
XMLStreamReader xmlReader = StAXUtils.createXMLStreamReader(
new ByteArrayInputStream(omElementString.getBytes()));
TestSoapElement1 result = TestSoapElement1.Factory.parse(xmlReader);
List resultList = result.getTestSoapElement1().getObjectList();
TestComplexType testComplexType = null;
for (int i = 0; i < resultList.size(); i++) {
testComplexType = (TestComplexType) resultList.get(i);
assertEquals(testComplexType.getParam1(),"Param1");
assertEquals(testComplexType.getParam2(),2);