Create an Inbound Web Service for Siebel Account Business Service

Purpose

In this tutorial, you learn how to create a Web service from a Siebel Business Service.

Time to Complete

15 minutes

Topics

The tutorial covers the following topics:

 Overview
 Scenario
 Prerequisites
 Creating an Inbound Web Service

Creating Operations for the Inbound Web Service

 Summary

Viewing Screenshots

 Place the cursor over this icon to load and view all the screenshots for this tutorial. (Caution: This action loads all screenshots simultaneously, so response time may be slow depending on your Internet connection.)

Note: Alternatively, you can place the cursor over an individual icon in the following steps to load and view only the screenshot associated with that step. You can hide an individual screenshot by clicking it.

Overview

This tutorial shows how to create a Web service from a Siebel Business Service. Siebel exposes many internal functions as Web services, (also called Application Service Interfaces or ASIs) and workflows can be exposed as a Web service. The tools you use are available within the Siebel Thin Client, and do not need Siebel Tools (or the thick client). In this example, you take a Siebel Account Business Service and using WS-Admin functionality from Siebel Thin Client, you expose it as an inbound Web service, generate a WSDL file, and save it in your local file system.

The WSDL file generated for Siebel Account Web service can be consumed by a number of Fusion Middleware components such as Oracle SOA Suite (consisting of BPEL Process Manager and Enterprise Service Bus), Oracle Web Services Manager, Oracle WebCenter, and others.

Back to Topic List

Scenario

Taking an existing Siebel Account Business Service and using WS-Admin functionality from Siebel Thin Client, you expose it as an inbound Web service. Then, after adding operations to the inbound Web service, you generate a WSDL file.

Back to Topic List

Prerequisites

Before starting the tutorial, you should:

1.

Have access to or have installed Oracle Siebel. In this example we are using Siebel Call Center v 8.0.

 

2.

Using your browser, connect to your installed Siebel instance.

 

3.

The Oracle Siebel Call Center login page should now be displayed.

Back to Topic List

Creating an Inbound Web Service

To create the inbound Web service, perform the following steps:

1.

On the Oracle Siebel login screen, enter your username and password. Ask your Siebel Administrator for the username and password information.

Click the right arrow  to log in.

 

2.

In the Siebel Home page, click the Site Map icon.

 

3.

In the Home Screens page, click the Administration - Web Services hyperlink.

 

4.

In the Administration - Web Services screen, click the Inbound Web Services link.

 

5.

Here you will find the Web services that are exposed out of the box. You will now begin to expose Siebel Account as a Web service. In the Inbound Web Services page, click the Menu option and select New Record from the drop-down list.

 

6.

Enter the following values:

Namespace http://siebel.com.fmw
Name Siebel Customer Account
Status Active

 

Enter For Fusion Middleware in the Comment field.

 

7.

Scroll down to the Service Ports pane and from the Menu drop-down list, select New Record.

 

8.

Enter CustAccount as the Name and click the button in the Type field.

 

9.

In the Inbound Web Service Port Type Pick Applet, click the New tab.

 

10.

In the dialog, select Business Service as the Implementation Type and enter 's' in the Service Name. Select Siebel Account from the list.

 

 

11.

In the Inbound Web Service Port Type Pick Applet, click OK to create the inbound Web service.

 

12.

In th Service Ports dialog, select HTTP from the Transport drop-down list.

 

13.

In the Address field, set the URL to your Siebel instance. For example, we used the following syntax:
http://testsebl.us.oracle.com/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN

 

14.

From the Menu drop-down list, select the Save Record option.

Back to Topic List

Creating Operations for the Inbound Web Service

To add operations to the inbound Web service and then create a wsdl file, perform the following steps:

1.

Scroll down to the Operations section.

Select New from the Menu.

Type AccountInsert in the Operation Name field. Note this may get overwritten in the next step (Siebel UI behaves this way, so you may have to enter it again).

.

 

2.

Click the button in the Method Display Name field to open the Business Service Method dialog.

 

3.

Select Insert as the Method.

Click OK.

 

4.

In the Authentication Type field, select None from the drop-down list.

 

5.

Click the New button to create a new operation.

In the Operation Name, enter AccountQueryByExample.

 

6.

For the new AccountQueryByExample operation, click the button in the Method Display Name field.

 

7.

In the Business Service Method dialog, select the Query By Example method.

Click OK.

 

8.

In the Operations pane, in the Authentication Type field, select None from the drop-down list.

 

9.

Click the New button.

 

10.

In the Operations dialog, click New.

In the Operation Name, enter AccountQueryByID.

 

11.

For the new AccountQueryByID operation, click the button in the Method Display Name field.

 

12.

In the Business Service Method dialog, select the Query By ID method.

Click OK.

 

13.

In the Operations pane, in the Authentication Type field, select None from the drop-down list.

 

14.

In the Service Ports pane, select the Save Record option from the Menu drop-down list.

 

15.

In the Inbound Web Services pane,select the Save Record option from the Menu drop-down list.

 

16.

Click the Clear Cache menu option.

 

17.

Click the Generate WSDL button.

 

18.

On the File Download dialog, click Open.

 

19.

The Web service XML code is displayed in your browser.

 

20.

Select File --> Save As...

 

21.

Locate the directory where you want to save the WSDL file and name the file SiebelAccountInsertWS_80.wsdl.

Click Save.

 

Back to Topic List

Summary

In this tutorial, you've created an inbound Web service, added operations to the Web service, and created a wsdl file. You learned how to:

 Create an Inbound Web Service

Create Operations for the Inbound Web Service

Back to Topic List

 Place the cursor over this icon to hide all screenshots.

 

 

 

Left Curve
Popular Downloads
Right Curve
Untitled Document