Money-Code

Coding For Online Success

January 10, 2008
by admin
18 Comments

CJ API/WebService version 2

There was a comment a couple of days ago about CJ WebService Version 2. I did get this to work. I found some good code another programmer put together that access the v2 WSDL. Basically, this is my API test script, so you need to manually add your keywords and advertiser ID in the code, but it’s a proof of concept. I think I’ve abandoned the CJ API. I personally think it’s not that consistent. I often get ‘internal server error’ in the response XML. I think it might be a riskier move to go version 2 for real time calls.. just my two cents.

This version needs PHP5 with SOAP services built into PHP (–enable-soap). Also it’s using try/catch for handling SOAP exception and it’s only available in PHP5.

As I mentioned above, I’m pretty much ditching CJ web services all together. I still use eBay’s API, but CJ’s seems a little off for me. I’m doing initial tests with CJ Data Feeds now, and this really appears to be the direction I need to go.

Continue reading

October 12, 2007
by admin
0 comments

CJ web service issues – unable to access WSDL

I’ve noticed issues with connecting to CJ Web Services. I’ve posted a thread on their forum (apparently there was an outage on October 5th. Here are the details of that:

The Web Services system upgrade that was performed last week required a roll back of some functionality in order to preserve 100% functionality of the entire Web Services production systems. The issues have been addressed and are to be deployed Thursday, October 4th. As a result, all Web Services systems will be unavailable from approximately 6:00pm � 8:00pm PDT on Thursday.

Now, I’m unable to hit the following addresses to retrieve WSDL information:

http://api.cj.com/wsdl/productSearchService.wsdl
or
http://api.cj.com/wsdl/rpc_encoded/productSearchService.wsdl Continue reading