VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
3 Replies Last post: Nov 5, 2009 7:09 AM by lamw  

vimService.wsdl - connect.pl posted: Nov 4, 2009 4:39 AM

Click to view varaway's profile Novice 8 posts since
Jun 3, 2009

hello,

i have installed vSphere ESX 4 and vCenter 4. On the ESX, I installed the vim Perl vdk Toolkit.
/usr/lib/vmware-vcli/apps/general ....
perl connect.pl --url https://server_name/sdk/vimService --username xxxxx --password xxxxxxx

I get this error:
Error: Server version unavailable at 'https://server_name:443/sdk/vimService.wsdl'

Have anywhere an idea?
best regards
Andi

Re: vimService.wsdl - connect.pl

1. Nov 4, 2009 7:01 AM in response to: varaway
Click to view lamw's profile Champion 2,803 posts since
Nov 27, 2007
You're specifying the incorrect URL address for the --url parameter.

The url should look like the following: https://<your_server>/sdk

e.g.

[vi-admin@scofield ~]$ /usr/lib/vmware-vcli/apps/general/connect.pl --url https://himalaya.primp-industries.com/sdk --username root
Enter password:

Connection Successful
Server Time : 2009-11-04T15:03:01.300745Z

=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
vGhetto Script Repository
VMware Code Central - Scripts/Sample code for Developers and Administrators
VMware Developer Comuunity
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
Twitter: @lamw

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

If you find this information useful, please award points for "correct" or "helpful".

Re: vimService.wsdl - connect.pl

3. Nov 5, 2009 7:09 AM in response to: varaway
Click to view lamw's profile Champion 2,803 posts since
Nov 27, 2007
What OS are you executing the vCLI off of? This should be running on one of the supported OSes (Windows/Linux) or you can use VMware vMA which is a RHEL virtual appliance.

=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
vGhetto Script Repository
VMware Code Central - Scripts/Sample code for Developers and Administrators
VMware Developer Comuunity
Getting Started with the vMA (tips/tricks)
Getting Started with the vSphere SDK for Perl
Twitter: @lamw

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

If you find this information useful, please award points for "correct" or "helpful".

Developer Social Media

Communities