Saturday, 31 January 2015

Tibco general interview questions answers (Part9)

41.What is the functionality of the Retrieve Resources resource?
It can be used to serve the wsdl file of a SOAP Event Source to a (http) client.
Construct a process like: HTTP Receiver -> Retrieve Resources -> Send HTTP Response
Now the WSDL file for a SOAP service can be retreived using the http request
where 'path' is the folder path to the SOAP Event Source process and 'resourceName' is the name of the process
Example : http://purch:8877/Purchasing/GetPurchaseOrder?wsdl

42.What is the scope of user defined process variables ?
The scope of user defined process variables is only the process in which it is defined.(Not even inside a sub process that is invoked from this process)

43.What is difference between shared variable and job shared variable ?
Both of them can be manipulated via the palette resources 'Get shared variable' and 'Set shared variable'.
A job shared variable is private to one instance of job or in other words each job has a fresh copy. In the case of shared variable the same copy is shared across all job instances. It can even be persisted and can survive BW engine restarts and even shared across multiple BW engines(when deployed using DB persistence).

44.How do wait-notify resources work ?
Basically wait and notify should share a common notification configuration which is just a schema definition for data that will be passed from notifier to waiter. Specific instances of waiter & notifier are corrrelated via a key.
For example: when one process is in wait state for key 'Order-1', it waits till another process issues a notification with the same key value.

45.What is the default Axis in XPath ?
Child axis- What this means is that when you select "BOOK" from the current context, it selects a child node with that name, not a sibling with that name. Other axes are parent , self , sibling etc.
More Questions & Answers :-
Part1  Part2  Part3  Part4  Part5  Part6  Part7  Part8  Part9  Part10

No comments:

Post a Comment