Siebel REST API Guide > Getting Started with the Siebel REST API >
Creating an Outbound Web Service Based on an OpenAPI Compliant JSON File
Use the procedures in this topic to create an outbound Web Service based on an OpenAPI compliant JSON file. To create an outbound Web service based on an OpenAPI compliant JSON file
- In Siebel Tools, create a new workspace.
- From the File menu, choose New Object to display the New Object Wizards dialog box.
- Click the EAI tab, and then double-click Web Service.
The JSON Import Wizard appears.
- Select the project where you want the objects to be held after they are created from the JSON document.
- Specify the external JSON schema document that contains the Web service or Web services definition that you want to import.
- Specify the log file where you want errors, warnings, and other information related to the import process to be logged or accept the default.
- Click Next.
A summary of your import information, as well as any errors, appears.
- Oracle recommends that you do not select the Deploy the Integration Object(s) and the Proxy Business Service(s).
- Click Finish to complete the process of importing the external object definitions into the Siebel repository.
This procedure generates two objects in the Siebel repository:
- A REST outbound proxy business service. This service acts as a client-side implementation of the Web service and includes the operations and the arguments to the operations defined in the JSON document.
- Integration objects, representing input and output parameters of the service methods, if any of the operations require a complex argument to be passed. If the service does not use complex arguments, then no integration object definitions will be created.
Business Services, methods, arguments, and port information are shown in the Administration - Web Services screen, REST Outbound Web Services view in the Siebel client. Before importing the external schema, ensure that there are no objects in the Siebel Database with the same name as that of the new Web Service, Port, Port Type and Operation or Methods. For additional information about outbound web services, see Integration Platform Technologies: Siebel Enterprise Application Integration.
|