"<axis2:SecondOMElement xmlns:axis2=\"http://ws.apache.org/namespaces/axis2\">" +
"</axis2:SecondOMElement></OMElementTest>";
OMFactory factory = OMAbstractFactory.getOMFactory();
OMNamespace axis2Namespace = factory.createOMNamespace(Constants.AXIS2_NAMESPACE_URI, Constants.AXIS2_NAMESPACE_PREFIX);
OMElement firstElement = factory.createOMElement("FirstOMElement", axis2Namespace);
OMElement secondElement = factory.createOMElement("SecondOMElement", axis2Namespace, firstElement);
ArrayList propertyList = new ArrayList();
// add an OMElement
propertyList.add(firstElement.getQName());
propertyList.add(firstElement);
// add some more stuff
propertyList.add("Foo");
propertyList.add("Some Text");
propertyList.add(new QName("Dependent"));
DummyADBBean dummyBean = new DummyADBBean();
propertyList.add(dummyBean);
// lets add one more element
propertyList.add(secondElement.getQName());
propertyList.add(secondElement);
XMLStreamReader pullParser = ADBPullParser.createPullParser(new QName("OMElementTest"), propertyList.toArray(), null);
String stringXML = getStringXML(pullParser);