Why is this happening?
Here's the code..
my $ip = $self->{ipv4_address} || $self->{ipv6_address};
$gVim = Vim->new(service_url => "http://$ip");
$gVim->login(user_name => $username, password => $password);
Can't call method "getChildrenByTagName" on an undefined value at C:/Perl/site/lib/VMware/
VICommon.pm line 2200.
where $ip is something like 100.200.250.150.I tried using "http://$ip/sdk/vimService" but it gives same error..