...
Code Block |
---|
// Resource definition
$opt = array('resource' => 'customers');
//XML file definition
$opt['putXml'] = $xml->asXML();
// Definition of ID to modify
$opt['id'] = $_GET[ 'id' ];
// Calling asXML () returns a string corresponding to the file
$xml = $webService->edit($opt);
|
...
If you have trouble, look at the code in the 2-update.php
sample file.