in reply to SOAP::Lite and getting error "not well-formed (invalid token)"

Why do you think the problem is with your script?

The SOAP server you're contacting is spitting out not well formed XML

But you don't show that xml

Anyway for debugging purposes you want use SOAP::Lite +trace => 'debug', readable => 1;

See also XML::Compile::SOAP and soap tips and stuff...

  • Comment on Re: SOAP::Lite and getting error "not well-formed (invalid token)"

Replies are listed 'Best First'.
Re^2: SOAP::Lite and getting error "not well-formed (invalid token)"
by kdmurphy001 (Sexton) on Dec 11, 2015 at 20:14 UTC
    Gave up and went /w system tick and curl. Will try again when I have more time. Thank you for the tips btw! I had the wrong name space and fixed that but still no luck (same error).