Need integration with MarketSmart?
-
Hi All! Actually i need to integration my site with MarketSMART but i have no idea about this there is php code that i need to use in my ASP.NET using c# application can i change this php code to c#....? and any one have the idea about MarketSMART and what things i need for this.... please help me its importany my job... url for MarketSmart site FAQs : https://www.marketsmart.co.nz/basic.php?pagekey=faq&subject=wsdl username guest password MSILweb PHP Code : require_once('lib/nusoap.php'); $client = new SoapClient("https://www.marketsmart.co.nz/axis/services/Service?wsdl"); $err = $client->getError(); $auth = new soapval('auth','AuthenticationInfo',array('credentials'=>(obtain from MSIL),'principal'=>(ditto)),false,'urn:Service'); //////////////////////////////////////////////////////// // Config //////////////////////////////////////////////////////// $cardNumber_val = "9999999990001544"; $cardNumber = new soapval('cardNumber','long',$cardNumber_val); $RewardsAvailableRequest = array('auth'=>$auth, 'cardNumber'=>$cardNumber); $param = new soapval('raReq', 'RewardsAvailableRequest',$RewardsAvailableRequest, false,'urn:Service' ); $result = $client->call('getRewardsAvailable', array($param)); echo $result; print_r($result); echo 'Request: ' . htmlspecialchars($client->request, ENT_QUOTES); echo 'Response: ' . htmlspecialchars($client->response, ENT_QUOTES); echo 'Debug ' . htmlspecialchars($client->debug_str, ENT_QUOTES);