0% found this document useful (0 votes)
133 views18 pages

Section One: Introduction: Module 2: EAI Business Services

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1/ 18

Section One: Introduction

Module 2: EAI Business Services

Module Objectives

After completing this module you will be able to:


Define a business service Describe the structure of business service property sets Identify what can invoke a business service List the prebuilt Siebel data transformation and data transport business services Explain the differences between business services created in Siebel Tools and business services created in the Siebel client Create custom business services in Siebel Tools Create custom business services in the Siebel client

Why you need to know


Business services are the building blocks for Siebel EAI

Module 2: EAI Business Services

2 of 18

Business Services
Are the main building blocks of Siebel workflows Contains prebuilt Siebel methods (global procedures)

Written in C++

Can also contain custom scripts


Written in eScript or Visual Basic

A business service is like a calculator

Analogy: a calculator
A business service method is like a calculator function

Siebel Business Service

Method

Method

Method
Data output = display Data input = number keys
3 of 18

Module 2: EAI Business Services

Business Service Method Arguments


Input arguments:
Present data to a business service method

Output arguments:
Receive data from a business service method

Module 2: EAI Business Services

4 of 18

Property Set

Business services methods receive and send data instances in property sets

Siebel Business Service

Method

Input property set

Output property set

Module 2: EAI Business Services

5 of 18

Property Set Continued


Is instantiated to pass data in and out of a business service Represents data in strings using name-value pairs Has two predefined properties: Type and Value Has an array for creating custom property names and values Can contain an array of child-level property sets
Values for predefined properties Type Value Array of custom name/value pairs Account City State Phone AK Parker San Francisco CA 650-111-1866

Predefined property names

Array of child property sets

Module 2: EAI Business Services

6 of 18

Hierarchical Property Set

Represents structured data (business logic):


Within a Siebel application (business objects and business components) Within an external application (structure of tables, views, or files)

Conveys the structured data of an integration object, an XML document, or other data stream
Parent property set Child property set Grandchild property set Type Value Account City State Phone AK Parker San Francisco CA 650-111-1866

Module 2: EAI Business Services

7 of 18

What Can Invoke a Business Service


A workflow process A method from another business service A user interface event A Siebel object interface (COM, CORBA, Java)

A built-in script An external program

Module 2: EAI Business Services

8 of 18

Prebuilt EAI Business Services

Change data from one form into another form


Data transformation adapters (15): map and transform data Data transport adapters (611): move data among applications
#Business Service
1EAI Siebel Adapter 2EAI Data Mapper 3XML Converter 4XML Hierarchy Converter 5EAI XML Converter 6EAI XML Read From File 7EAI XML Write To File 8EAI File Transport Adapter 9EAI MQSeries Transport Adapter

Source
Siebel Database Property Set Property Set Property Set Property Set XML (File) Property Set XML (File) XML (Stream) XML (Stream) XML (Stream)

Destination
Property Set Property Set XML (Stream) XML (Stream) XML (Stream) Property Set XML (File) XML (File) MQSeries Queue MSMQ Queue HTTP Port

Direction
2-Way 2-Way 2-Way 2-Way 2-Way Inbound Outbound 2-Way 2-Way 2-Way Outbound
9 of 18

10EAI MSMQ Transport Adapter 11EAI HTTP Transport Adapter


Module 2: EAI Business Services

Prebuilt Data Transformation Adapters

Transform data to and from:


Integration objects in property sets and Siebel XML in property sets

Example: The XML Converter transforms Siebel data into XML that an external application can process Pre-built adapters include:

EAI XML Converter XML Hierarchy Converter XML Converter EAI Siebel Adapter EAI Data Mapping Engine XML Gateway business service

Module 4 Module 9 Module 10 Module 19

Module 2: EAI Business Services

10 of 18

Prebuilt Data Transport Adapters


Send data to, and receive data from, external applications Pre-built transports include:

EAI XML Read From File Module 4, 12 EAI XML Write To File EAI File Transport Adapter EAI MQSeries Transport Adapter EAI MQSeries AMI Transport Adapter Module 12 EAI MSMQ Transport Adapter EAI DLL Transport Adapter Microsoft BizTalk Server Adapter EAI HTTP Transport Adapter Modules 13, 14

Module 2: EAI Business Services

11 of 18

Custom Business Services


Example: A custom business service to transform data from an external application into XML that a Siebel application can process Created with Siebel eScript or Siebel Visual Basic

Using Siebel Tools; stored in the Siebel repository


Siebel Tools

Using the Siebel client; stored in the application database


Siebel Client

Siebel Web Engine

.srf file
Database
Module 2: EAI Business Services 12 of 18

Custom Business Services Created in Siebel Tools


Are stored in the S_SERVICE repository table Are available for use after being compiled Can contain a Server script or a Browser script

Business service method Method argument

Module 2: EAI Business Services

13 of 18

Custom Business Services Created in the Siebel Client


Are stored in the S_RT_SVC user data table Are available for use immediately

Module 2: EAI Business Services

14 of 18

Testing Custom Business Services in the Client

Use the business service simulator to test a business service

Specify method

Set input values

View output values

Module 2: EAI Business Services

15 of 18

Migrating Custom Business Services

Use export and import capabilities to copy business services to and from other developers and environments
In Siebel Tools

In the Siebel Client

Module 2: EAI Business Services

16 of 18

Summary

This module showed you how to:


Define a business service Describe the structure of business service property sets Identify what can invoke a business service List the prebuilt Siebel data transformation and data transport business services Explain the differences between business services created in Siebel Tools and business services created in the Siebel client Create custom business services in Siebel Tools Create custom business services in the Siebel client

Module 2: EAI Business Services

17 of 18

Labs

In the labs you will:


Create a business service in the Siebel 7 client Use eScript code to create a business service method Simulate the running of the business service method

When you use a Siebel Client application:


Press F11 to reduce Explorer menus and buttons to a single bar Right-click the Explorer bar and turn on Auto-Hide

Result: The Internet Explorer bar appears only when you select it See the notes for this slide

Use keyboard shortcuts to save time

Module 2: EAI Business Services

18 of 18

You might also like