in reply to I don't understand how to send SOAP data using LWP's user agent
What do the server logs say? Often a SOAP server will require a SOAPAction HTTP header be sent along with the POST body. See http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383528.
To answer your second question, try dumping the POST data with
See http://search.cpan.org/~lds/CGI.pm-3.43/CGI.pm#HANDLING_NON-URLENCODED_ARGUMENTS$q->param('POSTDATA');
Disclaimer: I've written a number of SOAP clients and servers, but none in Perl for many years.
In Section
Seekers of Perl Wisdom