Siebel REST Outbound Services
Siebel outbound REST is like similar outbound Web service,
but It only supports REST outbound calls in JSON format/ SWAGGER compliant
schema in JSON format.
To make outbound
REST API integration from Siebel much quicker and easier to implement, featured REST Client for Siebel that allows
developers to build integrations quickly and easily between Siebel and external
systems using RESTful APIs.
REST Client for
Siebel combines two major pieces of functionality into one single suite of
services.
Siebel outbound REST functionality leverages Siebel Tools to
import the REST contract and to create the required metadata, such as business
services, integration objects, and data such as Web service definitions.
First to check configure Java subsystem in Siebel Tools
1. In
tools.cfg
file add the below section [JAVA64]
FullName = RESTOutboundJvmSubsys
Description = RESTOutbound
Java Business Service subsystem Parameters
SubsysType = JVMSubSys
CONTAINERURL = http://localhost:<Config Agent
Port>/siebel/jbs
2 . Add the following section to enable write access to the
Siebel Tools Temp folder:
[EAIFileTransportConfigSubsys]
EAIFileTransportFolders = D:\<Siebel Tools>\temp
To create an outbound REST service
- In Siebel Tools, create and open
a new workspace.
- From the File menu, choose New
Object.
The New Object Wizards
dialog box appears.
- Click the EAI tab, select Web
Service, and click OK.
The WSDL/JSON Import
Wizard appears.
- Select the project that will hold
the objects created from the JSON document.
- Select the JSON file you want to
import.
- Select the XML file where you want to
record the Web service definition imported in the REST Outbound Services
Screen.
Siebel Tools must have write access
to this location.
- Select the log file to record errors,
warnings, and other information related to the import process, or accept
the default.
Siebel Tools must have write access to this location.
- Click Next.
- Click Finish to complete the process of importing the
external object definitions into the Siebel repository.
- To view the new outbound REST service,
do the following:
- Open an application such as Callcenter.
- Navigate to Administration - Web
Services.
- Navigate to Outbound REST Services.
This screen displays values for Service, Endpoint URL, and
operations.
Business
Services
The first object generated by the WSDL/JSON Import Wizard is a
REST outbound proxy business service belonging to the CSSWSRESTOutboundDispatcher
class
You can convert Siebel Property Sets to
JSON and JSON to Siebel Property Sets using the Siebel XSL To XML Convertor Business Service. The Business Service
has two methods for this purpose.
pstojson – Converts a Siebel Property Set to JSON.
jsontops – Converts JSON to a Siebel Property Set.
Siebel XSL To XML Convertor is
included in Repository Upgrade (Optional) in 22.8 and higher. This BS has few
usages reference in Siebel Security Guide wherein it was used in sample script
for configuring OAuth Support for creating Siebel REST Outbound connections but
was not documented until 23.9 documentation. Given the thorough documentation (https://docs.oracle.com/cd/F26413_45/books/EAI4/c-Conversion-Between-Json-and-Siebel-Property-Sets.html#u30242981)
1) A bidirectional
and fully featured XML / JSON converter which allows easy conversion between
XML and JSON data formats. Features include:
·
Query Siebel
database using EAI Siebel Adapter and convert the resulting Siebel Integration
Object from XML to JSON.
·
Convert JSON
payloads into Siebel Integration Object XMLs ready for EAI Siebel Adapter
updates.
2) An advanced
HTTP Client, featuring for
·
Support for HTTP
GET, PUT, POST and DELETE verbs
·
Support for HTML
Encoding and Decoding
Follow the Link the same
:
https://docs.oracle.com/cd/F26413_09/books/RestAPI/using-siebel-rest-outbound-services.html
Comments
Post a Comment