Forum Discussion
Ian_McKenna_113
Nimbostratus
Jul 18, 2006add_httpclass_profile buggy Documentation??
Hi folks,
I am trying to add httpclass profile to a virtual server, using
add_httpclass_profile interface.
But I am getting the error message:
SOAP-ENV:Client Unknown method "{urn:iControl:LocalLB/VirtualServer}:add_httpclass_profile"
My code should be all right. Maybe the interface is not implemented yet??
Sorry code:
my $VirtualHttp = SOAP::Lite
-> uri('urn:iControl:LocalLB/VirtualServer')
-> proxy("$sProtocol://$sHost:$sPort/iControl/iControlPortal.cgi");
eval { $VirtualHttp->transport->http_request->header
(
'Authorization' =>
'Basic ' . MIME::Base64::encode("$sUID:$sPWD", '')
); };
---------------- idev -------
my $soapResponse = $VirtualHttp->add_httpclass_profile(
SOAP::Data->name( virtual_servers => [$sVS] ),
SOAP::Data->name(profiles => [$sHTTP])
);
Thanks
Ian
- From first glance your code looks fine. What is the version of your BIG-IP? This method was added in v9.2.0.
- Ian_McKenna_113
Nimbostratus
Thanks, you've been right, we're using 9.1.
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