VMware Cloud Community
varun_tbd
Contributor
Contributor
Jump to solution

Problem using VI SDK to communicate with Virtual Center Server using SOAP via HTTP

Hi,

I am a newbie at using the VI SDK. I found details earlier in the startup Guide for programming to configure my ESX so that my code could communicate with it using SOAP with HTTP. Now I am trying to do the same for Virtual Center Server, but havent been able to find a way to do the same. Is there a way of communicating with the Virtual Center Server using SOAP via HTTP? If so how?

Also is there a way to make the VI client communicate with the Virtual Center Server using SOAP via HTTP?

Thanks

Regards

Varun

0 Kudos
1 Solution

Accepted Solutions
halr9000
Commander
Commander
Jump to solution

If you mean HTTP as opposed to HTTPS, then you edit the file C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\proxy.xml. Make a backup copy, then change the "httpsWithRedirect" lines to read "httpAndHttps", restart VC and that should do it.

Author of the upcoming book: Managing VMware Infrastructure with PowerShell

Co-Host, PowerScripting Podcast (http://powerscripting.net)

My signature used to be pretty, but then the forum software broked it. vExpert. Microsoft MVP (Windows PowerShell). Author, Podcaster, Speaker. I'm @halr9000

View solution in original post

0 Kudos
2 Replies
halr9000
Commander
Commander
Jump to solution

If you mean HTTP as opposed to HTTPS, then you edit the file C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\proxy.xml. Make a backup copy, then change the "httpsWithRedirect" lines to read "httpAndHttps", restart VC and that should do it.

Author of the upcoming book: Managing VMware Infrastructure with PowerShell

Co-Host, PowerScripting Podcast (http://powerscripting.net)

My signature used to be pretty, but then the forum software broked it. vExpert. Microsoft MVP (Windows PowerShell). Author, Podcaster, Speaker. I'm @halr9000
0 Kudos
varun_tbd
Contributor
Contributor
Jump to solution

Hi,

Thanks a ton for the reply. I tried it and it works fine for my code. I wanted to confirm if there were any additional settings I need to do for my VI client to also access the Virtual Center Server through http. Currently under Administration>VirtualCenter Management Server Configuration>Web Service, I have the ports 80 for http and 443 for https.

Thanks once again.

Regards

Varun

0 Kudos