logo       

wsdl no input parameter: msg#00036

php.nusoap.general

Subject: wsdl no input parameter

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




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise