Bryce_Klimoski
Oct 08, 2009Nimbostratus
Help 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.GlobalLBRuleLocator().getGlobalLBRulePort(new java.net.URL(url));
iRuleQuery.setTimeout(60000);
GlobalLBRuleRuleDefinition[] rule = iRuleQuery.query_rule(new String[] {"foobar"});
It always returns with the GTM not being able to find the iRule, even though it exists and I can use query_rule in perl just fine.