HTTPS and Soap::Lite
"Daniel Herbison" <[email protected]> Tue, 14 Sep 2004 09:45:15 -0400
| Newsgroups | gmane.text.xml.soap.devel |
|---|---|
| Message-ID | <0B351F133350284EB1EC473D803606B2305DAA@zrtphxm2> |
I'm trying to access a soap service, Java running under Tomcat, using
Soap::Lite. Here is the code:
use SOAP::Lite;
push @x,"userid=".$ARGV[0];
push @x,"password=".$ARGV[1];
push @x,"sip=".$ARGV[2];
push @x,"date=".$ARGV[3];
push @x,"xmlIndent=true";
$,="\t";
$\="\n";
print 'htmlParams' ,$x[0],$x[1],$x[2],$x[3];
print SOAP::Lite
-> service('http://service...?wsdl')
-> getIPConversations(SOAP::Data->name('htmlParams' => \@x ))
It works great with http and I'm now trying to get it to authenticate using
https and a client credential file generated with the java tool keytool.
OpenSSL and Crypt-SSLeay are installed.
Does anyone know how to do this?