Search($structure)); break; case 'AdvancedSearch': return ($soap_client->AdvancedSearch($structure)); break; case 'RetrieveOptions': return ($soap_client->RetrieveOptions($structure)); break; case 'OrderDataSet': return ($soap_client->OrderDataSet($structure)); break; case 'RetrieveDataSet': return ($soap_client->RetrieveDataSet($structure)); break; case 'Ping': return ($soap_client->Ping($structure)); break; default: return (EXIT_FAILURE); } } catch (SoapFault $fault) { $CatchError->_printInLogs($fault->detail, $soap_client); } } ?>