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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: I don't understand how to send SOAP data using LWP's user agent
by Corion (Patriarch) on Sep 08, 2014 at 17:51 UTC | |
by ted.byers (Monk) on Sep 10, 2014 at 19:11 UTC | |
|
Re: I don't understand how to send SOAP data using LWP's user agent
by Anonymous Monk on Sep 09, 2014 at 00:36 UTC | |
by ted.byers (Monk) on Sep 10, 2014 at 19:14 UTC | |
|
Re: I don't understand how to send SOAP data using LWP's user agent
by iguanodon (Priest) on Sep 09, 2014 at 12:19 UTC | |
by ted.byers (Monk) on Sep 10, 2014 at 19:26 UTC |