" <item0>abc</item0>\n" +
" <item0>def</item0>\n" +
" <item0>ghi</item0>\n" +
" <item0>klm</item0>\n" +
"</reference>";
StAXOMBuilder staxOMBuilder;
try {
XMLStreamReader xmlReader = XMLInputFactory.newInstance().createXMLStreamReader(new
ByteArrayInputStream(str.getBytes()));
staxOMBuilder = new
StAXOMBuilder(fac, xmlReader);
} catch (XMLStreamException e) {
throw new AxisFault(e);
} catch (FactoryConfigurationError factoryConfigurationError) {
throw new AxisFault(factoryConfigurationError);
}
envelope.getBody().addChild(staxOMBuilder.getDocumentElement());
RPCCall call =
new RPCCall("target/test-resources/intregrationRepo");
Options options = new Options();
call.setClientOptions(options);