Richard Chamberlain
2004-04-10 22:49:13 UTC
Hello,
To begin with let me qualify that I'm both a SOAP and NuSOAP newbie, so
it could simply be a misunderstanding on my part.
Basically I want to register a function that takes no parameters, using
wsdl.
This is what I've got:
$server->register('get_all_documents',
false,
array('return' => 'tns:DocumentHeaderArray'),
$NAMESPACE,
'urn:jadu_documents_wsdl#get_all_documents',
'rpc',
'encoded',
'Return the complete set of document headers'
);
I looked at the implementation of register in nusoap.php and see that by
default the input is false and so I'm guessing the above is what I need
to do. Doesn't appear to work though :-/
Firstly loading the page without wsdl gives me 'Warning: Invalid
argument supplied for foreach() in
/home/kbcouncil/public_html/soap/nusoap.php on line 2929'. Secondly my
soap client complains about incorrect parameters.
Any suggestions?
Many thanks,
Richard
To begin with let me qualify that I'm both a SOAP and NuSOAP newbie, so
it could simply be a misunderstanding on my part.
Basically I want to register a function that takes no parameters, using
wsdl.
This is what I've got:
$server->register('get_all_documents',
false,
array('return' => 'tns:DocumentHeaderArray'),
$NAMESPACE,
'urn:jadu_documents_wsdl#get_all_documents',
'rpc',
'encoded',
'Return the complete set of document headers'
);
I looked at the implementation of register in nusoap.php and see that by
default the input is false and so I'm guessing the above is what I need
to do. Doesn't appear to work though :-/
Firstly loading the page without wsdl gives me 'Warning: Invalid
argument supplied for foreach() in
/home/kbcouncil/public_html/soap/nusoap.php on line 2929'. Secondly my
soap client complains about incorrect parameters.
Any suggestions?
Many thanks,
Richard