Forum Discussion
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