This is part of my webmethod in c#:
SqlCommand query = new SqlCommand();
query.CommandText = "SELECT id,name,email FROM guys";
query.Connection = client;
DataSet guysdata = new DataSet("guys");
SqlDataAdapter readadata = new SqlDataAdapter();
readdata.SelectCommand = query;
I tried to consume it from php with no luck:
$service = new SoapClient('http://localhost/service.asmx?WSDL'
If I try to echo $guys I'll get a "Object of class stdClass could not be converted to string". Would you please tell me how to deal with datasets coming from asp.net webservices in PHP?.