Professional Documents
Culture Documents
Question: Which application server required for Oracle SOA Suite tool ?
Answer: Mostly WebLogic server is used as application server for Oracle SOA
Suite tool.
Question: What is EM ?
Answer: EM stands for Enterprise Manager. It is webpage we deploy, test,
monitor, diagnose and resolve problem for composites. It is hosted on the
Admin Server.
Question: What all schema we need for Oracle SOA Suite tool ?.
Answer: We require following schema.
1. MDS – This schema is used to store all the artifacts like WSDL, XML, XSD
etc.
2. SOA_INFRA – This schema is used to store SOA Component Engine properties,
deployed composites, payloads, runtime metadata etc.
3. ORABAM – This schema is used to store the metadata that is related to BAM
and its components and this is optional schema.
4. ORASDPM – This schema is used to store metadata about the user messaging
systems.
Question: Can we have multiple composites with same name on SOA server ?.
Answer: Yes, we can have multiple composites with same name on SOA server but
this is possible when we have composites with revisions.
Question: If we have multiple composites on SOA server with same name then
how composites run ?.
Answer: If we have multiple composites with same name then only one composite
will act as default composite which will run only. But we can go to EM
console and make other composite default.
Part 3: SOA Suite Architecture
Question: Can we have more than one service component in one composite ?.
Answer: yes, we can have as many as service components in one composite but
it is not recommended, we should not have all the components in one composite
itself.
Question: Can we more than one Service & Reference binding in one composite
?.
Answer: Yes, we can more than one service & reference binding in one
composite, that means we can have more than one entry & exist point for
composite.
Question: What can be scenario where we have two service binding in one
composite ?.
Answer: When a composite can be initiated either by direct call or by
consuming the same message from JMS queue, in this scenario we have two entry
point for same composite.
Question: What can scenario where we have two reference binding in one
composite ?.
Answer: Composite needs to send the message to first target by JMS queue and
to other target by writing the file, in this scenario we have two exist for
composite.
Question: What all BPEL templates are available in SOA Suite tool ?.
Answer: Primarily we have three types of BPEL template in SOA Suite tool.
1. Synchronous BPEL Template
2. Asynchronous BPEL Template
3. OneWay BPEL Template
Question: What is default timeout time set for synchronous BPEL process ?.
Answer: Default setting is 30 seconds that means synchronous BPEL process
needs to complete the process within 30 seconds and if it exceeds this limit
then it throw time out error.
Question: Can we have handle Synchronous BPEL timeout error with error
handlers ?.
Answer: No, we cannot handle timeout error with error handlers.
Question: What all activities we get when we generate BPEL using synchronous
template ?.
Answer: When we generate synchronous BPEL process then by default we get
“Receive” and “Reply” activity. “Receive” activity is used to receive the
request message and “Reply” activity is used to send the response back.
Question: What all activities we get when we generate BPEL using asynchronous
template ?.
Answer: When we generate asynchronous BPEL process then by default we get
“Receive” and “CallBack” activity. “Receive” activity is used to receive the
request message and “CallBack” activity is used to send the response back.
Question: What all activities we get when we generate BPEL using oneway
template ?.
Answer: When we generate oneway BPEL process then by default we get “Receive”
activity. “Receive” activity is used to receive the request message.
Question: What is the difference between sequential and parallel routing rule
?.
Answer: Below are the difference between sequential and parallel routing
rules.
Sequential:
1. These routing rules evaluated and performed sequentially.
2. These routing rules executes in single thread.
3. Oracle Mediator never commits or rolls back transactions propagated by
external entities.
4. Oracle Mediator always enlists itself into the global transaction
propagated through the thread that is processing the incoming message.
Parallel
1. These routing rules evaluated and performed in parallel order.
2. These routing rules executes in parallel (multiples) threads.
3. Oracle Mediator commits or rolls back transactions because it is the
initiator of these transactions.
4. Oracle Mediator initiates a new transaction for processing each parallel
rule.
Question: Can we have both sequential and parallel routing rules in one
mediator?.
Answer: yes, we can have both sequential and parallel routing rules in one
mediator.
Question: Which rule execute first if we have both sequential and parallel
routing rules in mediator ?.
Answer: If we have both sequential and parallel routing rules, first
sequential routing rules are evaluated and actions are performed, and then
parallel routings are queued for parallel execution.
Question: How many faults can Oracle Mediator service engine throw ?
Answer: Only One
{http://schemas.oracle.com/mediator/faults}mediatorFault.
Part 6: Business Rules
Question: What we use in Business Rule when we need to define multiple rules
?.
Answer: We use Decision table when we need to define multiple rules with
corresponding actions in Business Rule component.
Part 7: Human Task
Question: What all outcomes we can have from Human Task component ?.
Answer: mainly we can have following outcomes from Human Task components but
apart from these there are others outcomes also.
1. Approve
2. Reject
Question: What all types of technologies adapters available in SOA Suite tool
?.
Answer: We have following technologies adapters in SOA Suite tool.
• File Adapter
• FTP Adapter
• JMS Adapter
• DB Adapter
• AQ Adapter
• Oracle Applications Adapter
• Socket Adapter
Question: What all files we get when we use these adapters in SOA Suite
composite ?.
Answer: Generally we see following files when we use these technology
adapters in SOA Suite composite.
1. WSDL
2. JCA
3. XSD
4. Mapping File (In case of DB Adapter).
5. Properties File (In case of DB Adapter)
Question: What all differences we have between File and FTP adapters.
Answer: Following are the major differences between File and FTP adapter.
File Adapter
1. It is used to deal with local systems only.
2. Do not require any configuration to make this adapter work.
FTP Adapter
1. It is used to deal with remote systems.
2. Outbound Connection Pool needs to be configured with FTP details to make
this adapter work.
Question: File & FTP adapters are known and Transactional or Non-
Transactional adapters?.
Answer: These adapters are known as non-transactional adapters as these
adapters does not support transactions.
Question: Do we have support for multiple directories in File & FTP adapter ?
Answer: Yes, we can specify more than one directory for these adapters. This
is applicable to both physical and logical directories.
Physical Path
1. As name suggest, we mention actual full path (physical) of directory
2. Not Flexible
3. We need to manual change this when difference environments has different
paths
Logical Path
1. Here we can mention any logical name and actual value of that path define
in Composite.xml file.
2. Flexible as we can change it from EM console.
3. We can easily replace this path with the help of Config plan if we have
difference paths in different environments.
Question: What is the difference between Read and Sync Read operation ?.
Answer: We go for Read operation when we need to perform polling i.e. our
process start with polling for file and Sync Read operation is used when you
need to read the file in between the flow .
For example, a BPEL process is writing files to a directory and a second BPEL
process is polling the same directory for files. If you want the second
process to start polling the directory only after the first process has
written all the files, then you can use a trigger file. You can configure the
first process to create a trigger file at the end. The second process starts
polling the inbound directory once it finds the trigger file.
Question: Can we change the file name and directory path at runtime ?.
Answer: yes, we can change the file name and directory path at run time, for
that open the Invoke activity used to invoke file/ftp adapter then go to
Properties tab and update the following properties for the same.
jca.file.FileName/jca.ftp.FileName
jca.file.Directory/jca.ftp.Directory
Question: How we can limit the number of rows fetched using database adapter
?
Answer: We can limit the number of rows fetched using ” Database Rows per
Transaction” property. For example, assume there are 10,000 rows at the start
of a polling interval and this field is set to 100. In standalone mode, a
cursor iteratively reads and processes 100 rows at a time until all 10,000
rows are processed, dividing the work into 10,000/100=100 sequential
transactional units
Question: How we can limit the number of rows per XML message while sending
the message from database adapter to consumer ?.
Answer: By using “Database Rows per XML Document” property.
Part 12 : JMS Adapter
Question: Can we add custom header properties to JMS header while sending
message to JMS queue/topic?.
Answer: Yes, we can do that.
Question: How we can do retry once message roll back to JMS queue ?.
Answer: We have “Deliver Failure” tab in JMS queue where we can set
properties to do retry after certain intervals.
Error Destination: If you choose “Redirect” then choose the queue to which
you want to redirect message.
true
Part 13 : Error Handling
Question: How many types of faults we can have in SOA Suite tool ?.
Answer: We categories fault into two categories.
1. Business Faults
2. Technical Faults
Catch block
CatchAll block
Question: Which function we use to get Fault Name and Fault description in
CatchAlll block?
Answer: We use ora:getFaultName() to get fault name and
ora:getFaultAsString() function to get fault description in CatchAll block.
Question: What is the difference between Catch blocks and Fault Handling
Framework?
Answer: Following are the difference between these two.
Question: When we call secured web service from SOA, which policy we will use
“Client” or “Service”?
Answer: When we call secured web service from SOA then we add “Client” policy
to reference partner link and when we want to secure our web service then we
use “Service” policy.
Question: what is the scope of Policy Sets or where we can apply Policy sets
?
Answer: Below is the scope of Policy Sets.