0% found this document useful (0 votes)
72 views

Question: What Is MDS & Why We Use MDS in Oracle SOA?

WSDL describes a web service by specifying its location and operations. It can be abstract, containing only messages and operations, or concrete, containing transport details like HTTP. SOAP is a simple XML protocol for exchanging information over HTTP to access web services. XA transactions involve multiple resources committing or rolling back together using two-phase commit, while non-XA transactions involve a single resource. OWSM allows securing and managing access to web services through policies that can be attached to composites. File and FTP adapters can read local or remote files, with options like minimum age, trigger files, and handling errors.

Uploaded by

Srinivas Reddy
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views

Question: What Is MDS & Why We Use MDS in Oracle SOA?

WSDL describes a web service by specifying its location and operations. It can be abstract, containing only messages and operations, or concrete, containing transport details like HTTP. SOAP is a simple XML protocol for exchanging information over HTTP to access web services. XA transactions involve multiple resources committing or rolling back together using two-phase commit, while non-XA transactions involve a single resource. OWSM allows securing and managing access to web services through policies that can be attached to composites. File and FTP adapters can read local or remote files, with options like minimum age, trigger files, and handling errors.

Uploaded by

Srinivas Reddy
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Question: What is WSDL ?

Answer : WSDL stands for Web Services Description Language

WSDL is a document written in XML. The document describes a Web service. It specifies the location of the
service and the operations (or methods) the service exposes

Question: Explain elements/tags of WSDL ?

Answer : Types, msgs,port types,bindings and services

Question: Difference between Abstract and Concrete WSDL ?


Answer : Abstract WSDL contains only messages and operations. Abstract WSDL is 
used by SOAP Server. 

Where as concrete WSDL contains messages, operations and transport 


specific information (JMS or Http). This is used by SOAP client. 

Question : What is SOAP ?


Answer : SOAP is a simple XML-based protocol to let applications exchange information over HTTP.
Or more simply: SOAP is a protocol for accessing a Web Service.

Question : Difference between Include and Import in context to XML schema ?


Answer : 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 and you must use include to refer to
declarations or definitions that are (or will be) in the same target namespace.

Question : How to refer another XSL from main XSL file ?


Answer :  The <xsl:import> element is a top-level element that is used to import the contents of one style
sheet into another.

Question: Difference between XA & Non-XA transaction ?


Answer: 
Non-XA (Local Transaction):  It involves only one resource. When you use Non-XA transaction then you
can’t involve multiple resources (different databases, Queues, application servers etc), you can rollback or
commit transaction for only one resource. There is not transaction manager for this transaction as we are
dealing with only one resource at a time. 

XA (Global Transaction): It involves more than one resource (different databases, queues, application
servers) all participate in one transaction. It uses two-phase commit to ensure that all resources either all
commit or rollback any particular transaction. When you have scenario like you need to connect to two
different databases, JMS Queue and application server, in this case you will use XA transaction that means
all resource participate in one transaction only.

Question: What is the use of Trigger file ?


Answer: By default, polling by inbound Oracle File and FTP Adapters start as soon as the endpoint is
activated. However, if you want more control over polling, then you can use a file-based trigger. Once the
Oracle File or FTP Adapter finds the specified trigger file in a local or remote directory, it starts polling for
the files in the inbound directory. 

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: Types of Rejection Message Handler ?


Answer: Web Service Handler,Custom Java Handler,JMS Queue,File

Question: What is MDS & Why we use MDS in Oracle SOA?


Answer: MDS stands for Oracle MetaData Service. It is central repository inside Oracle Fusion
Middleware. MDS purpose is to provide centralized store where we can keep, manage & access
metadata.
Question: Which configuration file store MDS configurations?
Answer: The adf-config.xml file is a configuration file that is used to store MDS Configurations.

Question: What type of WSDL file we usually keep in MDS?


Answer: We usually keep Abstract WSDL’s only in MDS.

Question: By how many ways we can handle error/fault in BPEL?


Answer: By using Catch blocks & Fault handling framework.

Question: Can we use both Catch block & fault handling framework in one BPEL?
Answer: Yes, we can have both Catch Block & Fault policies files in one BPEL.

Question: Standard Faults in Mediator?

Answer: Mediator has only one standard fault.

{http://schemas.oracle.com/mediator/faults}mediatorFault.

Question: How to get Fault Trace in CatchAll block?

Answer: By using getFaultAsString() function.

Question: Can we have custom faults in BPEL?

Answer: Yes we can create custom faults in BPEL, these faults are usually called Business Faults and we
usually handle it by using specific Catch block.

 Question: Can we re throw a fault from Catch blocks?


Answer: Yes, we can re-throw fault from Catch block.

Question: Where we keep fault-policies.xml & fault-binding.xml files?


Answer: We can keep these files either local to project or in MDS and in both the cases we have to specify
the path in composite.xml file.

Question: What is OWSM?


 Answer:  OWSM stands for Oracle Web Service Manager. Oracle Web Services Manager offers a
comprehensive and easy-to-use solution for policy management and security of service infrastructure. It
is a standalone platform for securing and managing access to web services.

Question:  How do we call secured web service from SOA?


Answer: By using OWSM policies.

Question: Can we generate custom OWSM policies?


Answer: Yes, we can create custom OWSM policies.
Question:  By how many ways we can add OWSM policy to Web Service?
Answer:
·         Through policy annotations at design time

·         Via the Administration Console at runtime

·         Via Fusion Middleware Control or WLST

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: Can we use OWSM with Oracle Service Bus?


Answer: Yes, we can access OWSM policies from OSB.

Question: Can we attach OWSM policy to multiple composites to secure composites?


Answer: yes, we can apply one policy to all composites in one domain using policy sets.

Question: What is “Minimum Age” in File adapter?


Answer: This parameter specifies the minimum age of files to be retrieved. This enables a large file to be
completely copied into the input directory before it is retrieved for processing. 

Question: What is trigger file in File adapter?


Answer: When we choose “Trigger File” checkbox, file adapter will not poll/read the file/files
from specified directory unless it sees trigger file in trigger file directory. Once trigger files is
there in the trigger file directory, file adapter will start polling the files.
Question: What is Logical path in File adapter?
Answer: This parameter specifies the logical input directory to be polled. The parameter is of type
String. We provide value of logical path in composite.xml file.
Question: How to handle errors when we unable to read/poll a file using file adapter if that file
is corrupt?
Answer: We need to use File rejection handler to catch these types of error.
Question: What is Sync-Read in file adapter?
Answer: When we want to read a file in between our BPEL flow then we use this option.
Question: Can we read remote files using file adapter?
Answer: To read file from remote location we need to use FTP adapter
Question: What is native format?
Answer: when we want to read the file as it, means we don’t want to transform file content to
XML format then we use native format option
Question: What is idempotent activity?

Answer: An idempotent activity is an activity that can be retried.


This property has the following values:
         False: Activity is dehydrated immediately after execution and recorded in the dehydration
store. When idempotent is set to False, it provides better failover protection, but may impact
performance if the BPEL process accesses the dehydration store frequently.

         True (default): If Oracle BPEL Server fails; it performs the activity again after restarting.
This is because the server does not dehydrate immediately after the invoke and no record
exists that the activity executed. Some examples of where this property can be set to True
are: read-only services (for example, CreditRatingService) or local EJB/WSIF invocations
that share the instance's transaction.
Question: What is nonBlockingInvoke property?

Answer: This property is used when we use Flow or Flow N in BPEL. By default, Oracle
BPEL Process Manager executes in a single thread by executing the branches sequentially
instead of in parallel. When this property is set to True, the process manager creates a new
thread to perform each branch's invoke activity in parallel. This property is applicable to
both durable and transient processes.

Question: Which property we have to use to process JMS, AQ or MQ messages on one


node in cluster environment.

Answer: we use singleton property in composite.xml file.


<property name="singleton" type="xs:boolean" many="false"
override="may">true</property>

You might also like