Forum Discussion
Tim_Arp_112576
Nimbostratus
Aug 17, 2004query_pool_associations No mapping found
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/&.
- I've looked into this some more and I think you've hit a limitation of Apache SOAP. I ran a similar method off our 9.0 code base and found the following error
String[][] query_pool_associations( in String[] rule_names );
- This thread may help you out:
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects