Advertisement

01.17.2007 at 06:59AM PST, ID: 22125777 | Points: 500
[x]
Attachment Details

Post XML file to HTTPS web-service using Perl

Asked by nickmarshall in Perl Programming Language

Tags: , , , ,

Hello

I need to post an XML file to an awaiting web-service across an HTTPS connection.

I've been trying using both cURL and LWP::UserAgent/HTTP::Request with no joy.

When I try using cURL, I get a response from the other end saying that 'Request format is invalid', so I've tried using LWP::UserAgent/HTTP::Request, but can't get it working. I have SSLeay working with OpenSSL, so there shouldn't be any problems there.

Can someone give me a working example of how this should be done, using either method, or even some other way.

ThanksStart Free Trial
 
Loading Advertisement...
 
[+][-]01.17.2007 at 08:05AM PST, ID: 18333189

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.17.2007 at 08:15AM PST, ID: 18333300

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.17.2007 at 09:35AM PST, ID: 18334120

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.28.2007 at 10:09PM PDT, ID: 19587088

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32