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,v ersion. [version] => 1.0 [monthlyReceiveR eports] => [monthlySendRepo rts] => [receiveReports] => [sendReports] => )
Client (masking adminId and adminPassword):
$client = new SoapClient("htt ps://www.efaxcorpora te.com/corp/services/CorpAdmin?wsdl" );
$parm = array("adminId" => "*****","versio n" => "1.0", "adminPassw ord" => "***",);
print_r($client->getUsageReport _v1(array($parm )));
Thanks for any help on this
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,v ersion. [version] => 1.0 [monthlyReceiveR eports] => [monthlySendRepo rts] => [receiveReports] => [sendReports] => )
Client (masking adminId and adminPassword):
$client = new SoapClient("htt ps://www.efaxcorpora te.com/corp/services/CorpAdmin?wsdl" );
$parm = array("adminId" => "*****","versio n" => "1.0", "adminPassw ord" => "***",);
print_r($client->getUsageReport _v1(array($parm )));
Thanks for any help on this
Comment