Forum Discussion
Vince_Marco_969
Nimbostratus
Dec 10, 2007Generic Axis method execution...
Is it possible to send a generic Axis service call to iControl? Perhaps someone can help me find my problem. I am basically adapting a "get_pool_status" to 9.x. What I am getting is:
13:1...
Dec 10, 2007
The error "Unknown method" is the main indicator here. First, I'm assuming you are looking at GlobalLB Pools, Not LocalLB Pools. Either way, there is a get_enabled_state() method for each. The real problem you have is with the namespace "ITCMGlobalLB". The "ITCM" prefix was for v4.x. For v9.x, it's just GlobalLB.
call.setOperationName(new QName("urn:iControl:GlobalLB/Pool", "get_enabled_state"));
Oh, and you need to name the parameters correctly. This method takes a Array of Strings with the name of "pool_names"
Is there is a reason you aren't using the iControl Java Library built on top of Axis? It's available as a download from the iControl Assembly DevCentral Lab project. It basically wrapps all the compiled WSDL proxy code into a very easy to use interface.
-Joe
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