Chapter 4: Web Services Templates  Requirements

Chapter 4: Web Services Templates

SOAP client bridge sample

This example illustrates how to use a Java-based DFC/SOAP bridge that runs as an e-Biz Impact plug-in to a create a bridge from an ODL DFC client to a SOAP-based service. The ODL client calls the bridge through DFC links, and the bridge in turn calls the SOAP service.

Four different DFC functions are implemented within the bridge and defined within the cluster:

The files used for this sample are located in Sybase\ImpactServer-5_4\samples\Java\soapClientBridge, and listed in Table 4-1.

Table 4-1: SOAP client bridge sample files

File

Description

_clean.bat

Cleans up and removes log files

_readme.txt

Duplicates the instructions in this section

_readmeEAS500.txt

Duplicates the procedures for running the SOAP client bridge sample with Sybase EAServer 5.0

_start.cmd

Sets up the Java runtime path, CLASSPATH, and runs the sample cluster

HelloArgsWrapper.java

DFC argument handling support for SoapHelloBridge.java

HelloBridgeEAS500.jar

A complete e-Biz Impact Java plug-in to use with EAServer 5.0

HelloClient.odl

ODL-based DFC client that calls the bridge

odl2soap.bridge.cfg

e-Biz Impact application configuration for the Java-based DFC/SOAP bridge

odl2soap.client.cfg

e-Biz Impact application configuration for the ODL-based DFC client

odl2soap.xml

Primary e-Biz Impact cluster configuration file for this sample

SoapHello.java

A simple Java class to deploy a Web service

SoapHelloBridge.java

e-Biz Impact plug-in that operates as a DFC/SOAP bridge





Copyright © 2005. Sybase Inc. All rights reserved. Requirements

View this book as PDF