Forum Discussion
Oct 12, 2009
What exactly is the error? I just ran the code and it returned what was expected
public void getGtmRule(String rulename) throws Exception
{
iControl.GlobalLBRuleRuleDefinition [] rule_defs = m_interfaces.getGlobalLBRule().query_rule(new String[] { rulename });
for(int i=0; i {
System.out.println(rule_defs[ i ].getRule_name());
System.out.println(rule_defs[ i ].getRule_definition());
System.out.println("-----------------------");
}
}
Are you using the iControl library for Java or are you compiling the WSDL yourself?
-Joe