Oracle Rest Web Service Usage
Oracle Rest Web Service Usage
with SOA
Presenter: Sarah Sinclair and Gareth Roberts
Ability to Capability to
Consume Services Provide Services
Service
Broker
Find Register
Service
Contract
Service Consumer
Service Provider
(SOA)
Client Service
Case Study
External system is sending data by
invoking our webservice – passing the
inbound data and expecting a response.
External system will call a generated
webservice endpoint.
Externally provided WSDL file
(Web Service Definition Language)
Top down vs Bottom up.
Why OC4J ?
Old version of OAS running
Multiple patches required
Desire to isolate EBS from solution (do
not want any patches to affect current
EBS 11i version)
Desire to have full control over web
service processing.
OAS / OC4J architecture
WSDL File
public CreateFinancialProjectResponse
createFinancialProject(CreateFinancialProject parameters) throws
IRISServiceFaultContract {
return null;
}
Web Service code
Reponse code added
public CreateFinancialProjectResponse
createFinancialProject(CreateFinancialProject parameter rs) throws
IRISServiceFaultContract {
CreateFinancialProjectResponse response ;
response = new CreateFinancialProjectResponse(); //initialise it
CreateFinancialProjectOutcome outcome;
outcome = new CreateFinancialProjectOutcome(); //intialise it
response.setCreateFinancialProjectResult(outcome);
return response;
}
Web Service code
Deploy and test it