Magento Soap Api (v2), how to show XML response

ixow

New Member
I'm getting in to the Magento SOAP api (v2) to start retrieving new orders and such like. By running this code on the server (via a url) I can show the array result, but is there a way I can show the response as xml?;\[code\]<?php $proxy = new SoapClient('http://www.MAGENTO.co.uk/api/v2_soap/?wsdl'); $sessionId = $proxy->login('user', 'password'); $result = $proxy->salesOrderList($sessionId);var_dump($result);?>\[/code\]
 
Back
Top