in reply to PERL soap not well-formed (invalid token)
SOAP::Lite expects something that looks like XML in the reply, but at least XML::Parser doesn't think that it gets XML back.
Your next step is to look at what exactly comes back from the other end.
You already have a line # use SOAP::Lite +trace => ‘debug’; in your code, but that doesn't match what the SOAP::Trace documentation suggests. Maybe changing that line to the following gives you more output that gives you a hint where things to wrong?
use SOAP::Lite +trace => 'all';
What you are looking for is likely the response from the server. Maybe the server sends an HTML error message, or some JSON or whatever.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PERL soap not well-formed (invalid token)
by kanewilliam7777 (Novice) on Aug 21, 2018 at 12:21 UTC | |
by Corion (Patriarch) on Aug 21, 2018 at 13:09 UTC | |
|
Re^2: PERL soap not well-formed (invalid token)
by Anonymous Monk on Aug 21, 2018 at 11:35 UTC |