Skip to content

Instantly share code, notes, and snippets.

@nfabre
Created November 24, 2010 08:23
Show Gist options
  • Save nfabre/713327 to your computer and use it in GitHub Desktop.
Save nfabre/713327 to your computer and use it in GitHub Desktop.
<?php
$connection = new SoapClient("https://<ip>/sdk/vimService.wsdl",
array(
"trace" => 1,
"location"=>"https://<ip>/sdk/"
)
);
// Preparation des parametres a passer a la methode
$soapMessage = array(
"_this" => new SoapVar("ServiceInstance", XSD_STRING, "ServiceInstance")
);
// Appel de la methode "RetrieveServiceContent"
$result = $client->RetrieveServiceContent($soapMessage);
// Affichage du resultat
var_dump($result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment