title: ebaySOAP sample example gives error - unable to find the wrapper "https"
body: <p>Why i am getting the following
  error </p>
  
  <blockquote>
    <p>Warning: SoapClient::__doRequest(): Unable to find the wrapper "https"
    - did you forget to enable it when you configured PHP</p>
  </blockquote>
  
  <p>What is my mistake? </p>
  
  <p>My code is following</p>
  
  <pre><code>$config = parse_ini_file('ebay.ini', true);
  $site = $config['settings']['site'];
  $compatibilityLevel = $config['settings']['compatibilityLevel'];
  
  $dev = $config[$site]['devId'];
  $app = $config[$site]['appId'];
  $cert = $config[$site]['cert'];
  $token = $config[$site]['authToken'];
  $location = $config[$site]['gatewaySOAP'];
  
  // Create and configure session
  $session = new eBaySession($dev, $app, $cert);
  $session-&gt;token = $token;
  $session-&gt;site = 203; // 0 = US;
  $session-&gt;location = $location;
  
  // Make an AddItem API call and print Listing Fee and ItemID
  try {
  
      $client = new eBaySOAP($session);
  
      $PrimaryCategory = array('CategoryID' =&gt; 357);
  
      $Item = array('ListingType' =&gt; 'Chinese',
                    'Currency' =&gt; 'INR',
                    'Country' =&gt; 'US',
                    'PaymentMethods' =&gt; 'PaymentSeeDescription',
                    'RegionID' =&gt; 0,
                    'ListingDuration' =&gt; 'Days_3',
                    'Title' =&gt; 'The new item',
                    'Description' =&gt; "It's a great new item",
                    'Location' =&gt; "San Jose, CA",
                    'Quantity' =&gt; 1,
                    'StartPrice' =&gt; 24.99,
                    'PrimaryCategory' =&gt; $PrimaryCategory,
                   );
  
      $params = array('Version' =&gt; $compatibilityLevel, 'Item' =&gt; $Item);
      $results = $client-&gt;AddItem($params);
  
      // The $results-&gt;Fees['ListingFee'] syntax is a result of SOAP classmapping
      print "Listing fee is: " . $results-&gt;Fees['ListingFee'] . " &lt;br&gt; \n";
  
      print "Listed Item ID: " . $results-&gt;ItemID . " &lt;br&gt; \n";
  
      print "Item was listed for the user associated with the auth token code       herer&gt;\n";`enter code here`
  
  } catch (SOAPFault $f) {
      print $f; // error handling
  }
  </code></pre>
  
  <p>Thanks in advance 
  Murali </p>