Click here to Skip to main content
15,881,881 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All.

I have made a web service in Asp.net which returning some data in form of xmlElement.
Now I have php client, but I don't know how to get those records. Because its not an xml file. So I am not able to use predefine functions available in php.

I am very much new to php, Its just for tthe testing purpose , to check whether I can consume it on php client or not.

As far as .Net client concern we have some ready made classes like xmlNodereader or ReadXml etc. but don't have idea about php.

Thanks ,
Posted

1 solution

$var = $s->call('GetDataFromServices', array('parameters' => $param['date'],$param['type']));

        function test_print($item, $key)
	{
	    echo "$key holds $item\n";
	}

	
array_walk_recursive($var, 'test_print');
 
Share this answer
 

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