VMware Cloud Community
reenag
Contributor
Contributor

Communicating with Vim WebService using WSUtil proxy code

Implementing a client app that communicates with Vim WebService running on ESXi

Below is what I have accomplished so far

1. Created client proxy code using WSUtil.exe and vim.wsdl

2. Create serivce proxy using the appropriate security description.

3. Made SOAP interface calls to login and logout successfully.

Now the problem starts when I attempt to retrieve properties of VirtualMachine.

The following call VimBinding_RetrieveProperties fails with error 0x80070057: A structure that supports derivation may not be used in this context.

Anyone able to communicate with Vim WebService using proxy code generated by WSUtil.exe.

Communicate with Vim WebService using gSoap works very well.

Hopefully someone can help me out.

Thanks

Reena

Reply
0 Kudos
1 Reply
bhargavahs
Contributor
Contributor

Hi,

I am working on the similar thing.

Could you please share the code so it will be very helpful.

Thanks,

Bhargava

bhargava.hs@outlook.com

Reply
0 Kudos