Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

SOAP error with VMware-vSphere-Perl-SDK-5.5.0

$
0
0

When I try to use the Perl SDK v5.5 I get SOAP request errors (using Net::HTTP 6.06):

 

./script.pl --vmname <blah> --server <my server>

SOAP request error - possibly a protocol issue: <?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body>

 

I did some research and it seemed that Net::HTTP 6.06 doesn't work so I downgraded to Net::HTTP 6.03, but still no luck - different errors:

 

# perl -MNet::HTTP -le 'print $Net::HTTP::VERSION'

6.03

 

./script.pl --vmname <blah> --server <my server>

 

SOAP request error - possibly a protocol issue: Undefined subroutine &LWP::Protocol::https::Socket::can_read called at /usr/local/share/perl5/LWP/Protocol/http.pm line 22

 

Any ideas of how to make this work with the downgraded Net::HTTP?

 

Thanks in advance for your help.


Viewing all articles
Browse latest Browse all 2738

Trending Articles