Created
November 24, 2010 09:02
-
-
Save nfabre/713359 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//... | |
// Recuperation du "SessionManager" afin de pouvoir se logger | |
$sessionManager = $result->returnval->sessionManager; | |
// Creation de la requete SOAP | |
$soapMessage = array( | |
"_this" => new SoapVar($sessionManager->{'_'}, XSD_STRING, $sessionManager->type), | |
"userName" => "login", //ou new SoapVar("login", XSD_STRING,'xsd:string'); | |
"password" => "password" //ou new SoapVar("password", XSD_STRING,'xsd:string'); | |
); | |
// Authentification | |
$result = $connection->Login($soapMessage); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment