|
I am using the method:
XML::LibXML::Schema->new(location => 'http://amazonpayments.s3.amazonaws.com/documents/order.xsd')
+;
But it times out. I think I know why - I have a proxy I needed to declare to do a simple get. I am worried this module does not know about the proxy. How do I get that setting into the module so it can perform the get?
Workin code snipet:
use LWP::Simple qw($ua get);
$ua->proxy('http','http://proxynamewithheld');
$content = get 'http://amazonpayments.s3.amazonaws.com/documents/order.xsd';
However the above code does not seem to awaken the network inside LibXML.
Here is the error I get after a minute or so...looks like a timeout:
Operation in progressFailed to parse the XML resource 'http://amazonpayments.s3.amazonaws.com/documents/order.xsd'. |