title: How to fix the WSDL file not well-formed (invalid token) issue
body: <p>I have created WSDL file connect the file with PERL soap method. After the exection i get the below error message </p>
  
  <p>"<strong>not well-formed (invalid token) at line 1, column 1, byte 1 at /usr/lib/x86_64-linux-gnu/perl5/5.26/XML/Parser.pm line 187.</strong>" .</p>
  
  <p>Please let me know have to fix the issue. Review below source code.</p>
  
  <p><strong>soap-client.pl</strong></p>
  
  <pre><code>#!/usr/bin/perl -w
  #use SOAP::Lite +trace =&gt; ‘debug’;
  
  use SOAP::Lite;
  my $client = SOAP::Lite
  -&gt;service('http://localhost/soap/perl/marketplace.wsdl');
  my $result = $client-&gt;login( 'test_user', 'test_password' ); 
  
  
  #~ my $result = $client-&gt;sayHello('');
  
  print $result;
  </code></pre>
  
  <p><strong>soap-server.pl</strong> </p>
  
  <pre><code>#!/usr/bin/perl
  
  function login( $login, $password )
  {
    return $login;
  }
  
  function doFilter( $params )
  {
    return "some string";
  }
  </code></pre>
  
  <p><strong>marketplace.wsdl</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;definitions name="Marketplace"
               targetNamespace="urn:Marketplace"
               xmlns:tns="urn:Marketplace"
               xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
               xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
               xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
               xmlns="http://schemas.xmlsoap.org/wsdl/"&gt;
  
  
      &lt;message name="LoginRequest"&gt;
          &lt;part name="login" type="xsd:string"/&gt;
          &lt;part name="password" type="xsd:string"/&gt;
      &lt;/message&gt;
  
      &lt;message name="LoginResponse"&gt;
          &lt;part name="result" type="xsd:string"/&gt;
      &lt;/message&gt;
  
      &lt;portType name="LoginPort"&gt;
          &lt;operation name="login"&gt;
              &lt;input message="tns:LoginRequest"/&gt;
              &lt;output message="tns:LoginResponse"/&gt;
          &lt;/operation&gt;
      &lt;/portType&gt;
  
      &lt;binding name="LoginBinding" type="tns:LoginPort"&gt;
          &lt;soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
  
          &lt;operation name="login"&gt;
              &lt;soap:operation soapAction="urn:LoginAction"/&gt;
              &lt;input&gt;
                  &lt;soap:body use="encoded" namespace="urn:Marketplace" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
              &lt;/input&gt;
              &lt;output&gt;
                  &lt;soap:body use="encoded" namespace="urn:Marketplace" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
              &lt;/output&gt;
          &lt;/operation&gt;
      &lt;/binding&gt;
  
      &lt;service name="WSDLService"&gt;
          &lt;port name="LoginPort" binding="tns:LoginBinding"&gt;
              &lt;soap:address location="http://localhost/soap/perl/soap-server.pl"/&gt;
          &lt;/port&gt;
      &lt;/service&gt;
  &lt;/definitions&gt;
  </code></pre>
  
  <p>finally run the soap-client.pl file return below error message.</p>
  
  <p>"<strong>not well-formed (invalid token) at line 1, column 1, byte 1 at /usr/lib/x86_64-linux-gnu/perl5/5.26/XML/Parser.pm line 187.</strong>" .</p>