<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); "><div style="font-family: Calibri, sans-serif; font-size: 14px; ">I'm trying to work with the SOAP interface to the Silverpop API and I'm having some issues.</div><div style="font-family: Calibri, sans-serif; font-size: 14px; "><br></div><div style="font-family: Calibri, sans-serif; font-size: 14px; ">The request I want to send looks like this:</div><div style="font-family: Calibri, sans-serif; font-size: 14px; "><br></div><div style="font-family: Calibri, sans-serif; font-size: 14px; "><table cellspacing="0" cellpadding="0" style="border-collapse: collapse; "><tbody><tr><td valign="top" style="padding-top: 0px; padding-right: 5px; padding-bottom: 0px; padding-left: 5px; "><p style="margin-top: 3px; margin-right: 0px; margin-bottom: 3px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><Envelope> </p><p style="margin-top: 3px; margin-right: 0px; margin-bottom: 3px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><Body> </p><p style="margin-top: 3px; margin-right: 0px; margin-bottom: 3px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><AddRecipient> </p><p style="margin-top: 3px; margin-right: 0px; margin-bottom: 3px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><LIST_ID>85628</LIST_ID> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><CREATED_FROM>1</CREATED_FROM> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><COLUMN> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><NAME>Customer Id</NAME> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><VALUE>123-45-6789</VALUE> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "></COLUMN> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><COLUMN> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><NAME>EMAIL</NAME> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><VALUE>somebody@domain.com</VALUE> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "></COLUMN> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><COLUMN> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><NAME>Fname</NAME> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "><VALUE>John</VALUE> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "></COLUMN> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "></AddRecipient> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "></Body> </p><p style="margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; font: normal normal normal 9px/normal 'Myriad Pro'; "></Envelope></p></td></tr></tbody></table></div><div style="font-family: Calibri, sans-serif; font-size: 14px; "><br></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;">So I have </span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif; "><div> <span class="Apple-tab-span" style="white-space:pre">        </span>$params = array(</div><div> <span class="Apple-tab-span" style="white-space:pre">                </span>'LIST_ID' => 1111,</div><div> <span class="Apple-tab-span" style="white-space:pre">                </span> 'CREATED_FROM' => 0,</div></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif; "> <span class="Apple-tab-span" style="white-space:pre">                </span> 'COLUMN' => array('NAME' => 'email', 'VALUE' => '</span><span class="Apple-style-span" style="border-collapse: collapse; ">somebody@domain.com</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif; ">'),<br></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif; "> <span class="Apple-tab-span" style="white-space: pre; ">                </span> 'COLUMN' => array('NAME' => 'Fname', 'VALUE' => '<span class="Apple-style-span" style="border-collapse: collapse; ">John</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif; ">')</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif; "></span><div> <span class="Apple-tab-span" style="white-space:pre">        </span> );</div></span><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif; "><span class="Apple-tab-span" style="white-space:pre">        </span>client->AddRecipient(</span><span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri, sans-serif; ">$params);</span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;">Which works but obviously the params array can only have 1 'COLUMN' key so I can't pass more than one field.</span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;">I've tried passing the params as SoapVar objects but that seems to stop the function name wrapping to parameters for some reason.</span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;">Anyone got any ideas wha</span><span class="Apple-style-span" style="border-collapse: collapse; ">t I should be doing here?</span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;">Cheers</span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;">Mike</span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div style="font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="border-collapse: collapse;"><br><div> </div></span></div></body></html>