VMware Cloud Community
mohd1024
Contributor
Contributor

What is the address of the Virtual Center web service?

Hello all, how are you?

I have downloaded the VMware virtual center 2.0, as you know the tomcat is installed with it I leave the settings as the defaults during the installation.

When I try to list the deployed applications on the Tomcat server using the following

http://localhost:8086/manager/list

it asks me to enter a username and password, I entered the system username and password but doesn't work, I also tryed (user : tomcat, pass: tomcat) but also doesn't work. Can any body help me with that???

What is the address of the Virtual Center web service???

Thnak you very much.

0 Kudos
9 Replies
esiebert7625
Immortal
Immortal

Why are you trying to log into Tomcat on the VC server? Everything is pre-configured in Tomcat for VirtualCenter web access to work.

0 Kudos
Texiwill
Leadership
Leadership

Hello,

To access VC use:

https://virtualcenterserver/

And that will present the proper password. Use a the username/password of a VC user. Do not access tomcat directly.

Best regards,

Edward

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
Teiva
Enthusiast
Enthusiast

You can work it out this way.

1. Make sure the following service is running on your windows server; "VMware Virtual Infrastructure Web Access"

2. Web access uses SSL protocol so use "https://". If you think the secure port has been changed, see step 2 to find out which port

3: What are the ports vc web access uses.

Launch Virtucal infrastructure client -> click on Administration -> select "VirtualCenter Management Server Configuration", click on Web Service and voila. or u can use netstat -ao if you know the process id so you can see which ports it's listening on.

3. Server Name, the obvious one Smiley Happy

..

so put it all togetther like this: https://myserver:port/ui or access from the web server itself via https://localhost/ui

Cheers,

Teiva

Teiva
mohd1024
Contributor
Contributor

First, Thank you for replying.

Is this address https://localhost/ui is the address of the web service or the VC web access.

I want the address of the web service that is used to send the SOAP request to.

Thank you.

0 Kudos
Dave_Mishchenko
Immortal
Immortal

http://www.vmware.com/support/developer/vc-sdk/WS_FAQs.html

How do I check that the VirtualCenter Web service is installed properly?

Using a Web browser, open the document "Documents And Settings\All Users\Application Data\VMware\VMware VirtualCenter\VMA\login\login.html." Fill in the three fields: user name, password, and the full Web service URL; for example, https://localhost:8443. If an XML document appears in your browser, the Web service is running and responding to queries.

Can I use a non-SSL port with the VirtualCenter Web service?

Yes. For example, if you want to use the non-SSL port 8080, add the following entry to the vmaConfig.xml file, located in C:/Documents And Settings/All Users/Application Data/VMware/VMware VirtualCenter/VMA. Open vmaConfig.xml and look for the

Restart the Web service for any changes to vmaConfig.xml to take effect.

Can I install the Web service on a different box than the rest of VirtualCenter?

The VirtualCenter server and the VirtualCenter Web service should reside on the same machine. This is the only supported configuration.

How can I access the WSDL file programatically?

Access the vma.wsdl file by placing ?wsdl after the Web service URL; for example, https://localhost:8443?wsdl.

0 Kudos
mohd1024
Contributor
Contributor

Thank you, I explored the folder

"Documents And Settings\All Users\Application Data\VMware\VMware VirtualCenter\"

but I didn't find the foder VMA.

and when I explore the url htts://localhost:443/ I get an html page which is the virtual center welcome page and not XML code.

but during installation it tells that every thing is correct and the web service is installed correctly.

Thank you for replying

0 Kudos
Teiva
Enthusiast
Enthusiast

Hi mohd1024,

This is a quote from the following document.

http://www.vmware.com/pdf/vi3_esx_quickstart.pdf

"The TCP/IP ports on which the VirtualCenter Web server (default is 80) and the VirtualCenter Web service (default is 443) will communicate. Use the default ports

unless these conflict with other applications running in your environment."

I have standard installation like you, which means that Web Service port will be 443, therefore you would need to access it somehow, with "https://localhost".

The accessing method looks to be different with 1.x and 2.0. An the Web Service is part of the management server also.

Could it be possible that you might need "VMware Infrastructure SDK" on your system to provide the interface your are looking for to the VC Web Service ? can be downloaded from here : http://www.vmware.com/support/developer/vc-sdk/

If you find out anything else please post up.

Teiva

Message was edited by:

Teiva

null

Teiva
mohd1024
Contributor
Contributor

Thank you Teiva.

Yes in fact, I have downloaded the Virtual Center Infrastructure SDK form here

https://www.vmware.com/download/sdk/

and then I extract the SDK and pasted it in the following folder :

C:\Program Files\VMware\VMware VirtualCenter 2.0\tomcat\webapps

And now I can access the web service using the following URL

https://localhost/sdk

Iam now able to communicate the web service using C# providing the previous URL

the wsdl of the web service can be found at

http://localhost:8086/SDK/vim.wsdl

http://localhost:8086/SDK/vimService.wsdl

Thank you very much

0 Kudos
mohd1024
Contributor
Contributor

download the Virtual Center Infrastructure SDK form here

https://www.vmware.com/download/sdk/

and then I extract the SDK and paste it in the following folder :

C:\Program Files\VMware\VMware VirtualCenter 2.0\tomcat\webapps

so that you have the folder

C:\Program Files\VMware\VMware VirtualCenter 2.0\tomcat\webapps\SDK

Access the Web Service using the following URL :

https://localhost/sdk

the wsdl of the web service can be found at

http://localhost:8086/SDK/vim.wsdl

http://localhost:8086/SDK/vimService.wsdl

Thank you very much

Message was edited by:

mohd1024

0 Kudos