Hi guys,
I'm trying to call a function from my webservice that I know works. I've called all the functions through php4 using nusoap and everything's good. I'm not sure of the syntax in php5 though. When I call my createUser web service function with an array of the users details I get this exception:
EXCEPTION=SoapFault exception: [soapenv:Server.userException] org.xml.sax.SAXException: No deserializer for {https://app.quotemedia.com/services/EndUser}ArrayOf_xsd_int in C:\workspace\soaptest\php5enduser.php:82 Stack trace: #0 [internal function]: SoapClient->__call('createUser', Array) #1 C:\workspace\soaptest\php5enduser.php(82): SoapClient->createUser(Array) #2 C:\workspace\soaptest\php5enduser.php(62): createUserFunc(Object(SoapClient), Array) #3 {main}
I'm putting the array together like this:
$user = array (
'address' => '154 Maple Street',
'city' => 'Vancouver',
'country' => 'CA',
'email' => 'my@email.com',
'firstName' => 'Fred',
'lastName' => 'Smith',
'password' => 'abcdefg',
'phone' => '604-123-4567',
'products' => array('6'),
'state' => 'BC',
'username' => $username,
'wemail' => 'wireless@email.com',
'zip' => '90210'
);
and calling it like this:
$result = $client->getUser($user);
Any ideas?
Thanks!
Tig