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);
}
} catch (ADBException e) {
fail();
} catch (XMLStreamException e) {
fail();