blackadder has asked for the wisdom of the Perl Monks concerning the following question:
However I got this error msg back#! c:/perl/bin/perl.exe use Strict; use Warnings; use VMware::VIRuntime; my $service_url = 'https://localhost/sdk/vimService'; my $userid ='administrator'; my $password ='password'; Vim::login(service_url => $service_url, user_name => $userid, password + => $password);
Not sure what is causing this since every prerequisites have been installed!C:\VMware API Download\Scripts>TEST_VI.PL SOAP request error: 500 Connect failed: connect: Unknown error; Unknow +n error at C:/Perl/site/lib/VMware/VIStub.pm line 166 SoapClient::request('SoapClient=HASH(0x372de78)', 'RetrieveSer +viceConten t', '<_this type="ServiceInstance">ServiceInstance</_this>\x{a}') call +ed at C:/P erl/site/lib/VMware/VIStub.pm line 26565 VimService::RetrieveServiceContent('VimService=HASH(0x2168e8)' +, '_this', 'ManagedObjectReference=HASH(0x370a004)') called at C:/Perl/site/lib/ +VMware/VIR untime.pm line 44 Vim::login('service_url', 'https://localhost/sdk/vimService', +'user_name ', 'administrator', 'password', 'password') called at C:\VMware API Do +wnload\Scr ipts\test_vi.pl line 17 C:\VMware API Download\Scripts>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SOAP request error: 500 Connect failed
by jhourcle (Prior) on Apr 18, 2007 at 12:16 UTC | |
by blackadder (Hermit) on Apr 18, 2007 at 13:52 UTC |