ConfigTree actionConfig = configUtil.getActionConfig("OrderNotificationService", "soapui-client-action-02");
SOAPClient soapClient = new SOAPClient(actionConfig);
String responseString = new String(StreamUtils.readStream(getClass().getResourceAsStream("soap-message-01.xml")));
Message message = MessageFactory.getInstance().getMessage();
soapClient.processResponse(message, new Response(responseString));
Map<String, String> responseMap = (Map<String, String>) message.getBody().get();
assertEquals("{customerOrder.orderheader.customerName=Tom Fennelly, customerOrder.items[0].partNumber=1, customerOrder.items[0].description=desc-1, customerOrder.items[0].quantity=1, customerOrder.items[0].price=1.1, customerOrder.items[0].extensionAmount=1, customerOrder.items[1].partNumber=2, customerOrder.items[1].description=desc-2, customerOrder.items[1].quantity=2, customerOrder.items[1].price=2.2, customerOrder.items[1].extensionAmount=2}", responseMap.toString());
}