Introduction: Compared to the mainstream Web services based on XML messages and SOAP protocols, Hessian is a lightweight binary RPC protocol with a simple and efficient advantage. This tutorial proposes the use of WebSphere DataPower to transform protocols and data formats to enable standard Web services to support Hessian clients, making it easy for Hessian clients to access WEB services based on the standard SOAP protocol without changing code conditions.
Before you start
About this tutorial
This tutorial details how to install, configure, and use the WebSphere DataPower implementation Hessian Client Access Soap/http standards-based WEB services. We will download the API package that implements the Hessian protocol to write a simple Hessian client, and then use WebSphere transformation Extender design Studio to generate Hessian messages and standard SOAP The type tree and mapping rules of the message, and finally upload it to the WebSphere DataPower, using DataPower as the gateway implementation of the Hessian protocol and the message conversion of the SOAP protocol.
Goal
This tutorial presents a way to resolve the Hessian protocol and the standard SOAP protocol, using the powerful and efficient message format conversion capabilities of Websphere Data power to implement a protocol gateway.
In this tutorial, you will be able to learn
What is the Hessian protocol?
How do I build a gateway for Hessian protocols and standard SOAP protocols?
How do I configure and use the WebSphere transformation Extender design Studio to create type trees and mapping rules and test them?
How do I configure and use Data power as the Run-time protocol converter?
Prerequisite
This tutorial presents a solution to transform specific Hessian protocols and standard SOAP protocols to support Hessian clients that do not need to modify legacy code access to standard WEB services. Therefore, this tutorial can be used as a reference for enterprise architects and program designers. The tutorial also provides a detailed example of configuring, using, and testing WebSphere transformation Extender and Data power as a reference manual for developers of programs.
Before reading this tutorial, you should understand basic Java programming and development and configuration based on Soap/http.
If you need to learn more and practice yourself, then you need
Download the Java implementation of the Hessian protocol to the reference site and write a simple example to implement Hessian client and Hessian services, and you will find that using Hessian is very simple and easy to develop.
Download IBM and IBM WebSphere Transformation EXtender (WTX) 8.1 Design Stuido How to create a transformation rule
Learn more about Data power on the Web site of reference resources.