Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Need integration with MarketSmart?

Need integration with MarketSmart?

Scheduled Pinned Locked Moved C#
csharpphpasp-netwcfdata-structures
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fmlove
    wrote on last edited by
    #1

    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);

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups