クライアント・アプリケーションは、Web サービス API に要求を送信し 、Web サービス API からの応答を受信します。プロキシー・クライアントを使用して、 複合データ・タイプのフォーマット設定を行う通信クラスおよびヘルパー・クラスを管理すると、 クライアント・アプリケーションから、Web サービス・メソッドをローカル機能のように 呼び出すことができます。
// create the service locator and the proxy BFMWSServiceLocator locator = new BFMWSServiceLocator(); BFMIF proxy = locator.getBFMWSPort(); // prepare the input data for the operation GetProcessTemplate iW = new GetProcessTemplate(); iW.setIdentifier(your_process_template_name); // invoke the operation GetProcessTemplateResponse oW = proxy.getProcessTemplate(iW); // process output of the operation ProcessTemplateType ptd = oW.getProcessTemplate(); System.out.println("getName= " + ptd.getName()); System.out.println("getPtid= " + ptd.getPtid());
(c) Copyright IBM Corporation 2005, 2006. All rights reserved.
(c) Copyright IBM Japan 2006
このインフォメーション・センターでは、Eclipse テクノロジー (http://www.eclipse.org) が採用されています。