https://vcenter/sdk/vimService.wsdl
Post:
curl -k --location --request POST 'https://vcenter.or.esx.host/sdk/vimService.wsdl' \
--header 'Content-Type: application/xml' \
--header 'Cookie: vmware_soap_session="db67f03d8bc4e53e81aabc839aaa7377bbf158b1"' \
-d '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:vim25">
<soapenv:Header/>
<soapenv:Body>
<urn:Login>
<urn:_this type="SessionManager">ha-sessionmgr</urn:_this>
<urn:userName>user</urn:userName>
<urn:password>pass</urn:password>
</urn:Login>
</soapenv:Body>
</soapenv:Envelope>'
No comments:
Post a Comment