Perl: the Markov chain saw | |
PerlMonks |
I don't understand how to send SOAP data using LWP's user agentby ted.byers (Monk) |
on Sep 08, 2014 at 16:58 UTC ( [id://1099876]=perlquestion: print w/replies, xml ) | Need Help?? |
ted.byers has asked for the wisdom of the Perl Monks concerning the following question: I have read the documentation for useragent, and have made it work properly in terms of connecting to a server that requires a client side certificate, with full validation. However, while I can correctly construct the XML required for the SOAP data, I can't seem to send it correctly to the server. I have tried function request in two ways: $ua->request($r,'fsd.xml'); AND $ua->request($r,$data);, but in both cases, I get an exception from the server complaining that it gets no data. I guess this boils down to two questions: 1) How do I send SOAP XML data? 2) How would I write a CGI program, on one of my own servers, that I could use to verify that the SOAP XML data is received correctly (NB: I know well how to write CGI scripts to process form data, but this isn't form data.) I'd appreciate any insights you can provide. I have read the documentation, but it isn't clear enough for me to resolve this. Thanks Ted
Back to
Seekers of Perl Wisdom
|
|