L
Lennon Day-Reynolds
Has anyone had any luck getting the WSDLDriverFactory class in SOAP4R
to import an external WSDL file using an HTTP proxy? I'm fine on
anything behind the firewall, but nothing I try ('http_proxy' and
'soap_use_proxy' env vars, manually accessing ENV hash within code,
properties file, etc.) seems to work -- I get a timeout on every
attempt to load and parse the WSDL file.
There are possible workarounds, (like pre-fetching the WSDL file with
the normal Net::HTTP class, on which I can set the proxy options
easily) or hacking up my own version of the WSDL::Importer#import
method (since it appears that's the point of failure). I'd rather stay
within the normal SOAP4R API if possible, though, so if anyone has a
possible solution for me, I would love to hear about it.
Thanks,
Lennon
rcoder.net
to import an external WSDL file using an HTTP proxy? I'm fine on
anything behind the firewall, but nothing I try ('http_proxy' and
'soap_use_proxy' env vars, manually accessing ENV hash within code,
properties file, etc.) seems to work -- I get a timeout on every
attempt to load and parse the WSDL file.
There are possible workarounds, (like pre-fetching the WSDL file with
the normal Net::HTTP class, on which I can set the proxy options
easily) or hacking up my own version of the WSDL::Importer#import
method (since it appears that's the point of failure). I'd rather stay
within the normal SOAP4R API if possible, though, so if anyone has a
possible solution for me, I would love to hear about it.
Thanks,
Lennon
rcoder.net