J
jatrojoomla
Hi!
Is there any one with knowledge of CJ [Commission Junction] API
development
I am getting error like:
http://fb.aafter.com/cj/testb/support.php
during Commission Junction SOAP access
Commission Junction:
http://cj.com/
http://webservices.cj.com/
Code is:
<body>
<center>
<h2>Commission Junction Demo Product Search</h2>
<form action="<?php echo $_SERVER['PHP_SELF'] ?>"
method="get">
<p><label for="keywords">Search for </label>
<input type="text" name="keywords" value="<?php echo
$_GET['keywords'] ?>" >
<input type="submit" value="Continue →" /></p>
</form>
</center>
<hr>
<?php
try {
$ini = ini_set("soap.wsdl_cache_enabled","0");
$client = new SoapClient('https://linksearch.api.cj.com/wsdl/version2/
productSearchServiceV2.wsdl', array('trace'=> true));
$results = $client->search(
$developerKey = 'developer_key /
developer_password',
$locale = 'EN'
);
} catch (Exception $e){
echo "<div id='error'><p>There was an error
with your request or the service is unavailable.</p></div>";
}
?>
</body>
</html>
Is there any one with knowledge of CJ [Commission Junction] API
development
I am getting error like:
http://fb.aafter.com/cj/testb/support.php
during Commission Junction SOAP access
Commission Junction:
http://cj.com/
http://webservices.cj.com/
Code is:
<body>
<center>
<h2>Commission Junction Demo Product Search</h2>
<form action="<?php echo $_SERVER['PHP_SELF'] ?>"
method="get">
<p><label for="keywords">Search for </label>
<input type="text" name="keywords" value="<?php echo
$_GET['keywords'] ?>" >
<input type="submit" value="Continue →" /></p>
</form>
</center>
<hr>
<?php
try {
$ini = ini_set("soap.wsdl_cache_enabled","0");
$client = new SoapClient('https://linksearch.api.cj.com/wsdl/version2/
productSearchServiceV2.wsdl', array('trace'=> true));
$results = $client->search(
$developerKey = 'developer_key /
developer_password',
$locale = 'EN'
);
} catch (Exception $e){
echo "<div id='error'><p>There was an error
with your request or the service is unavailable.</p></div>";
}
?>
</body>
</html>