Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have published WCF service which contains multiple methods that returns DataSet.
I have consumed this service in windows application working fine.
Now I would like to consume this wcf service in php application.
Below is the sample code for GetCancelledOrderList() method that accepts two parameters and returns the DataSet as a result.

$USERNAME_TEST = 'TESTAFF';
$PASSWORD_TEST = 'T@4S4%T';
$WSDL_TEST = "serviceurl?wsdl";

$client = new SoapClient($WSDL_TEST);
//print_r($client->__getFunctions());
$result =$client->GetCancelledOrderList(array('userName'=>$USERNAME_TEST, 'password'=>$PASSWORD_TEST));
var_dump($result);
print_r($result);
?>

I am not able to print response result that contains list order order number.
Please help me to sortout this issue.
Thanks in advance.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900