in reply to Sending xml message in perl
You're reading the whole file and closing the filehandle before you pass it to $request->content, so that method won't actually add anything.
Try either removing the printFile and $fh->close() calls, or re-opening $fh before you pass it to $request->content.
|
|---|