Siebel Application Integration for Oracle Fusion Middleware Guide > Working with Siebel RESTful Services >
Deploying Siebel RESTful Services Using SAI for Oracle Fusion Middleware
To deploy Siebel RESTful Services, you must first deploy SAI for Oracle Fusion Middleware. You must also deploy the Jersey libraries that are packaged as part of the Oracle WebLogic Server installer. For more information about Siebel RESTful Services, see Overview of Siebel RESTful Services. To deploy Siebel RESTful Services using SAI for Oracle Fusion Middleware
- Make sure you have deployed the Jersey libraries so that they are available in the Oracle WebLogic Server Administration Console.
For information about the Jersey libraries and how to deploy them, see Manually Installing Jersey Libraries for SAI for Oracle Fusion Middleware.
- Start Oracle JDeveloper, if not already active.
- Select File, and then click the New menu item.
- In the New Gallery dialog box, perform the following:
- In the Business Tier category, select Siebel Application Integration for Oracle Fusion Middleware.
- Select the Deployment item, and then click OK.
- In the Welcome to the Deployment Wizard screen, click Next, and then do the following:
- Select REST as the deployment type, and then click Next.
- Choose one of the following security models, and then click Next.
- Enter the details of the Oracle WebLogic Server parameters on which the Siebel RESTful Services will be deployed, and then click Next.
- Click Finish to deploy Siebel RESTful Services.
- Make sure an appropriate Siebel Resource Adapter has been deployed to the applicable Oracle WebLogic Server and that the connection is established between Oracle WebLogic Server and the Siebel application.
- Test your deployment by calling Siebel RESTful Services using the following URI syntax:
http://hostname:port/oracle-crm/api/rest/siebel/siebel.JNDI_ra_name/IO_name?searchexpr=[IntCompName .IntCompFieldName ] LIKE 'A*'
where:
http://localhost:7001/oracle-crm/api/rest/siebel/siebel.SiebelResourceAdapterConnFactory/EAI%20Account?searchexpr=[Account.Name] LIKE 'A*'
Returns the following XML code:
<?xml version="1.0" encoding="utf8" ?>
<SiebelREST>
<NumOutputObjects>1</NumOutputObjects>
<LastPage>true</LastPage>
<ErrorCode>0x0</ErrorCode>
<ListOfAccount>
<Account>
<Location>Charlotte</Location>
<Name>AB Company</Name>
</Account>
</ListOfAccount>
</SiebelREST>
Which, in turn, displays all the account records with names that start with A.
Related Topics
Manually Installing Jersey Libraries for SAI for Oracle Fusion Middleware
|