Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have asmx webservice, which is returning a dataset and trying to access one tag or column form this webserivice by using php..

This is my code.

PHP
$client = new SoapClient("http://192.168.1.30:8080/StudentWebService/StudentResultWebService.asmx?wsdl",array(
      "trace"      => 1,        // enable trace to view what is happening
      "exceptions" => 0,        // disable exceptions
      "cache_wsdl" => 0)        // disable any caching on the wsdl, encase you alter the wsdl server
  );

$params = array(
  "regNo" => 100,
);

$result = $client->GetStudentResult($params);


and this return all dataset column values in one string...

What to do now to access only one Column value..??
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