That is not the API that is directions on how to call the soap API using PHP. Have you tried using the SOAP wizard built into VFP? I have not use soap myself but maybe if you ask for soap help someone here my give you some ideas.
>Honestly? Not a F**king clue. here is the example for the API I am trying to use.
>
>$proxy = new SoapClient('http://magentohost/api/soap/?wsdl');
>$sessionId = $proxy->login('apiUser', 'apiKey');
>
>$newImage = array(
> 'file' => array(
> 'name' => 'file_name',
> 'content' => base64_encode(file_get_contents('product.jpg')),
> 'mime' => 'image/jpeg'
> ),
> 'label' => 'Cool Image Through Soap',
> 'position' => 2,
> 'types' => array('small_image'),
> 'exclude' => 0
>);
>
>$imageFilename = $proxy->call($sessionId, 'product_media.create', array('Sku', $newImage));
>
>There is just too much 'new' for me in there to get a handle on it.
>>Can't you pass the values as XML?
>>
>>>>I don't think so. You need to use their web service.
>>>>
>>>>>Okay since the other threads went nowhere, NEW IDEA.
>>>>>
>>>>>Is it possible (and how)to send php code to a webserver through VFP? And i guess I should also ask about passing variable data through that as well.
>>>
>>>But in order to do that I need to pass a nested array and VFP doesn't do THAT either.