The WebSphere Portlet Factory (WPF) makes it easy for developers to implement WEB Service and Portlets communications. Instead of spending a lot of time learning Web service technologies such as Soap,wsdl,xml schema (XSD), developers can use WPF to develop robust, powerful Web service and calls to various styles of Web service. WPF hides the internal implementation details of Web service and automatically generates Web service and Web service calls through the rich builder of WPF, and WPF makes it easier and quicker to consolidate Web service.
Source code Download Address: Http://download.boulder.ibm.com/ibmdl/pub/software/dw/webservices/0804_wangbs_wpf1/attachedfile.zip
Introduction
In the article "Creating Web Service in WebSphere Portlet Factory", which explains how to create a Web service, we'll take an example to explain how Web service WSDL, SOA P, HTTP, local method calls, and engineering tests.
The development and operating environment for the example described in this article:
WebSphere Integration Developer (WID) 6.0.1: Used to integrate WebSphere Portlet Factory as a development environment. The WebSphere Portlet Factory is a development component that can be used by Rational Software Development Platform (RSDP) or WebSphere integration Developer (WID ) as its integrated platform.
WebSphere Portal Server6.0: Used as a project's operating environment
Calling Web Service
Invoke the Web service, primarily using the Web service in WPF call Builder Builder to tune the SOAP Web service,rest Web Service in four ways wsdl,soap,http,local Use.
Figure 1 The schema diagram for invoking the Web Service:
Create a new project
How to create a new project see the method for creating a new project in the Create Web Service section above. Of course, you can also call the Web Service Model into the same project Testcallservice. The example described in this document is in the same project.
Create a new model
Create a new Model called Testcall. How to create a new model see the method for creating the new model in the Web Service section above, after the creation is complete, as shown in Figure 2
Figure 2. Model Catalog Diagram
Reference to Builder (Builder)