?
Solved

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

Posted on 2003-02-21
5
Medium Priority
?
284 Views
Last Modified: 2008-03-03
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>

0
Comment
Question by:leecarroll
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 2

Expert Comment

by:blinkie23
ID: 7995910
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?

0
 
LVL 1

Expert Comment

by:herrmann1001
ID: 7998795
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!
0
 

Accepted Solution

by:
leecarroll earned 0 total points
ID: 8499709
Forgot I asked this.

For completion it turned out the problem was the soap module ssleary which provide the https encryption was not installed on the server properly. Once all the modules where installed the https method calls went fine.

lee c
0
 
LVL 20

Expert Comment

by:jmcg
ID: 9691646
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
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question