Enterprise Application Integration
Inbound Web Services
Outbound Web Services
1
Agenda
Web Services - Recap
Inbound Web Services
Outbound Web Services
2
Web Services - Recap
• A web service is a component on the Internet.
• Uses technologies like HTTP, XML, SOAP, WSDL.
• It is platform independent.
• A Web Services exposes functionality through WSDL
• One WSDL file can describe multiple web services.
• Exchange data in the form of SOAP messages.
3
Inbound Web Services
4
Siebel Web Service
• Siebel application allows enterprises to publish any business
process as a web service
• A Siebel Administrator uses the
Administration – Web Services -> Inbound Web Services
view in the Siebel Web Client to publish a web service
• Once a web service is published, the administrator generates the
Web Service Definition Language (WSDL) document for the newly
created web service
• The resulting WSDL document is consumed by the external
application in order to invoke this web service
5
Creating the Inbound Web Service
• Identify the Business entity for which a web service has to be created
• Create or identify existing Siebel Integration Object (The Siebel Integration
Object provides a hierarchical structure representing complex data types like
Siebel Business Objects)
• Create or identify existing Siebel Business Services based on the
CSSEAIDataSyncService class
• Add methods to the business service according to business needs
• Associate the Integration Object to the Business Service
• Create the inbound web service in the Administration – Web Services screen
• Generate the WSDL file using the ‘Generate WSDL’ button
• Refresh the Siebel Server Cache using the ‘Clear Cache’ button
6
Create an Integration Object
7
Create the Business Service
Associate an
Integration Object
To the Business Service
Method
8
Create the Inbound Web Service
Status must be ‘Active’
9
Setting up the Service Port Address
• [Link]
SWEExtSource=WebService&SWEExtCmd=Exe
cute&UserName=<UserName>&Password=<Pa
ssword>
– [Link]
SWEExtSource=WebService&SWEExtCmd=Execute&UserNam
e=SADMIN&Password=SADMIN
The EAI Object Manager must be
Enabled on the Siebel Server
10
Outbound Web Services
11
Outbound Web Services
• An outbound web service acts as a proxy to a web service
published by an external application.
• Can be used in business process, VBC, runtime events (Ability to
invoke business service)
12
Create Outbound Web Services
• Create a new project on Siebel tools and lock it.
• Start a new object wizard. File -> New Object.
• Click on EAI tab and select Web Service.
• Click OK to start the Wizard.
Inputs required:
• WSDL File from external location.
Objects created in Siebel:
• An outbound proxy business service based on CSSWSOutboundDisptacher
• Integration Object (For Input and Output parameters on Web Services)
• A Web Service administration document (an XML file) containing the run-time Web
Service administration data that should be imported into the Siebel Web Client, using
the Outbound Web Services view of the Administration - Web Services screen.
13
Create Outbound Web Services - Steps
New Object wizard
14
Create Outbound Web Services - Steps
Object Type
15
Create Outbound Web Services - Steps
Web Service Wizard - Steps
16
Create Outbound Web Services - Steps
Web Service Wizard - Steps
17
Create Outbound Web Services - Steps
Web Service Administration Document
1. Created by Web Service Import wizard
2. File format is .XML
3. Stored in the same folder as .wsdl file (by default)
This document contains runtime web services administration data to be imported
Siebel client (Server / Dedicated).
Steps:
1. Restart Siebel server / Client with a re-compiled version of SRF containing
objects created by Web service import wizard.
2. Navigate to the Administration –
Web Services screen > Outbound Web Services view.
3. On the list applet, click Import
4. Select the .xml file generated by wizard.
5. Click on Import to import the web service definition into database.
18
Outbound Web Services – Object Definitions
Integration Object
19
Outbound Web Services – Object Definitions
Proxy Business Service Object
20
Outbound Web Services – Object Definitions
Custom Business Service Object
21
Outbound Web Services – Object Definitions
Custom Business Service Methods – Service_PreInvokeMethod
22
Outbound Web Services – Object Definitions
Custom Business Service Methods – Query
23
Outbound Web Services – Object Definitions
Custom Business Service Methods – Query
24
Outbound Web Services – Object Definitions
Custom Business Service Methods – Query
25
Outbound Web Services – Object Definitions
Web Service Administration Document – Steps to import
26
Outbound Web Services – Object Definitions
Web Service Administration Document - Steps
27
Outbound Web Services – Object Definitions
Web Service Administration Document - Steps
28
Outbound Web Service – Runtime Screen shot
29
Thank You
30