CJ web Services

Discussion in 'Commission Junction' started by brentl, Jan 9, 2007.

  1. #1
    I created a simple asp.net web application that uses CJ's web services using code taken from their samples.

    So far I have been unable to get any results back using product search or link search. I use my developerID along with a PID from one of my sites.

    No matter what keywords I pass to the web service I get no results. Has anyone experienced this issue?

    Thanks a million,
    Brent
     
    brentl, Jan 9, 2007 IP
  2. bestoptimized

    bestoptimized Peon

    Messages:
    159
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No.
    While their web services isn't very good I didn't have any trouble getting search results to come up (in fact it returns far more than it should for me).
    I am using PHP 4.4 and NUSOAP.
    I don't know about ASP.net.
     
    bestoptimized, Jan 9, 2007 IP
  3. 123GoToAndPlay

    123GoToAndPlay Peon

    Messages:
    669
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    @bestoptimized,

    I am trying to get soap/php to work with no luck. At the moment I am using php4 and nusoap.php.

    
    include('nusoap.php');
       $client = new SoapClient("http://www.xmethods.net/sd/2001/DemoTemperatureService.wsdl", 'wsdl');
       //print_r($client);
      echo("\nReturning value of getTemp() call: ".$client->getTemp("12345"));
    
    Code (markup):
    But I get the
    Fatal error: Call to undefined function:
    messages

    Could you give me a simple example code??
     
    123GoToAndPlay, Feb 9, 2007 IP
  4. brandondrury

    brandondrury Peon

    Messages:
    375
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I 100% agree. I also want to point out that those ads it does display are usually way off base in terms of relevancy. I guess they can't figure out that the title may be of some importance.

    Brandon
     
    brandondrury, Apr 2, 2007 IP
  5. Trespasser

    Trespasser Peon

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yeah, I'd really like to see some nusoap code that works with the CJ web service. I got it working with SOAP, but really wanted to use nusoap for portability to other servers that don't have the extension.
     
    Trespasser, Apr 3, 2007 IP
  6. pogung177

    pogung177 Well-Known Member

    Messages:
    415
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Some SOAP only can run on PHP5. You need to little modify the script make it run on PHP 4.x.x
     
    pogung177, Apr 3, 2007 IP
  7. brandondrury

    brandondrury Peon

    Messages:
    375
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Check the forum of CJ webservices.

    Brandon
     
    brandondrury, Apr 9, 2007 IP