A client application sends requests to and receives responses from the Web services APIs. By using a proxy client to manage communications and helper classes to format complex data types, a client application can invoke Web service methods as if they were local functions.
// 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.
This information center is powered by Eclipse technology (http://www.eclipse.org)