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?
...
Mar 21, 2011
I haven't used soapUI before, so I'm not sure how the UI works. Your SOAP message is missing all of the parameter elements (they are all empty). Here's the trace of a create call using perl's SOAP::Lite for a pool named "foopool" with a lb method of "LB_METHOD_ROUND_ROBIN" and an initial member of "10.10.10.10:80".
Hope this helps...
< ?xml version="1.0" encoding="UTF-8"?>
< soap:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
< soap:Body>
< create xmlns="urn:iControl:LocalLB/Pool">
< pool_names soapenc:arrayType="xsd:string[1]" xsi:type="soapenc:Array">
< item xsi:type="xsd:string">foopool< /item>
< /pool_names>
< lb_methods soapenc:arrayType="xsd:string[1]" xsi:type="soapenc:Array">
< item xsi:type="xsd:string">LB_METHOD_ROUND_ROBIN< /item>
< /lb_methods>
< members soapenc:arrayType="soapenc:Array[1]" xsi:type="soapenc:Array">
< item soapenc:arrayType="xsd:anyType[1]" xsi:type="soapenc:Array">
< item>
< address xsi:type="xsd:string">10.10.10.10< /address>
< port xsi:type="xsd:int">80< /port>
< /item>
< /item>
< /members>
< /create>
< /soap:Body>
< /soap:Envelope>
-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