• No products in the cart.

OSB Interview Questions and Answers Updated 2022

1. What is OSB?

Oracle Service Bus (OSB) allows you to manage Web services and deliver authentic message brokering through the configuration of proxy services in the Oracle Service Bus design-time environment. The underlying concepts of Oracle Service Bus are briefly described in this section. Oracle Service Bus manages the routing and transformation of messages in an enterprise system to promote seamless application integration.

2. What are the key features of Oracle Service Bus or OSB?

  • Supports Multiprotocol Messaging
  • Enables Location Transparency
  • Handles Dynamic Routing
  • Enables Message Transformation
  • Enables Service Orchestration
  • Supports Message Enrichment
  • Provides Service Security
  • Implements Service Level Agreement

3. What is Service Result caching in OSB?

Service Result Caching is one of the options that you can use when you want to improve Oracle Service Bus performance. Service Result caching is used when we have a business service that connects to an external service that returns the somewhat static response. So by using Service Result Caching, we don’t hit external service for the same request instead it will take the response from the cache which improves the OSB performance.

4. What are some of the major protocols that OSB supports?

  • HTTPS
  • SOAP
  • JMS
  • SMTP/POP/IMAP
  • Tuxedo
  • EJB
  • Native MQ
  • File
  • FTP
  • STFP
  • Email

5. What is Proxy Service?

It is a service in OSB that is exposed to the source systems or calling applications or services. Proxy services are Oracle Service Bus definitions of intermediary Web services that Oracle Service Bus implements locally on WebLogic Server.

6. What is Oracle Service Bus Console?

Oracle Service Bus Console is a Web services management dashboard that allows you to monitor Web services and servers and perform service management tasks. The console enables you to perform operational tasks such as configuring proxy and business services, setting up security, managing resources, and capturing data for tracking or regulatory auditing. It provides views to monitor the current state and health of the Oracle Service Bus environment by displaying detailed statistics about servers, services, and alerts. The Oracle Service Bus Console also enables you to respond rapidly and effectively to changes in your service-oriented environment.

7. What are different options available in OSB to read flat file?

We can read the flat files in two different ways.

Using Message Format Language (MFL): We can MFL in OSB to read flat files.

File Adapter: Create a file adapter that reads the flat file in Jdeveloper, copies the JCA, WSDL & XSD file of the file adapter in OSB, and creates a proxy service that will read that flat file.

8. What is Message Enrichment?

Getting additional information from the existing service using the Service Callout option and then adding/inserting this additional information (required) into an incoming message/request XML before it routes to the service endpoint. In OSB 11g, it is Business Service. Sometimes, you may have legacy applications coded in core Java or EJB, and then at times, you may need Java Callout.

9. By how many ways we can do OSB development?

We can do development in OSB in two ways. Either we can use Eclipse which is an IDE tool for OSB or we can use SB console for the development.

10. Where the file will go if there is any error while polling the file?

During configuring file or Ftp protocol in OSB, we need to specify the error directory, so you can see the file to that directory if file polling failed.

11. Explain OSB Service Orchestration?

  • Combining existing services to make new services
  • This is light orchestration as compared to the BPEL orchestration in SOA which may be Synchronous/Asynchronous
  • But in OSB 11g, it is stateless
  • There are limitations with OSB 11g as compared to the BPEL/SOA which could be used for maintaining states for hours/days as per our business needs

12. What does it mean by VETRO concept?

VETRO stands for 

V – Virtualisation 

E – Enrichment 

T – Transform 

R – Route 

O – Operate

13. Do we need to create a session when we develop projects in Eclipse?

No, we need not create a session when we develop projects in Eclipse, the session will only come into the picture when we deploy the project to the server from eclipse.

14. How can you end a Proxy flow without using if then else logic ?

You have to use Reply (with Success)action to end the Proxy Flow where you want.

15. What is Message Flow?

The message flow is there in proxy service, we do all types of transformation, routing, and other processing message flow only.

16. What is UDDI ?

Universal Description, Discovery, and Integration (UDDI) registries are used in an enterprise to share Web Services. UDDI provides a framework in which to classify your business, its services, and the technical details about the services you want to expose. 

17. What is Message Context?

All messages sent to and received by the proxy service are defined internally in the proxy service by a set of properties that holds the message data and meta-data related to that message. This set of properties is known as the Message Context (context) and is implemented using Context Variables. It is defined by an XML schema. Each Context Variable relates to a different property. Some Context Variables are predefined and others are user-defined. The heart of the proxy service is the Message context. For a complete description of the Message Context and context variables used in the message flow.

18. How to move large file without reading it in OSB?

In Oracle SOA Suite we use the “Move” operation to move large files from one location to another. But in Oracle Service Bus we don’t have that option available. But we can use the Content Streaming option available for file protocol in OSB to move large files.

19. What is WSDL? Explain the steps to import WSDL.

A WSDL defines the public contract (interface specification) between a client and a service, whether the service is a proxy service or a business service. It is the formal description of a Web service. A WSDL is used to describe what a Web service´s interface is, where it resides, and how to invoke it. You create the WSDL resource first since subsequent service registration tasks depend on it. The WSDL is subsequently used to register the business service with the proxy service. 

20. Explain Pipeline pairs?

Pipeline pairs are request and response pipelines. The request pipeline definition specifies the actions that Oracle Service Bus performs on request messages to the proxy service before invoking a business service or another proxy service. The response pipeline definition specifies the processing that Oracle Service Bus performs on responses from the business or proxy service that the proxy service invokes before returning a response to a client.

© ZxAcademy - 2022. All rights reserved.