Business Objects 4.0 SDK の開発は初めてです。サーバーに接続する方法がわかりました。Web 上のさまざまな例から、InfoStore サービスを使用して InfoStore オブジェクトに入力し、プロセスの要点を理解する必要があることも学びました。しかし、私はまだ少し混乱しています。私がこのようなことをすると:
SessionMgr sess = new SessionMgr();
EnterpriseSession enterSess = sess.Logon("username", "password", "server", "secEnterprise");
foreach (string server in enterSess.ServerNames.Cast<string>())
List<string> services = enterSess.GetServiceNames(server, CeServiceType.ceServiceAllServices).Cast<string>().ToList();
InfoStore サービスが表示されることはありません。たまたまつまずいた...
EnterpriseService enterStore = enterSess.GetService("InfoStore");
InfoStore store = new InfoStore(enterStore);
...解決策として。
API には、EnterpriseSession.GetService() 関数の下に次の行があります。
BusinessObjects Enterprise developers will only be concerned with the InfoStore service since this is the only service that is supported in BusinessObjects Enterprise.
ここで質問があります: InfoStore サービスを実行しているのは何ですか? BO サーバーでサービスを検索するときに、何か足りないものはありますか?
編集: すべてのサーバーを実行し、InfoStore を使用してそれらに対して GetService を呼び出すと、SERVER_NAME.CentralManagementServer がサービスを実行していることがわかります。それを実行する他のサーバーもありますが、それらは異なるオブジェクトを返します。
新しい質問: CentralManagementServer は、明らかに InfoStore を実行しているのに、実行していると報告しないのはなぜですか?