Forum Discussion
Bryce_Klimoski
Nimbostratus
Oct 08, 2009Help with query_rule in java
I'm having trouble getting query_rule to work with java.
Here is my code.
iControl.GlobalLBRuleBindingStub iRuleQuery = (iControl.GlobalLBRuleBindingStub) new iControl.Gl...
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
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