Professional Documents
Culture Documents
Inbound/Outbound Web
Service
BOK
Shwetha Iyer
Tushar Singhla
27/4/2009
INBOUND/OUTBOUND WEB SERVICE
Project : JCINXGEN
Environment : Siebel 8.0
Project Type : Integration Siebel - Fusion
Tools Required : Siebel 8.0
Target readers : Siebel Integration
Declaration
I hereby declare that this document is based on my personal experience and / or experiences of my project
members. To the best of my knowledge, this document does not contain any material that infringes the copyrights
of any other individual or organization including the customers of Infosys.
Shwetha Iyer
Tushar Singhla
1. Overview................................................................................................................3
2. Inbound Web service.........................................................................................5
2.1 Workflow – Inbound Router WF (Using Dispatch Method)..........................................................................................5
2.2 Inbound Router WF1 (Using ProcessAggregateRequest method).................................................................................8
References......................................................................................................................22
Web Services combine component-based development and Internet standards and protocols that include HTTP,
XML, Simple Object Application Protocol (SOAP), and Web Services Description Language (WSDL).A business service
or workflow process can be exposed as a web service.
Inbound Web Service: When Siebel publishes any business service or workflow process as a web service
and external system invokes it
Outbound Web service: Acts as a proxy to a Web Service published by an external application
The information below explains about a workflow being exposed as an inbound web service .
The workflow initially uses the “Purge” step to purge all existing instances of Dispatch. The workflow then uses the “Dispatch”
step to match the incoming message to the appropriate workflow using the rule set and then routes to the same.
The Rule Set used for routing incoming messages to appropriate workflow.
The following Rule checks if the Integration Object Name present in the incoming message matches with the property value,
“IO Customer Invoice” in this case.
2-6:- Rules
Search Expression Property Value Dispatch Dispatch Method
Service
/ IO Customer Invoice Workflow Process Execute Process
*/*/*/SiebelMessage@IntObjectNa Manager (Server
me Request)
If a match is found, then the following transforms are carried out. The first one extracts the SiebelMessage from the incoming
message stream. This is passed on to the workflow defined in the second step “WF Update Invoice Status”.
The above workflow can be exposed as a web service for external systems to invoke.
The ProcessAggregateRequest method allows you to perform multiple invocations of business services in a single request. Also
this can be used for synchronous transactions where we expect a response.
The example workflow uses first step as Read property set which reads a sample property set as below
It then dispatches the same using the “ProcessAggregateRequest” method of EAI Dispatch service and stores the response in a
variable which can be further transformed.
We can have multiple business services/workflows based on different conditions using ProcessAggregateRequest.
Also the proxy business service can have a method like “process” if it’s a synchronous process and method called “initiate” if its an
asynchronous process.
Whenever a wsdl is received from external system the following steps need to be followed
1. Import the wsdl in Siebel tools by navigating to File > New Object->EAI tab and select web services and specify the wsdl file location
and project name. Thie creates a proxy business service and integration object may or may not get created based on the xsd.
2. During the above process, a xml file gets created which needs to be imported in the Siebel application in the Administration – Web
Service > Outbound Web services by clicking the import button
Section 3.1 explains the process of calling a proxy business service without an IO
The XSD used for the same is as follows
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.johnsoncontrols.com/Any"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<xs:element name="GenericMessage">
<xs:complexType>
<xs:sequence>
<xs:any processContents="skip"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
This is workflow process which sends the outbound messages from the Siebel to external system.
Section 3.2 explains the process of calling a proxy asynchronous business service with an IO
The XSD used for the same is as follows