_GM__76130
Apr 18, 2011Nimbostratus
remove_clone_pool
I am trying to use a SOAP call to remove a clone-pool from a virtual server. The SOAP call is going through without errors, but the clone-pool is not getting removed. Using the "remove_all_clone_pools" function does work, but is obviously not what I want.
Any feedback would greatly be appreciated.
Here is my SOAP call:
< soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:vir="urn:iControl:LocalLB/VirtualServer" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
< soapenv:Header/>
< soapenv:Body>
< vir:remove_clone_pool soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
< virtual_servers xsi:type="urn:Common.StringSequence" soapenc:arrayType="xsd:string[]" xmlns:urn="urn:iControl">
< virtual_server>v2< /virtual_server>
< /virtual_servers>
< clone_pools xsi:type="urn:LocalLB.VirtualServer.VirtualServerClonePoolSequenceSequence" soapenc:arrayType="urn:LocalLB.VirtualServer.VirtualServerClonePoolSequence[2]" xmlns:urn="urn:iControl">
< pool_name>test< /pool_name>
< type>CLONE_POOL_TYPE_SERVERSIDE< /type>
< /clone_pools>
< /vir:remove_clone_pool>
< /soapenv:Body>
< /soapenv:Envelope>