Hi,

It's sent html error message. Now i have enable the "use SOAP::Lite +trace => "debug";".

Review full response.

SOAP::Transport::HTTP::Client::send_receive: POST http://localhost/soa +p/perl/soap-server.pl HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 566 Content-Type: text/xml; charset=utf-8 SOAPAction: "urn:LoginAction" <?xml version="1.0" encoding="UTF-8"?><soap:Envelope soap:encodingStyl +e="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://sche +mas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap +.org/soap/encoding/" xmlns:tns="urn:Marketplace" xmlns:wsdl="http://s +chemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema +" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><t +ns:login><login xsi:type="xsd:string">test_user</login><password xsi: +type="xsd:string">test_password</password></tns:login></soap:Body></s +oap:Envelope> SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK Connection: close Date: Tue, 21 Aug 2018 12:16:02 GMT Accept-Ranges: bytes ETag: "7c-573f0161015b0" Server: Apache/2.4.29 (Ubuntu) Content-Length: 124 Content-Type: text/x-perl Last-Modified: Tue, 21 Aug 2018 11:11:23 GMT Client-Date: Tue, 21 Aug 2018 12:16:02 GMT Client-Peer: ::1:80 Client-Response-Num: 1 #!/usr/bin/perl sub login( $login, $password ) { return $login; } sub doFilter( $params ) { return "some string"; }

In reply to Re^2: PERL soap not well-formed (invalid token) by kanewilliam7777
in thread PERL soap not well-formed (invalid token) by kanewilliam7777

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.