Forum Discussion
Gavin_104961
Mar 21, 2011Nimbostratus
How can i use soapUI direct adding a pool
Hi Folks,
I am tring to use the soapUI (http://www.soapui.org/) add a pool with pool members, does anyone know how should i do change the following XML to add a pool by soap direct?
...
Gavin_104961
Mar 24, 2011Nimbostratus
And here is my code, we can use SoapUI show iControl's power directly.
<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:pool="urn:iControl:LocalLB/Pool" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<soapenv:Header/>
<soapenv:Body>
<pool:create soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<pool_names xsi:type="urn:Common.StringSequence" soapenc:arrayType="xsd:string[]" xmlns:urn="urn:iControl">
<item>Pool1</item>
<item>Pool2</item>
<item>Pool3</item>
</pool_names>
<lb_methods xsi:type="urn:LocalLB.LBMethodSequence" soapenc:arrayType="urn:LocalLB.LBMethod[]" xmlns:urn="urn:iControl">
<item>LB_METHOD_LEAST_SESSIONS</item>
<item>LB_METHOD_LEAST_SESSIONS</item>
<item>LB_METHOD_LEAST_SESSIONS</item>
</lb_methods>
<members xsi:type="urn:Common.IPPortDefinitionSequenceSequence" soapenc:arrayType="urn:Common.IPPortDefinitionSequence[]" xmlns:urn="urn:iControl">
<item>
<item>
<address>10.10.10.10</address>
<port>80</port>
</item>
<item>
<address>10.10.10.11</address>
<port>80</port>
</item>
<item>
<address>10.10.10.12</address>
<port>80</port>
</item>
</item>
<item>
<item>
<address>10.10.10.10</address>
<port>80</port>
</item>
<item>
<address>10.10.10.11</address>
<port>80</port>
</item>
<item>
<address>10.10.10.12</address>
<port>80</port>
</item>
</item>
<item>
<item>
<address>10.10.10.10</address>
<port>80</port>
</item>
<item>
<address>10.10.10.11</address>
<port>80</port>
</item>
<item>
<address>10.10.10.12</address>
<port>80</port>
</item>
</item>
</members>
</pool:create>
</soapenv:Body>
</soapenv:Envelope>
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