Posts

webMethods Interview Questions on Try-Catch

Hello Readers, Welcome back to my blog. Happy Reading :-) Below are the set of most asked Interview Questions on webMethods Try- Catch Scenarios. 1. How to implement Try-Catch in webmethods. 2. Name the service or first flow step that need to be invoked under catch. 3.In which package you will find getLastError service. 4. What will happen if you donot invoke getLastError as the first flow step inside catch 5. How will you implement finally block in webmethods 6. If any error occurs in catch block what happens 7. Tell me the Business scenarios where you will apply finally block 8. Let's Consider a Scenario; SEQUENCE on failure   SEQUENCE  on done        Map step         exit with signal success   SEQUENCE on done       Hardcode something in map step What happens in this above case 9. Let's consider a scenario; SEQUENCE  on failure    SEQUENCE  on failure        Map step exit with signal success    SEQUENCE  on failure      Hardcode something in m

Applying Conditions in webmethods using BRANCH

Let's see the syntax of how to write conditions in webmethods using BRANCH. 1. Check if First name is Bob and last name is Steves There are two variables here in the pipeline, firstname and lastname. So the condition should be; %firstname%=='Bob' && %lastname%=='Steves' Note: Remember we can keep the values in single or double quotes. Both will work. %firstname%=="Bob" &&%lastname%=="Steves" Similarly OR condition Check if age is less than 30 or greater then 60 There is only one variable here in the pipeline that is age %age%<30 || %age%>60 If you like this post/article, please do share your feedback in the comments section below. Thanks!!

What is webmethods Flow Elements and webMethods flow language

In this article let's understand what do you mean by flow elements, Flow Language and why it is used. Each programming languages has its own name to differentiate one language from  another, given by the developers. It has its own story why the name is called so. May that be Java, PHP, C, C++ many more. But when some one asks you what's the language you use for webMethods, what's your answer??. If you are a webmethods developer you can easily guess it ;-). If not don't worry here is the answer for you. That's called webMethods Flow language. Because using webMethods inbuilt flow elements developers write the programs and hence its called webMethods Flow language. Basic webmethods flow elements are : 1. MAP 2. LOOP 3. BRANCH 4. REPEAT 5. SEQUENCE 6. INVOKE 7. EXIT

What is BRANCH Flow Step in webMethods

BRANCH Here is the basic definition; BRANCH flow step conditionally executes an operation based on the value of a variable at run time. Simply means if you want to apply any condition please use BRANCH step ;-). In other words it's used as If - Else/Switch clause in webmethods. Let's see the properties of BRANCH flow step;  1.  Evaluate Label If you want to use  BRANCH  as if -else then set the  Evaluate label  property as  true. If the  Evaluate label  property is set as  false  then it will act as  Switch  clause. 2. Label 3.  Switch This property is used only when  Evaluate label   property is set to  false  i.e, in Switch case.  You need to mention the name of the variable in this property on which you wants to apply condition. Let's see the practical implementation; If-else Implementation ; 1. Take a BRANCH step and set Evaluate label to true. 2. Take a SEQUENCE/MAP flow step as the child step of BRANCH and in the label property apply the condition. Switch Implementati

What is Designer

Designer is an Eclipse based tool that helps the webmethods Developer to write the simple or complex flow services to make the data flow between two applications.