@Test
lic void testRPCComplexWithInternalList() throws Exception {

        
    WSDLParser parser = new WSDLParser(WSDLTestHelper.wsdlResourcePath("menagerie-complex-rpc.wsdl"));
peDescriptor descriptor = parser.getOperationOutputParameters("getComplexWithInternalList").get(0);
    XMLOutputSplitter splitter = new XMLOutputSplitter(descriptor, new String [] {"length","innerArray","innerList"}, new String [] {"text/plain","l('text/plain')","l('text/plain')"}, new String[] {"input"});
    String inputXML=getResourceAsString("getComplexWithInternalListResponse.xml");
    Map<String,String> inputMap = new HashMap<String,String>();
    inputMap.put("input", inputXML);
    Map<String,Object> outputMap = splitter.execute(inputMap);
    assertNotNull(outputMap.get("length"));
    assertNotNull(outputMap.get("innerList"));
    assertNotNull(outputMap.get("innerArray"));
    assertEquals("4",outputMap.get("length"));
    List<String> array = ( List<String> )outputMap.get("innerArray");
sertEquals(4,array.size());
sertEquals("String A",array.get(0));
sertEquals("String B",array.get(1));
sertEquals("String C",array.get(2));
sertEquals("String D",array.get(3));
    array = ( List<String> )outputMap.get("innerList");
sertEquals(4,array.size());
sertEquals("String A",array.get(0));
sertEquals("String B",array.get(1));
sertEquals("String C",array.get(2));
sertEquals("String D",array.get(3));
}