tpiazza55 Posted April 19, 2007 Share Posted April 19, 2007 i am calling a web service -- it returns the value done when finished i get Array ( [helloResult] => done ) -- how do i just get done code below <?php require_once('lib/nusoap.php'); $client = new soapclient('http://localhost/phptestservice2/service.asmx?wsdl','wsdl'); $client->debug_flag = true; $result = $client->call('hello'); echo "The message is: "; print_r($result); ?> Link to comment https://forums.phpfreaks.com/topic/47782-solved-output-of-web-service-format/ Share on other sites More sharing options...
per1os Posted April 19, 2007 Share Posted April 19, 2007 <?php require_once('lib/nusoap.php'); $client = new soapclient('http://localhost/phptestservice2/service.asmx?wsdl','wsdl'); $client->debug_flag = true; $result = $client->call('hello'); $result = $result['helloResult']; echo "The message is: " . $result; ?> Link to comment https://forums.phpfreaks.com/topic/47782-solved-output-of-web-service-format/#findComment-233458 Share on other sites More sharing options...
tpiazza55 Posted April 19, 2007 Author Share Posted April 19, 2007 thanks Link to comment https://forums.phpfreaks.com/topic/47782-solved-output-of-web-service-format/#findComment-233499 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.