By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,638 Members | 2,249 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,638 IT Pros & Developers. It's quick & easy.

SOAP PHP Client returns missing params but soapUI works fine

P: 1
I created the following php soap client and the service continues to report missing or invalid adminPassword, version. When I use soapUI the method and parameters passed works fine, so not sure why the php client not is working.

I'm also getting a Notice msg so not sure if that has anything to do w/ it "Notice: Array to string conversion in /var/www/html/index.php on line 5 stdClass"

Response: ( [method] => getUsageReport_v1 [statusCode] => GEN006 [statusMessage] => The following required parameters are missing or invalid: adminPassword,version. [version] => 1.0 [monthlyReceiveReports] => [monthlySendReports] => [receiveReports] => [sendReports] => )

Client (masking adminId and adminPassword):

$client = new SoapClient("https://www.efaxcorporate.com/corp/services/CorpAdmin?wsdl");
$parm = array("adminId" => "*****","version" => "1.0", "adminPassword" => "***",);
print_r($client->getUsageReport_v1(array($parm)));

Thanks for any help on this
Apr 11 '12 #1
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
what data type does getUsageReport_v1() expect?

which is line 5?
Apr 16 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.