Hi All,
Being new to SOAP and web services, I have been trying to work with the following web server wsdl file created my our internal Java developer:
http://192.168.103.200:8080/capabilities/
The service basically provides details about mobile phone capabilities, this is how I called it:
/ Include the NuSOAP library. /
require_once('nusoap/nusoap.php');
$wsdl = "http://192.168.103.200:8080/capabilities/";
$client=new soapclient($wsdl,'wsdl');
$response = $client->call('getCapabilities',array('CapabilitiesRequest' => 'SIE-A60'));
echo '<h1>Error: ' . $client->getError() . '</h1>';
Am I setting the parameter incorrectly when I call getCapabilities???
I check for errors, unfortunately it displays
wsdl error: phpType is struct, but value is not an array: see debug output for details
I have just started using Web Services and your advice and recommendations would be much appreciated.
FYI, my working environment is Windows XP, Apache, and PHP 5.
I have attached the wsdl file for your reference.
Thanks for you help
Colin