Link to home
Start Free TrialLog in
Avatar of leecarroll
leecarroll

asked on

Soap client error when trying to access a web service using HTTPS

I'm trying to use a web service via https using the soap::lite module.

I get the following error trace

(any help would be greatly appreciated)

SOAP call failed: 500 Bad arg length for Socket::unpack_sockaddr_in, length is 0
, should be 16 at soap_client_test.pl line 24
        Carp::croak('SOAP call failed: ', '500 Bad arg length for Socket::unpack
_sockaddr_in, length is 0, ...') called at /iw/iw-home/iw-perl/lib/perl5/site_pe
rl/5.005/SOAP/Lite.pm line 1793
        SOAP::Lite::__ANON__('SOAP::Lite=HASH(0x52d510)', '') called at /iw/iw-h
ome/iw-perl/lib/perl5/site_perl/5.005/SOAP/Lite.pm line 1888
        SOAP::Lite::call('SOAP::Lite=HASH(0x52d510)', 'GetLanguages') called at
/iw/iw-home/iw-perl/lib/perl5/site_perl/5.005/SOAP/Lite.pm line 1866
        SOAP::Lite::__ANON__('SOAP::Lite=HASH(0x52d510)') called at soap_client_
test.pl line 24
SOAP::Lite::DESTROY: ()
SOAP::Deserializer::DESTROY: ()
SOAP::Parser::DESTROY: ()
SOAP::Transport::DESTROY: ()
SOAP::Transport::HTTP::Client::DESTROY: ()
Debugged program terminated.  Use q to quit or R to restart,
  use O inhibit_exit to avoid stopping after program termination,
  h q, h R or h O to get additional info.
  DB<1>

Avatar of blinkie23
blinkie23

i've not used this SOAP module.  but you have two very important pieces of information there to start your troubleshooting process:

Socket::unpack_sockaddr_in, length is 0, should be 16
  [and]
soap_client_test.pl line 24

i don't know what this means exactly out of context, but it looks like you're passing an empty socket around somewhere.  thats where you should start looking.

it would also help to know what you're doing if you want more help here.  did you write that script?  are you trying to install something?

You probably already read this all on this link

http://search.cpan.org/author/KULCHENKO/SOAP-Lite-0.55/lib/SOAP/Transport/HTTP.pm#TROUBLESHOOTING

but anyway...


best of times!
ASKER CERTIFIED SOLUTION
Avatar of leecarroll
leecarroll

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Nothing has happened on this question in over 5 months. It's time for cleanup!

My recommendation, which I will post in the Cleanup topic area, is to
delete, refund points (asker found their own answer).

Please post any comments here within the next seven days. Moderators check comments here before acting on the recommendation. Experts: silence will likely be taken as assent.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer