I've had great success in using nusoap
to make calls to another server and parse results... until I tried sending CDATA. It converted all the XML data in my parameter string into entities (see file attached).
Here's a simplified version of what I have. Any thoughts on how to prevent nusoap from messing with my request? :)
$functionName = 'Say';
$request['Text'] = array(
'SynthString' => '<![CDATA[I am <prosody rate="x-slow">very happy</prosody>]]>',
'Encoding' => 'UTF-8'
$request['VoiceInfo'] = array(
'Name' => 'Princess',
'Owner' => 'Cepstral'
$request['AudioInfo'] = array(
'SignalRate' => '16',
'Format' => 'mp3',
'DeliveryType' => 'link'
$soapClient = new nusoap_client('http://' . 'theserver.com', false);
$result = $soapClient->call($functionName, $request);
//write request to file as seen as an attachment for this post
$myFile = "request.xml";
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = $soapClient->request;
Thanks much for the assist in advance! :D