467,107 Members | 1,237 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,107 developers. It's quick & easy.

SOAP::Lite Hangs on SSL request

The client code is

Expand|Select|Wrap|Line Numbers
  1. #install SOAP-Lite and MIME-tools packages
  2. use SOAP::Lite 'trace', 'debug';
  4. #override version
  5. SOAP::Lite->soapversion('1.2');
  7. #override credentials     
  8. sub SOAP::Transport::HTTP::Client::get_basic_credentials { 
  9.   return 'USER' => 'PW';
  10. }
  12. my $result = SOAP::Lite 
  13.     ->uri('urn:RiskMetricsDirect:1.0:wspone-service')
  14.     ->proxy('https://ws.uat.riskmetrics.com/wsproxy/basic', timeout => 5)
  15.     ->ListPortfolios()
  16.     ->result;
  18. print $result;    
When it runs, it prints the following, then hangs. If run without credentials, it gets a fobidden message, and I am maxing out my queries, so the login is definitely working.

Expand|Select|Wrap|Line Numbers
  1. SOAP::Transport::HTTP::Client::send_receive: POST https://ws.uat.riskmetrics.com
  2. /wsproxy/basic HTTP/1.1
  3. Accept: text/xml
  4. Accept: multipart/*
  5. Accept: application/soap
  6. Content-Length: 443
  7. Content-Type: application/soap; charset=utf-8
  8. SOAPAction: "urn:RiskMetricsDirect:1.0:wspone-service#ListPortfolios"
  10. <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><ListPortfolios xmlns="urn:RiskMetricsDirect:1.0:wspone-service" xsi:nil="true" /></soap:Body></soap:Envelope>
When I copy the above request into soapui (www.soapui.org), it goes through just fine. Any ideas are appreciated!

Aug 15 '08 #1
  • viewed: 2879

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Blaine Everingham | last post: by
reply views Thread by fliversen | last post: by
reply views Thread by kim123 | last post: by
2 posts views Thread by furrypop | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.