Forum Discussion

tbw_90635's avatar
tbw_90635
Icon for Nimbostratus rankNimbostratus
Jun 01, 2009

get_template_list

Using the 9.4 iControl SDK I made a number of calls to both 9.x and 10.x BigIp's.

 

 

The method, LocalLB.Monitor.get_template_list(), returns a IllegalArgumentException from the 10.x BigIP, however, works fine when requesting from a 9.x BigIP.

 

 

(Note: other methods seem to work fine on both.)

 

 

Any ideas?

 

  • Most likely the issue is with the fact that we've introduced new monitor template types enumeration values in v10.

     

     

    What client library are you using? If it's .Net or Java have you updated your code to use the latest iControl assembly (.net)/library (java).

     

     

    If you aren't using the iControl assemblies and are manually compiling in the WSDL files into your application, then to get 10.0 compatibility you will have to recompile the v10 WSDL files into your app.

     

     

    If you are not using the iControl assemblies, I would urge you to do so because in the future you won't have to do any recompilation on your part to get forward looking features.

     

     

    Let me know a little bit more about your client environment and we'll see what we can do to get you up and running against v10.

     

     

    -Joe
  • I'm using Java 1.5 with iControl Wrappers v0.9 that I've downloaded load from the page called iControl with Eclipse.

     

    http://devcentral.f5.com/Default.aspx?tabid=125

     

     

    Is the iControl assemblies you are referring to?

     

     

    When the method get_template_list() is called against a BigIP v9.4 all is well.

     

    Unfortunately, the exception below occurs when called against a BigiIP v10.0.1.

     

     

    - Exception:

     

    java.lang.IllegalArgumentException

     

    at org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:176)

     

    at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:502)

     

    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)

     

    at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)

     

    at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)

     

    at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:345)

     

    at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)

     

    at org.apache.axis.client.Call.invoke(Call.java:2467)

     

    at org.apache.axis.client.Call.invoke(Call.java:2366)

     

    at org.apache.axis.client.Call.invoke(Call.java:1812)

     

    at iControl.LocalLBMonitorBindingStub.get_template_list(LocalLBMonitorBindingStub.java:1022)

     

    at examples.BigIPMonitor.getInfo(BigIPMonitor.java:67)

     

    at examples.BigIPMonitor.main(BigIPMonitor.java:29)

     

  • I downloaded the iControl Assemblies called Java Binary Distribution. This solved my problem with 10.x BigIps. I should note however, the class files contained in the iControl Assembly require Java 1.6.

     

  • Do you need a 1.5 version? I built a 1.5 version for the last version of the java libraries and I could likely do it again for the 10.0 build if you need it.

     

     

    -Joe
  • No. I'm going to use Java 1.6. But thanks for the offer.

     

    Tim