title: Perl SOAP::Lite result only in debug?
body: <p>I'm a little stuck. I use SOAP::Lite and it returns an empty result.</p>
  
  <p>Using the debug-mode, I see that the request is successful.
  Where is my error?</p>
  
  <pre><code>use Data::Dumper;
  use Encode;
  use SOAP::Lite;
  
  my $user="username";
  my $password="password";
  my $ean = '1234567890123'
  my $service_url='http://produktdaten.xxx.net/soapschemes/EAN.wsdl';
  
  my $client = SOAP::Lite-&gt;service($service_url);  
  $client-&gt;soapversion('1.2'); 
  $client-&gt;envprefix('soap12');
  
  my @headers = (
      SOAP::Header-&gt;name('PID')-&gt;value($user),
      SOAP::Header-&gt;name('password')-&gt;value($password) );
  
  # make the call 
  my $result = $client-&gt;getProductsByEAN($user,$password,$ean);
  
  print Dumper($result);
  </code></pre>
  
  <p>$result prints out:</p>
  
  <pre><code>$VAR1 = '0';
  </code></pre>
  
  <p>When I turn on the debug mode </p>
  
  <pre><code>use SOAP::Lite +trace =&gt; 'debug';
  </code></pre>
  
  <p>, I get:</p>
  
  <pre><code>SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK
  Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  Connection: close
  Date: Sun, 30 Jun 2013 11:27:26 GMT
  Pragma: no-cache
  Server: nginx/1.4.0
  Content-Length: 4447
  Content-Type: application/soap+xml; charset=utf-8
  Expires: Thu, 19 Nov 1981 08:52:00 GMT
  Client-Date: Sun, 30 Jun 2013 11:36:15 GMT
  Client-Peer: x.x.x.x.x:80
  Client-Response-Num: 1
  Set-Cookie: xxx_CORE=344gb3h94nlmob7am9bmv3pv40; path=/
  X-Powered-By: PHP/5.4.15
  
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn:xmethodsProductDataService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"&gt;&lt;env:Body&gt;&lt;ns1:getProductsByEANResponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"&gt;7{......AND SO ON...]
  </code></pre>
  
  <p>Can you tell me where what I'm missing?</p>
  
  <p>Thanks in advance</p>