Oracle OSB-SOA-BPEL Interview Question and Answer – Part 9

In this article, we will discuss interview question with their justification on Oracle OSB, SOA and BPEL

This is part-9 of Oracle OSB-SOA-BPEL interview question series

Q) How do you create a partner link BPEL? How to make partner link dynamically ?

  • You can dynamically configure a partner link at runtime in BPEL. This is useful for scenarios in which the target service that BPEL wants to invoke is not known until runtime
  • The most important point to be remembered when using dynamic partnerlinks is that you need to ensure each process that you wish to call has to be based on exactly the same WSDL
  • The message types, namespaces, port types, bindings etc… Everything have to be same just the endpoint URL will be different
  • Dynamic partner links are only supported in BPEL 1.1 projects

Q) How to increase performance increase in bpel (Db Adapter/file adapter) ?

  • We can increase the performance by writing indexes and sequences

Q) What is file debatching ?

  • When a file contains multiple messages, you can choose to publish messages in a specific number of batches
  • This is referred to as debatching
  • During debatching, the file reader, on restart, proceeds from where it left off in the previous run, thereby avoiding duplicate messages
  • File debatching is supported for files in XML and native formats.

Q) What is synchronous file read ?

  • The read operation can be either a “synchronous read” or “read”,
  • In Synchronous read, inside an a BPEL process we can provide the file details and read a file,
  • In a ‘read operation’ we can poll a file from a directory

Another definition for Synchronous Read:

  • Sync Read option in BPEL file adapter allows us to read the file from the middle of the process; this is different from the Read option which polls for the new files and is the start of the BPEL process
  • As we design the file adapter for sync read it asks for the file name which is static, this means that only file with this given name will be read. Now suppose if we need to read files having same format but different names. How are we going to do that?

Q) What is a syncFileRead operation ?
Q) Is it an inbound or an outbound operation ?
Q) Can process begin with a syncFileRead operation ?

  • No, since it is an outbound operation so you need to invoke it through bpel process
  • Also, there is difference in configuration wizard for both Read & Sync Read
  • In the Read option, it will ask for polling frequency & age of file, whereas in Sync read there is no such option

Q) What is sync read option in file adapter? How is it different from read ?

  • Sync Read option in BPEL file adapter allows us to read the file from the middle of the process; this is different from the Read option which polls for the new files and is the start of the BPEL process
  • As we design the file adapter for sync read it asks for the file name which is static, this means that only file with this given name will be read

Q) What is an inline schema ?

  • Schemas can be included inside of XML file is called Inline Schemas
  • Inline schemas are XML schema definitions included inside XML instance documents
  • Like external schema documents, inline schemas can be used to validate that the instance matches the schema constraints

Q) What is the significance of target Namespace in a WSDL ?

  • It is the one which uniquely identifies WSDL; when WSDL is used, it should be identified using its targetNamespace

Q) Whether two XSD files can be imported, which are having same elements and same file name ?

  • Yes, we can if they have different targetNamepsace

Q) In Oracle SOA 11g, what is difference between imports & include ?

  • The fundamental difference between include import & include
  • import is that you must use import to refer to declarations or definitions that are in a different target namespace
  • you must use include to refer to declarations or definitions that are in the same target namespace

Q) What is the difference between xsd:import and xsd:include ?

  • The fundamental difference between include and import is that
  • you must use import to refer to declarations or definitions that are in a different target namespace
  • you must use include to refer to declarations or definitions that are in the same target namespace

 

Folks, it’s your turn to comment & suggest for improvement

Note: We have taken inputs from various folks and other weblog for making this comprehensive set of Oracle SOA-OSB interview & answers

 

Read Also:

 

Happy Coding !!
Happy Learning !!

Oracle OSB-SOA-BPEL Interview Question and Answer - Part 10
Oracle OSB-SOA-BPEL Interview Question and Answer - Part 8