} // sample call for Bra5ServiceGet::GetArchiveName() if ($bra5ServiceGet->GetArchiveName(new Bra5StructGetArchiveName())) { print_r($bra5ServiceGet->getResult()); } else { print_r($bra5ServiceGet->getLastError()); } /******************************* * Example for Bra5ServiceSearch */ $bra5ServiceSearch = new Bra5ServiceSearch(); // sample call for Bra5ServiceSearch::searchDocument() if ($bra5ServiceSearch->searchDocument(new Bra5StructSearchDocument())) { print_r($bra5ServiceSearch->getResult()); } else { print_r($bra5ServiceSearch->getLastError()); } // sample call for Bra5ServiceSearch::searchAndGetDocuments() if ($bra5ServiceSearch->searchAndGetDocuments(new Bra5StructSearchAndGetDocuments())) { print_r($bra5ServiceSearch->getResult()); } else { print_r($bra5ServiceSearch->getLastError()); } /******************************* * Example for Bra5ServiceCreate */ $bra5ServiceCreate = new Bra5ServiceCreate(); // sample call for Bra5ServiceCreate::createDocument() if ($bra5ServiceCreate->createDocument(new Bra5StructCreateDocument())) { print_r($bra5ServiceCreate->getResult()); } else {