Hello Again,
I’m trying to use the function query_pool_associations with JAVA and SOAP. My code is like this below. I’m getting the following exception.
if (sPool.length() != 0) {
DisplayPool (out,sPool);
} else { //Investigate the rule
urn= "urn:iControl:ITCMLocalLB/Rule";
initCall();
String[] TheRules = {sRule};
Vector RuleParams = new Vector();
RuleParams.addElement(new Parameter("rule_names", String[].class,TheRules, null));
call.setParams(RuleParams);
call.setMethodName("query_pool_associations");
resp = call.invoke(destURI, urn);
if (resp.generatedFault()){
Fault fault = resp.getFault();
throw new SOAPException(fault.getFaultCode(), fault.getFaultString());
} else {
String[][] ThePools = (String[][]) resp.getReturnValue().getValue();
for (int i=0; i out.println ("
Pool Name "+ThePools[0][i]);
}
}
}
No mapping found for &http://schemas.xmlsoap.org/soap/encoding/:Array& using encoding style &http://schemas.xmlsoap.org/soap/encoding/&.