Calling Web Service in the WebSphere Portlet factory

Source: Internet
Author: User
Tags soap wsdl

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.