コード例 #1
0
 * etc....
 * Then instantiate the Service class as:
 * - $wsdlObject = new Bra5WsdlClass($wsdl);
 */
/**
 * Examples
 */
/******************************
 * Example for Bra5ServiceLogin
 */
$bra5ServiceLogin = new Bra5ServiceLogin();
// sample call for Bra5ServiceLogin::Login()
if ($bra5ServiceLogin->Login(new Bra5StructLogin())) {
    print_r($bra5ServiceLogin->getResult());
} else {
    print_r($bra5ServiceLogin->getLastError());
}
/*******************************
 * Example for Bra5ServiceLogout
 */
$bra5ServiceLogout = new Bra5ServiceLogout();
// sample call for Bra5ServiceLogout::Logout()
if ($bra5ServiceLogout->Logout(new Bra5StructLogout())) {
    print_r($bra5ServiceLogout->getResult());
} else {
    print_r($bra5ServiceLogout->getLastError());
}
/****************************
 * Example for Bra5ServiceGet
 */
$bra5ServiceGet = new Bra5ServiceGet();