Friday 25 January 2013

Oracle Fusion Interview questions - Part 1

Oracle Fusion Interview questions - Part 1

Qn. What is a wsdl? Explain its structure.
Ans. WSDL is a xml based language for describing web services and how to access them. The major elements in wsdl are.
       <types> the data types used by the WS
       <message> the messages used by the WS
       <porttype> operations performed by the WS
       <binding> the communication protocols used by the WS.
eg:-  <message name ="getTermRequest">
           <part name = "term" type ="xs:string">
        </message>
        <message name ="getTermResponse">
           <part name = "value" type ="xs:string">
        </message>
        <portType>
           <operation name ="getTerm">
            <input message = "getTermRequest"/>
            <output message = "getTermResponse"/>
           </operation>
       </portType>

Qn. What is SOA? What is a Service?
           SOA provides an enterprise architecture that supports building connected enterprise applications to provide solutions to business problems.
          A service is a distinct unit of business functions.


Oracle Mediator


Qn.  Difference between SOA suite 10g and 11g?
Ans: Basically all the SOA components like BPEL, ESB (Called Mediator in 11g), & OWSM are brought into one place in 11g using SCA composite concept.
The major difference between 10g & 11g would be the app server container. 10g by default runs on OC4J while 11g runs on Weblogic Server.


Qn. What is the role of Oracle Mediator?
Ans: Oracle Mediator provides a lightweight framework to mediate between various components within a composite application. Oracle Mediator converts data to facilitate communication between different interfaces exposed by different components that are wired to build a SOA composite application.
 
Qn.What is resequencing and dynamic routing in mediator?
Ans: The resequencing feature of the Oracle Mediator reorders sets of messages that might arrive to the Oracle Mediator in the wrong sequence. You can define resequencing for all operations in an Oracle Mediator or for a specific operation.
A dynamic routing rule lets you externalize the routing logic to an Oracle Rules Dictionary, which in turn enables dynamic modification of the routing logic in a routing rule.


Qn. What is echo in Oracle Mediator?
You can also echo source messages back to the initial caller after any transformation, validations, assignments, or sequencing operations are performed. An echo can only be specified if the Oracle Mediator component has a synchronous or asynchronous interface. Whether the echo is synchronous or asynchronous depends on the WSDL file of the caller. The echo option is only available for inbound service operations and is not available for event subscriptions.
The purpose of the echo option is to expose all the Oracle Mediator functionality as a callable service without having to route it to any other service. For example, you can call an Oracle Mediator to perform a transformation, a validation, or an assignment, and then echo the Oracle Mediator back to your application without routing it anywhere else.

Qn. What is schematron validation?
Ans: You can specify Schematron files for validating an inbound message and its various parts. Schematron version 1.5 is the supported version.
Schematron is an XML schema language, and it can be used to validate XML.

Qn. Difference between OSB and Mediator?
Ans:  Mediator:
  • Light weight intra composite mediation
  • Domain Value mapping and Xref(cross referencing) support.
  • Capability to create data type assertions in XML trees
  • Message transformation using XSLT.
  • Development within Jdeveloper
OSB
  • Larger,more heavy weight inter composite enterprise service bus
  • Serves as a logical proxy to physical services effectively providing service virtualization
  • Message throttling, service pooling and reliable messaging.
  • Message transformation using XQuery and XSLT.
  • Eclipse or web console based development
File Adapter:-

Qn. What is file debatching?
Ans: 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.

Qn. What is sync read option in file adapter? How is it different from read?
Ans: 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 whcih is static, this means that only file with this given name will be read.
BPEL Activites:-
Qn. Compensate Activity
Ans: This activity invokes compensation on an inner scope activity that has successfully completed. This
activity can be invoked only from within a fault handler or another compensation handler. Compensation
occurs when a process cannot complete several operations after completing others. The process must return
and undo the previously completed operations.
Qn. Pick Activity
Ans:  This activity waits for the occurrence of one event in a set of events and performs the
activity associated with that event. The occurrence of the events is often mutually exclusive
(the process either receives an acceptance or rejection message, but not both). If multiple
events occur, the selection of the activity to perform depends on which event occurred first.
 If the events occur nearly simultaneously, there is a race and the choice of activity to be
performed is dependent on both timing and implementation.
Qn. Replay Activity
Ans: This activity enables you to reexecute the activities inside a selected scope

1 comment:

  1. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Oracle Fusion Middleware 11g, kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on Oracle Fusion Middleware 11g. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us:
    Name : Arunkumar U
    Email : arun@maxmunus.com
    Skype id: training_maxmunus
    Contact No.-+91-9738507310
    Company Website –http://www.maxmunus.com


    ReplyDelete

xslt padding with characters call template for left pad and right pad

  Could a call-template be written that took two parameters ?   a string, and a   number) return the string with empty spaces appended t...