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...
Bryce_Klimoski
Nimbostratus
Oct 13, 2009I am using the WSDLs. I figure out what I had wrong, needed to be making the call to local and not global.
iControl.LocalLBRuleBindingStub iRuleQuery = (iControl.LocalLBRuleBindingStub) new iControl.LocalLBRuleLocator().getLocalLBRulePort(new java.net.URL(url));
iRuleQuery.setTimeout(60000);
LocalLBRuleRuleDefinition[] rule = iRuleQuery.query_rule(new String[] {"foobar"});
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