Forum Discussion
newbie
The Axis package has plenty of libraries. Which ones do I move to my jre*\lib\ext folder? All? Once I do that and add the WSDL4J.jar into the directory the sample code should compile, correrct?
thanks in advance.
Mitch
11 Replies
- John_Gruber_432Historic F5 AccountYou will find the SOAP requirements for iControl will make you have to be careful about which jars you use.
Check this out:
https://github.com/jgruber/iControl
It uses Maven2 to pull the appropriate jars from their owner's submittions to public repositories and then shade them in one (pretty big) iControl.jar. There is a BigIP object which will abstract some things for you as well. The catch is it builds everything under Maven on the fly. It will require you to change the initial pom.xml file to point it at a BigIP which is hosting the required versions of the iControl WSDLs for the build process. So you will get your version of iControl... not possible an older one.
It's management code verses downloading static jars.
John If you just want to compile a sample, you might not need all that you do to build the library for the WSDL parsing/proxy creation. I haven't done a break down for 1. Compiling the library; 2. Compiling the sample; 3. Running the samples but I'm fairly sure you don't need them all just for running the code.
-Joe
- mraful_64014
Nimbostratus
Having trouble just running make.bat.. Getting errors like this:
The system cannot find the path specified.
Compiling ..\..\..\..\..\wsdl\System.SoftwareManagement.wsdl...
The system cannot find the path specified.
Compiling ..\..\..\..\..\wsdl\System.Statistics.wsdl...
The system cannot find the path specified.
Compiling ..\..\..\..\..\wsdl\System.SystemInfo.wsdl...
The system cannot find the path specified.
Compiling ..\..\..\..\..\wsdl\WebAccelerator.Applications.wsdl...
The system cannot find the path specified.
Compiling ..\..\..\..\..\wsdl\WebAccelerator.Policies.wsdl...
The system cannot find the path specified.
Building Sample Applications...
Compiling LocalLBNodeAddress.java...
The system cannot find the path specified.
Compiling LocalLBPool.java...
The system cannot find the path specified.
Compiling LocalLBVSStats.java...
The system cannot find the path specified.
Compiling XTrustProvider.java...
The system cannot find the path specified.
Compiling DBVariable.java...
The system cannot find the path specified.
Compiling UserManagement.java...
The system cannot find the path specified.
Compiling XTrustProvider.java...Any ideas?
Thanks,
Mitch
- Are you rebuilding the iControl.jar library? The libs should already be there for you. The sample code is in the test directory with a make.cmd file in there. Just make sure you get the JAVAHOME variable set correctly.
-Joe - mraful_64014
Nimbostratus
I downloaded the SDK., 10.1.0, there is not an iControl.jar in there. Will the iControl.jar from the Labs download work against 10.1 or 10.2?
Thanks,
Mitch
- mraful_64014
Nimbostratus
Ooops! Found iControl.jar in the iControl Assemblies. Now trying to get this to work. - mraful_64014
Nimbostratus
Fantastic, Joe! The 10.2 iControl Assembly actually works agains the LTM/VE Trial. Something to show the client!! Any links to this WSDL stuff you want to send my way would be appreciated!
- The iControl libraries are separate from the SDK. The SDK is just an offline API reference with a few code samples. We have been phasing that out in lieu of the online SDK API references. I'd recommend going with the latest iControl library for Java v11.3 located in the iControl Assemblies labs project here:
https://devcentral.f5.com/community/group/aft/1172123/asg/2
It's backward compatible with previous versions including older versions of VE. Also, version 11.3 contains a Apache Axis security fix the NIST vulnerability CVE-2012-5784.
-Joe - mraful_64014
Nimbostratus
Wouldn't ya know it, they asked me to re-write it a class in C. When iControl changes the configuration on an F5 LTM/GTM, is the configuration change saved automagically? - Brent_West_7733Historic F5 AccountYou'll need to sync them using another call.
https://devcentral.f5.com/wiki/iControl.System__ConfigSync.ashx
Recent Discussions
Related Content
* 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
