note 91961 modified in soapvar.soapvar by danbrown
| From: | danbrown@php.net | Date: | Thu, 02 Jul 2009 21:04:23 +0000 |
| Subject: | note 91961 modified in soapvar.soapvar by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157849@lists.php.net to get a copy of this message | ||
If you need to add attributes XML entities in your SOAP query like this:
"<FilterBy Column="Id" FilterOperator="=" FilterValue="NUMBER"
Table="Case">"
Use SoapVar() with the type XSD_ANYXML as shown below. Example uses __soapCall and other
SoapParams.
<?php
$response = $client->__soapCall('GetFilteredRecordList',
array(new SoapParam($DSToken, 'Token'),
new SoapParam('Slide', 'TableName'),
new SoapVar('<FilterBy Column="Id" FilterOperator="="
FilterValue="NUMBER" Table="Case"/>', XSD_ANYXML)),
array('soapaction' => 'http://www.example.com/webservices/GetFilteredRecordList'));
?>
Use this so you don't waste HOURS looking around:
--was--
Do you need to add attributes XML entities in your SOAP query?
Like this: "<FilterBy Column="Id" FilterOperator="="
FilterValue="NUMBER" Table="Case">"
Use SoapVar() with the type XSD_ANYXML as shown below. Example uses __soapCall and other
SoapParams.
<?php
$response = $client->__soapCall('GetFilteredRecordList',
array(new SoapParam($DSToken, 'Token'),
new SoapParam('Slide', 'TableName'),
new SoapVar('<FilterBy Column="Id" FilterOperator="="
FilterValue="NUMBER" Table="Case"/>', XSD_ANYXML)),
array('soapaction' => 'http://www.aperio.com/webservices/GetFilteredRecordList'));?>
Use this so you don't waste HOURS looking around:
http://php.net/manual/en/soapvar.soapvar.php