I need to call a webservice method using nusoap, the method needs two xml string parameters. one is 'setting' and another one 'record' I have done the following manner
$settings = '<settings>
<accesscode>1111</accesscode>
<sourceid>1111</sourceid>
<sourcetable>data</sourcetable>
<projectid>1111</projectid>
</settings>';
$record = '<record>
<phonenum>111111</phonenum>
<callinfo>call</callinfo>
<alternates>
<altphonenum>11111</altphonenum>
</alternates>
<record>';
$result = $client->call(
'AddRecord', array('NewRecordXML' => $record, 'SettingsXML' => $settings));
i didn't get any error and the server response status is HTTP/1.1 200 OK
but i got false response.
my question:
is this right way to pass xml parameter as a string type?
please reply
thanks