I am sorry I never responded to your previous post. I believe this issue is
fixed in the revision of the code committed to CVS last week.
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "Christian Tiberg" <ctiberg@xxxxxxxxx>
To: "nusoap-general" <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, February 08, 2006 10:47 AM
Subject: [Nusoap-general] Repost: getProxyClassCode error/problem
Hello!
I sent this out some time ago, but didn't get a single response. Perhaps it
didn't make it to the list, so I repost.
I'm using getProxyClassCode to generate a prebuilt object which I then
extend with sessions support, as I think that I've previously outlined here.
This all works fine, except for the second function below:
// http://www.w3.org/2001/XMLSchema:string $userName,
http://www.w3.org/2001/XMLSchema:string $password
function loginUser($userName, $password) {
$params = array('userName' => $userName, 'password' => $password);
return $this->call('loginUser', $params, 'http://testuri.com ',
'urn:testsoap#loginUser');
}
// void
function logout() {
$params = array('userName' => $userName, 'password' => $password);
return $this->call('logout', $params, ' http://testuri.com',
'urn:testsoap#logout');
}
The logout() function is correctly identified as having no parameters, but
then $params is constructed from two undeclared variables, taken from
another function.
After further study, I've found that this is true for every function that
doesn't have a parameter - it repeats the same mistake over and over. Isn't
it allowed to have functions without parameters in SOAP, or what? Is it me
doing something wrong, or is it the getProxyClassCode function screwing it
up?
--
Best regards,
Christian Tiberg
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
|