title: Authorization http header is not working at Zend Soap Client
body: <p>I Used the below code to retrive the categories from the third party site using API, but unfortunately stream context is not able to requested at their API and resulting in the Internal Error.</p>
  
  <p>FYI : It is used under zend framework.</p>
  
  <pre><code>$header = "Authorization: Bearer ".$accestoken."\r\n"."Content-Type:text/xml";//.'Content-Type:application/xml';
  
  $wsdl = 'wsdl url';
  
  $context = stream_context_create(array('http' =&gt; array('header' =&gt; $header,'method'=&gt;'GET')));
  
               $options = array('stream_context'=&gt;$context,'encoding'=&gt;'ISO-8859-1','exceptions'=&gt;FALSE);
  
  
              $params = array ('accessToken' =&gt; $accestoken);
  
  
              $response = $client-&gt;getAdCategories($params);
  
               print_r($response);
  </code></pre>
  
  <p>So please find the above code and provide some solution for this issue.</p>