By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,933 Members | 1,686 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,933 IT Pros & Developers. It's quick & easy.

SOAP::Lite Hangs on SSL request

P: 1
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('', 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
  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="" xmlns:soapenc="" xmlns:xsd="" soap:encodingStyle="" xmlns:soap=""><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 (, it goes through just fine. Any ideas are appreciated!

Aug 15 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

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