title: Soap PHP: Part of response not coming
body: <p>When I test request in SoapUI it looks like this:</p>
  
  <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
     &lt;soapenv:Body&gt;
        &lt;offers:getOffersResponse xmlns:offers="http://www.pontis.com/integration/common/offers/v1" xmlns:kartel-offers="http://www.pontis.com/integration/kartel/offers/v1" xmlns:common="http://www.pontis.com/integration/common/integration-common/v1"&gt;
           &lt;common:result&gt;
              &lt;common:code&gt;0&lt;/common:code&gt;
           &lt;/common:result&gt;
           &lt;categories&gt;
              &lt;category id="myPromotion"&gt;
                 &lt;offers&gt;
                    &lt;offer id="DB-_Ui03_1966_3a8f1c986c_ca6aa"&gt;
                       &lt;type&gt;BAU&lt;/type&gt;
                       &lt;selectionMode&gt;not-available&lt;/selectionMode&gt;
                       &lt;selectionParams&gt;
                          &lt;code&gt;789&lt;/code&gt;
                       &lt;/selectionParams&gt;
                       &lt;kartel-offers:digitalPresentationInfo&gt;
                          &lt;text&gt;Vivamus, WEB Russian mea Lesbia, atque amemus, rumoresque senum severiorum omnes unius aestimemus assis!
  soles occidere et redire possunt; nobis, cum semel occidit brevis lux, nox est perpetua una dormienda.&lt;/text&gt;
                          &lt;bannerId&gt;catullus5_web.png&lt;/bannerId&gt;
                       &lt;/kartel-offers:digitalPresentationInfo&gt;
                       &lt;kartel-offers:digitalOfferAdditionalInfo&gt;
                          &lt;shortDescription&gt;one WEB RU of the most famous poems by Catullus&lt;/shortDescription&gt;
                          &lt;amount&gt;25&lt;/amount&gt;
                          &lt;price&gt;22&lt;/price&gt;
                          &lt;unitType&gt;MINUTES&lt;/unitType&gt;
                          &lt;validity&gt;29&lt;/validity&gt;
                       &lt;/kartel-offers:digitalOfferAdditionalInfo&gt;
                    &lt;/offer&gt;
                 &lt;/offers&gt;
                 &lt;kartel-offers:digitalPresentationInfo&gt;
                    &lt;text&gt;myPromotion&lt;/text&gt;
                 &lt;/kartel-offers:digitalPresentationInfo&gt;
              &lt;/category&gt;
           &lt;/categories&gt;
        &lt;/offers:getOffersResponse&gt;
     &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>But when I make call from php it misses some attributes (digitalPresentationInfo, digitalOfferAdditionalInfo etc.):</p>
  
  <pre><code>    stdClass Object ( [result]
   =&gt; stdClass Object ( [code]
   =&gt; 0 )
   [categories]
  =&gt; stdClass Object ( [category] 
  =&gt; stdClass Object ( [offers]
   =&gt; stdClass Object ( [offer]
   =&gt; stdClass Object ( [type]
   =&gt; BAU [selectionMode]
   =&gt; not-available [selectionParams]
   =&gt; stdClass Object ( [code]
   =&gt; 789 ) [id]
   =&gt; DB-_Ui03_1966_3a8f1c986c_ca6aa ) ) [id]
   =&gt; myPromotion ) ) )
  </code></pre>
  
  <p>Why attributes are missing during php call?</p>
  
  <p>PHP Code:</p>
  
  <pre><code>$wsdlUrl = 'kartel/kartel-offers.wsdl';
  
  $soapClientOptions = array(
      'exceptions'=&gt;true,
      'cache_wsdl'=&gt;WSDL_CACHE_NONE,
      'encoding'=&gt;'utf-8'
  );
  $client = new \SoapClient($wsdlUrl,$soapClientOptions);
  $params = [
      'msisdn' =&gt; '7773277581',
      'requestedOfferType' =&gt; 'bau',
      'language' =&gt; 'ru',
      'channel' =&gt; 'web'
  ];
  $result = $client-&gt;getOffers($params);
  print_r($result);
  </code></pre>
  
  <p><strong>UPD</strong> 
  PHP code (in html section) which makes soap call and XSD schema (in js section) : <a href="https://jsfiddle.net/j5v8eoyf/" rel="nofollow noreferrer">https://jsfiddle.net/j5v8eoyf/</a></p>