Hi All,

i ame trying to use SOAP::Lite with https, but the Script-Execution
(test.pl) generate the following Error: 500 Can't locate object method
"new" via package "LWP::Protocol::https::Socket" at test.pl line 36.
The same code works great using http : "my $soap = SOAP::Lite ->
proxy('http://myurl:8083');"

Thanks for your Suggestions!
KN

#############
My Script test.pl
#!/usr/local/bin/perl -W
 use SOAP::Lite;
 use strict;
 use warnings;
 use Data::Dumper;
 use LWP::Protocol;
 #use LWP::Protocol::https;
 my ($org,$name,$password,$service);

my ( @params );
my ( $obj );
use SOAP::Lite;

my $soap = SOAP::Lite
    -> proxy('https://myurl:8082') ;
@params = (
  SOAP::Data->name(org => $org),
  SOAP::Data->name(name => $name),
  SOAP::Data->name(password => $password),
  SOAP::Data->name(service => $service),
);

$obj = $soap->call(authenticate => @params);
#############



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to