Is anyone successfully using the CJ web services? I just keep getting java.lang.NullPointerExceptions even though my app is .net (clearly their errors). CJ support doesn't even know what a web service is. I googled and found many people getting this or other errors. Question is: is it a temporary problem or am I doomed to parse manually downloaded reports for eternity?
The specific API I'm trying to use is the daily publisher commission service. Here is the WSDL.
Links:
After a spending many days, this code is working for me.
$client = new SoapClient($cjCommissionUrl,
array('trace' => 1,
'soap_version' => SOAP_1_1,
'style' => SOAP_DOCUMENT,
'encoding' => SOAP_LITERAL
));
$date = '06/23/2010';
$results = $client->findPublisherCommissions(array(
"developerKey" => $cjDeveloperKey,
"date" => $date,
"dateType" => 'posting',
"countries" => 'all',
));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With