Re: [PHP] nuSoap -method '' not defined in service

2007-01-20 Thread Martin Alterisio

Try the following:

$server-register('getColumns', array(), array());

The second argument is an array containing an entry for each argument of the
webservice call, and the third argument is an array for the return value.
Since you don't have either arguments nor return value, empty arrays should
be provided.

Also I think you should call $server-configureWSDL(domain), before
registering anything.

2007/1/18, blackwater dev [EMAIL PROTECTED]:


I have the following code but when I hit the page, I get the xml error of
method '' not defined in service.  I don't have a wsdl or anything
defined.
Is there more I need to do to get the SOAP service set up?

Thanks!

include(nusoap/nusoap.php);

$server=new soap_server();
$server-register('getColumns');

function getColumns(){

$search= new carSearch();

return $search-getSearchColumns();

}
$server-service($HTTP_RAW_POST_DATA);




Re: [PHP] nuSoap -method '' not defined in service

2007-01-18 Thread Chris

blackwater dev wrote:

I have the following code but when I hit the page, I get the xml error of
method '' not defined in service.  I don't have a wsdl or anything defined.
Is there more I need to do to get the SOAP service set up?


Try the nusoap mailing list. They would have a lot more experience with 
it than the people on this list.


http://sourceforge.net/mail/?group_id=57663

--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php