Forum Discussion
Jan 20, 2009
The Locator classes are Apache Axis specific client proxy code. For a given interface, let's say LocalLB.Class there are several classes made
LocalLBClass
LocalLBClassLocator
LocalLBClassBindingStub
LocalLBClassPortType
The easiest way to navigate through this is to use the iControl library for Java and use the iControl.Interfaces get* methods. It returns a PortType object with all the methods in the associated interfaces in the SDK. You would do something like this for LocalLB.Class
iControl.Interfaces interfaces = new iControl.Interfaces();
if (interfaces.initialize(bigip, (long)443, username, password) ) {
iControl.LocalLBClassPortType oClass = interfaces.getLocalLBClass();
String [] string_class_list = oClass.get_string_class_list();
...
}
From then on, you can reference the SDK and access any methods in the Class interface via this "oClass" object.
I haven't done much with Java for a long time now, but I'd be glad to help out if you have any other specific questions.
-Joe