in reply to SOAP::Lite headers

Since the error relates to casting a list into a string and you have these 3 lines

Accept: text/xml
Accept: multipart/*
Accept: application/soap

the problem might be related to this bug report Issue with HTTP.pm

Try adding this line

$client->transport->http_request->header( Accept => 'text/xml, multipart/*, application/soap');
poj

Replies are listed 'Best First'.
Re^2: SOAP::Lite headers
by eukiph (Novice) on Jun 03, 2017 at 20:46 UTC
    You nailed it! I have not yet managed to fix it in my script, but changing it directly in the HTTP.pm helped.
    Thank you!