473,382 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

SOAP::Lite Hangs on SSL request

1
The client code is

Expand|Select|Wrap|Line Numbers
  1. #install SOAP-Lite and MIME-tools packages
  2. use SOAP::Lite 'trace', 'debug';
  3.  
  4. #override version
  5. SOAP::Lite->soapversion('1.2');
  6.  
  7. #override credentials     
  8. sub SOAP::Transport::HTTP::Client::get_basic_credentials { 
  9.   return 'USER' => 'PW';
  10. }
  11.  
  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;
  17.  
  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"
  9.  
  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!

Thanks,
Chris
Aug 15 '08 #1
0 3268

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

Similar topics

0
by: Blaine Everingham | last post by:
Hello, I have installed SOAP::Lite 0.60 and am running a simple test to see the XML output. I noticed that the output indicated it's using the www.w3.org/1999/XMLSchema instead of the prefered...
0
by: fliversen | last post by:
Hello, I want to use my scripts on my site with webservices. So, with the book 'Programming Web Services with SOAP' I make tests with Server: SOAP::Lite 'myhibye.cgi'...
3
by: Ben Crinion | last post by:
Hi im having a few problems consuming a SOAP::Lite web service. I think the problem is actually with the WSDL but im not sure. I have a SOAP::Lite client which works ok using the WSDL (which i...
3
by: Sydney | last post by:
Hi, I am trying to construct a WSE 2.0 security SOAP request in VBScript on an HTML page to send off to a webservice. I think I've almost got it but I'm having an issue generating the nonce...
6
by: Vinit | last post by:
Hi I am passing an arraylist to a c#/.net webmethod from a perl client using soap:lite. The trace shows the elements in the xml request. The arraylist input in the webmethod however does not...
0
by: kim123 | last post by:
I got to write a c# client will ask a SOAP::Lite server for a list of data. In the request I have to send the following attributes: string, string, array, string, string The SOAP:Lite server is...
2
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
1
by: parimalb | last post by:
Hi All, I want to pass an array argument to the java webservice from perl client using SOAP::LITE package. Please let me know if anyone knows about this. The web method declaration in java is...
0
by: vigneshrao | last post by:
Hi, I have been working on a script that loops through multiple records and sends data (one record per call) to a WS. I am supposed to make a new call for each record before sending the data....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.