What is an on-error action in XI52?

1 Answer

Answer :

An on-error action defines a named rule that enables user-defined error handling when
subsequent processing encounters errors. This topic instructs how to define an on-error
action.
 The on-error action either stops processing or continues to the next processing step.
Optionally, the action calls the named rule to handle the error condition. Without an on-error
action, the default error handling is to stop processing and log a message.
 A processing rule can contain one or more on-error actions. Each action defines error
handling for subsequent actions until another on-error action is found. When another action is
found, error-handling procedures are set to the new on-error action. As such, this action
enables conditional error handling in a processing context.
 Note: A processing policy can contain on-error actions and an error rule. When a
processing policy contains both on-error actions and an error rule, the on-error action overrides
the error rule. An error rule, if the processing policy contains one, is invoked when an error
occurs during processing. In this case, the error rule acts as an error handler.

Related questions

Description : How do you handle Error scenarios?

Last Answer : We create an error rule in which we use a generic XSLT, which creates a fault message by reading the Service variables env:Client

Description : How to integrate MQ with Datapower?

Last Answer : http://www.ibm.com/developerworks/websphere/library/techarticles/1410_sahoo/1410_sahoo.html

Description : How to take secure backup?

Last Answer :  To securely back up the appliance configuration from the WebGUI:  Click Administration => Main => System Control.  Locate the Secure Backup section.  From the Crypto certificate list, select the ... of the target directory for the backup files.  Click Secure Backup to back up the appliance.

Description : What are the different modes through which you can connect to Datapower?

Last Answer :  GUI  CLI  XML-Management Interface

Description : What is an Application Domain?

Last Answer : An application domain allows the administrators to partition an appliance into multiple logical configurations. For example the developers and production employees environment is different

Description : Explain about your Roles and Responsibilities?

Last Answer :  Gathering the requirements from Client  Preparing the Design Document  Presenting the Design document to Client for approval  Configuring the service in Development environment  Testing and Troubleshooting of DP Services  Migrating the services from Dev to test and to production environment

Description : How do you migrate your services from one environment to another or how do you deploy your services from one environment to another?

Last Answer : We have a support team who takes care of Service deployments. We take an export of the service which needs to be deployed and keep it in a secured server by doing FTP. Our support ... server and does the deployment We can also use Export and Import configuration along with the Deployment Policy

Description : What is the advantage of Datapower over Message Broker?

Last Answer : Message Broker Datapower Integrating and leveraging the WebSphere MQ messaging infrastructure. Similar to Message Broker, DataPower can do any-to-any transformation (in theory, Yes. But in practice, you ... from any-to-any. Offers z/OS clients platform-specific benefits (CICS, VSAM).

Description : Have you worked on Datapower Extension functions? If so, can you please name some of them

Last Answer : Yes. Whenever we need to use DP EXTN Functions, we always need to declare the below namespace. xmlns:dp=http://www.datapower.com/extensions extension-element-prefixes="dp" dp:set-variable: ... field does not exist, this extension function adds the specified name and value to the client request.

Description : What is a Passthrough Service?

Last Answer : assthrough is basically accepting and sending a request to the backend without modifying it in Datapower

Description : What are the Datapower Variables?

Last Answer : Local - var://local/userdefinedname A local context variable in the default (current) context. The local context does not persist beyond the scope of the transaction. A transaction can include both ... a variable that is made available to a DataPower service that is attached to a session.

Description : Difference between Copy and Copy-of?

Last Answer : The element creates a copy of the current node. Note: Namespace nodes of the current node are automatically copied as well, but child nodes and attributes of the current node are not ... : Namespace nodes, child nodes, and attributes of the current node are automatically copied as well!

Description : Difference between Apply-template and Call-template?

Last Answer : The element applies a template to the current element or to the current element's child nodes. If we add a select attribute to the element it will process only the child element that ... a normal function call. You execute exactly one (named) template, usually with one or more parameters.

Description : What is xsl:param ?

Last Answer : The element is used to declare a local or global parameter. The parameter is global if it's declared as a top-level element, and local if it's declared within a template.

Description : Have you worked on XSLT Coding? If so, rate yourself in the scale of 1-10

Last Answer : Yes. I would rate myself as 6-7

Description : . How do you Implement Dynamic Routing in Datapower?

Last Answer : In case of a dynamic backend, we update all the backend URL’s in an xml file and we use a generic XSLT which will read the URL from the xml file based on certain customized conditions and we set the routing variable var://service/routing-url in the XSLT.

Description : What kind of troubleshooting have you done in datapower?

Last Answer : We use probe to capture the ongoing transactions with respect to a service.  We can also set the log level to debug mode in Troubleshooting Panel.We can make use of Log targets and Log ... Appliance itself under logstore or logtemp directory  We can also save the logs in an external server.

Description : How do you test your Datapower Services?

Last Answer : We can use SOAPUI to test the Datapower Services

Description : 8. When can we use User Agent?

Last Answer : A user agent is a client that initiates a request for a local service to establish a connection to a remote server.

Description : 7. What is an XML Manager and why do we need it?

Last Answer : An XML Manager provides the following capabilities  Basic network configuration, such as load balancing and accessing remote servers.  It acts as an XML parser in order to provide XML Threat Protection  It helps in implementing Caching  To configure the User Agent

Description : 6. What are the Security features that you have enabled in Datapower?

Last Answer : SSL Proxy Profile or Transport Layer Security  Forward  Reverse  Two-way  When DataPower Acts as Server Create SSL proxy profile by following the steps shown below , it can be referred ... Header  We extract the Header and verify the same in the AAAinfo.xml file for Authentication purpose

Description : 5. What is SLM and options available with that?

Last Answer : SLM has mainly 3 statements  Throttle  Notify  Shape

Description : 4. What actions have you used in the processing policy?

Last Answer :  AAA  SLM  Match  Transform  Result  Sign  Verify  Encrypt  Decrypt

Description : 3. What are the components of a WSDL?

Last Answer :  WSDL Definitions  WSDL Types  WSDL Message  WSDP Port and Operation  WSDL Binding

Description : 2. Difference between WSP and MPGW?

Last Answer : WSP Web Service Proxy is a powerful service in DataPower which provides abstraction and security to the backend web services .It provide access to variety of web services. WSP has many important ... to manually configure a match action and Processing policy  We have a loopback mode in MPGW

Description : 1. What are the different services that have you used in Datapower?

Last Answer : WebService Proxy, Multiprotocol gateway and XML Firewall

Description : If coils 'R1-R2-R3' at the receiver of figure 'B' shown in the illustration were in 180 degree error with those of the transmitter, what corrective action should be taken? EL-0092 A. Reverse the 60 Hz ... is proper operation. C. Interchange leads 'R1' and 'R3'. D. Interchange leads 'R2' and 'R3'.

Last Answer : Answer: A

Description : If coil 'R1-R2' at the receiver of figure 'A' shown in the illustration were in 180 degree error with respect to that of the transmitter, what corrective action should be taken? EL-0092 A. No action is ... and 'R2'. C. Interchange connections 'S1' and 'S2'. D. Interchange connections 'S1' and 'S3'.

Last Answer : Answer: B

Description : Trial-Error Learning in men and animals differ chiefly in that man places greater dependence upon Options: A) Overt activity B) Rapid and energetic action C) Symbolic manipulation D) The uniqueness of each problem

Last Answer : C) Symbolic manipulation

Description : Which one of the following is not a definition of error ? (A) It refers to the discrepancy between a computed, observed or measured value and the true, specified or theoretically correct value. (B) It ... to fail. (D) It refers to human action that results in software containing a defect or fault. 

Last Answer : The input, or clock pulse.