Oracle SOA Suite 11g Interview Questions - Part 2

Here are few more interview questions 

What is a web service? 
A web service is any piece of software that makes itself available over the internet and uses a standardized XML messaging system. XML is used to encode all communications to a web service. For example, a client invokes a web service by sending an XML message, then waits for a corresponding XML response. As all communication is in XML, web services are not tied to any one operating system or programming language--Java can talk with Perl; Windows applications can talk with Unix applications.
Any Web Service that:
  • Is available over the Internet or private (intranet) networks
  • Uses a standardized XML messaging system
  • Is not tied to any one operating system or programming language
  • Is self-describing via a common XML grammar
  • Is discoverable via a simple find mechanism

What is Difference between mediator and OSB?

What is a soap message?
A SOAP message is an ordinary XML document containing the following elements −
  • Envelope − Defines the start and the end of the message. It is a mandatory element.
  • Header − Contains any optional attributes of the message used in processing the message, either at an intermediary point or at the ultimate end-point. It is an optional element.
  • Body − Contains the XML data comprising the message being sent. It is a mandatory element.
  • Fault − An optional Fault element that provides information about errors that occur while processing the message.
All these elements are declared in the default namespace for the SOAP envelope − http://www.w3.org/2001/12/soap-envelope and the default namespace for SOAP encoding and data types is − http://www.w3.org/2001/12/soap-encoding
Let’s suppose,I have pushed one message in to Queue and before consuming it my server went down, so what will you do, to not loose the data?

What is debatching in case of file adapter?

What is Polling? How many ways we can do polling with DB Adapter? 

What are the components that are there in 11g not present in 10g 

Difference between DMV and XREF 
Domain-Value Maps enable mapping of vocabulary in one domain to another, which is useful when different domains represent the same data in different ways.
Applications that you want to integrate often use different vocabulary to represent the same information. For example, one domain might represent a city with a long name (Boston), whereas another domain may represent a city with a short name (BO).
In such cases, you can use a Domain-Value Map to directly map values between multiple domains. A direct mapping of values between two or more domains is also known as Point-to-Point mapping.
Each Domain-Value Map typically holds a specific category of mappings among multiple applications. For example, one Domain-Value Map might hold mappings for city codes and another might hold mappings for state codes ... Continue reading....
If I have huge size file(some gbs) how to process? 

What is XSLT 2.0? 

What is the conecpt of For-each group in transformation? 

What is MDS? How do you update MDS? Can we update through jdev 

Do you have knowledge on Jms concepts? What is the difference between Queue and Topic 
In queues, one message can be consumed by only one client. But in the topics, one message can be consumed by many clients. Both are separate domains in MOM.

Queue represent Point-To-Point domain and Topic represent Pub/Sub domain 

A point-to-point (PTP) product or application is built around the concept of message queues, senders, and receivers. Each message is addressed to a specific queue, and receiving clients extract messages from the queue(s) established to hold their messages. Queues retain all messages sent to them until the messages are consumed or until the messages expire. 

In a publish/subscribe (pub/sub) product or application, clients address messages to a topic. Publishers and subscribers are generally anonymous and may dynamically publish or subscribe to the content hierarchy. The system takes care of distributing the messages arriving from a topic's multiple publishers to its multiple subscribers. Topics retain messages only as long as it takes to distribute them to current subscribers.
Can we configure 2 applications listening to same queue with same configuration? If so what decides which one will pick the message 

What is durable process? 
Durable processes are typically long-living and initiated through a one-way invocation. Because of out-of-memory and system downtime issues, durable processes cannot be memory-optimized.
Durable processes incur one or more dehydration points in the database during execution. Continue reading.....
Which are the activities for dehydration? What are they called 

Does Synchronous process dehydrate? 

While a process which reads a large size file is running, server crashes. When it starts again from where will the execution be?

Difference between EBO and EBM? 

How to customized EBO’s? 

How do you access file placed in mds? 

What is WSDL? Explain its components? 

What kind of WSDL do you place in MDS abstract/concrete? Why do you place abstract? 

Can we have a Webservice without WSDL? 

How to invoke Restful services? 

Can we have more than one port type? If so which case 

If a WSDL has multiple operations, what decides which operation to choose? 

What is file min age in file adapter? 

What is fault policy? 

If a db adapter has a retry of 5 and there is a fault policy associated which has a retry of 4, which one will get executed? 

What is Concept of mediator? What is message sequencing? 

Concepts of human task and business rules? 

What are correlation sets? And how to implement it? 

How to create schema for a file csv separated by special character ( special characters not on the keyboard)? 

How do you create the AIA interfaces? Do you follow the standards? Do you know about workbench? 

Assume a situation with multiple nodes in the server, all the nodes have an instance of file picking process. Now when the file is placed all the instance which are polling will try to pick the file. How do you ensure that the file is picked only by one of the node? 

In the transformation activity can we have multiple schemas(target)? 

What is difference between JMS,MQ and AQ Queues? 

What are the type of wsdl? 
Rpc and Document Literal type wsdl.

How to secure your composite or web-service? 

What is Two phase and one phase commit? 
The 2 phase commit protocol referred to as XA(eXtended Architecture)provides ACID-like properties for global transaction processing.
2 phase commit protocol is an atomic commitment protocol for distributed systems. This protocol as its name implies consists of two phases. The first one is commit-request phase in which transaction manager coordinates all of the transaction resources to commit or abort. In the commit-phase, transaction manager decides to finalize operation by committing or aborting according to the votes of the each transaction resource.
XA transactions need a global transaction id and local transaction id(xid) for each XA resource. Each XA Resource is enlisted to XA Manager by start(xid) method. This method tells that XA Resource is being involved in the transaction(be ready for operations). After that, the first phase of the 2PC protocol is realized by calling prepare(xid) method. This method requests OK or ABORT vote from XA Resource. After receiving vote from each of XA Resource, XA Manager decides to execute a commit(xid) operation if all XA Resources send OK or decides to execute a rollback(xid) if an XA Resource sends ABORT. Finally, the end(xid) method is called for each of XA Resource telling that the transaction is completed.
What is XA and NON-XA datasources? 

Concepts of Transactions?(async.persist,async.cache,sync)? 

What is Target and Default Namespace in any schema? 

How to validate an Input Message? 

What is Dehydration State? 

What is data source rollback?(XA or NON-XA) 

What is Persistence Store? Which one is default persistence store? 

How to invoke Custom Fault? 

How to ensure guaranteed delivery of messages? 

What is Connection Factory and Connection pool? 

If a Sync service called an Async Service, will it wait for the response from Async Service? 

No it will not wait. port concept.

How to validate an Input Message? What is the difference between verification and validation? 

What is dehydration?

What is Database or datasource Rollback?

What is JNDI ? What is the use of this? How to configure it? 

The Java Naming and Directory InterfaceTM (JNDI) is an application programming interface (API) that provides naming and directory functionality to applications written using the JavaTM programming language. It is defined to be independent of any specific directory service implementation. 

Usage: 

With this API, you can access many types of data, like objects, devices, files of naming and directory services, eg. it is used by EJB to find remote objects. JNDI is designed to provide a common interface to access existing services like DNS, NDS, LDAP, CORBA and RMI.

The most common use case is to set up a database connection pool on a Java EE application server. Any application that's deployed on that server can gain access to the connections they need using the JNDI name "java:comp/env/FooBarPool" without having to know the details about the connection.

This has several advantages:

  • If you have a deployment sequence where apps move from devl->int->test->prod environments, you can use the same JNDI name in each environment and hide the actual database being used. Applications don't have to change as they migrate between environments. You can minimize the number of folks who need to know the credentials for accessing a production database. Only the Java EE app server needs to know if you use JNDI.
  • One very simple advantage is that it acts as a placeholder for your connection details. When the composite is deployed to the WLS server, this JNDI (the same name is specified in the composite) is used to point to the correct DB, FTP etc from WLS. You can change it directly in the WLS without needing to modify the code and hence additionally this provides a centralized way of managing the resources.


JNDI Name: The JNDI name to use for the JMS connection. This is probably the most common source of error. This is the JNDI name of the JMS adapter’s connection pool created in the WebLogic Server and which points to the connection factory. JDeveloper does not verify the value entered here. If you enter a wrong value, the JMS adapter won’t find the queue and you will get an error message at RUNTIME, which is very difficult to trace.

If in a DB adapter you are giving wrong JNDI name so it will be error out compile time or run time? 

Ans: Run time 

If a consumer is consuming a meesage and want to write in a file. Before writing some error happen? What will happen to that message? 

What is difference Between File and FTP adapter?
File adapter is basically used to read,write files locally on your server. And FTP adapter is basically used to read and write files from any network.

How to start a BPEL Process when email received? 

When to use Opaque schema? 

No comments:

Post a Comment