Webmethods Integration: Webmethods Questions and Answers
Webmethods Integration: Webmethods Questions and Answers
webMethods Integration
Tuesday, 1 November 2016 About Me
Balaji Gurram
webMethods Questions and Answers Follow 24
webMethods Designer
webMethods Designer:
webMethods designer is a client tool where developers can built and test the code. Before start
writing the code, Make sure that designer is connected to integration server and you are in
'service development' perspective as highlighted with underline in below screen.
http://webmethodsintegration.blogspot.com/ 1/6
6/14/2018 webMethods Integration
1. Navigation Panel: After connecting to Integration Server, all packages will be loaded into this
panel. You can navigate to existing packages, folders and elements like flow services, documents
and triggers. You can also start creating the same mentioned above.
2. Edit Panel: Developers can start building the flow services using flow steps and other built-in
services in this edit panel.
Flow Service: it is building blocks of flow steps and/or other elements used to
achieve a functionality.
Flow Steps: Flow steps are like control structures in java or C language. Ex:-
Map, Branch, Loop, Repeat, Sequence, Exit, Invoke.
3. Properties Panel: This panel is used to set the properties of the elements so that the elements
can exhibit different behaviors.
4. Pipeline & Result Panel: This is the area where pipeline for the elements in edit panel is visible.
Actually a pipeline consists of "pipelineIn" with set of input variables and "pipelineOut" with set of
output variables. A pipeline is an IData object where it allows objects(variables) to manipulate.
To build a service using webMethods flow language you must know about Flow steps. Flow steps
are building blocks of a flow service. Each flow step behaves differently based on the changes of
its properties. Let me tell you about flow steps along with its properties.
1. Sequence: This flow step is used to execute a set of child flow steps in a sequential manner.
Basically, Error handling mechanism is achieved using sequence flow step only.
http://webmethodsintegration.blogspot.com/ 2/6
6/14/2018 webMethods Integration
Above picture shows how to use sequence for constructing a flow service. This structure is
common for any top level service.
How to do:
1. Click on flow steps folder from the 'Palette' at right side of the edit panel.
2. Click on 'SEQUENCE' flow step, drag and drop in edit panel.
3. Similarly drag and drop 2 more sequence steps.
4. Select 2nd and 3rd flow steps and move inside to 1st flow step.
5. Click on 1st flow step and add comments (--Main--) and set Exit on property to
SUCCESS.
6. Click on 1st child sequence and add comments (--Try--) and set Exit on property to
FAILURE.
7. Click on 2nd child sequence and add comments (--Catch--) and set Exit on property to
DONE.
8. Similarly drop map steps inside the try block & other built in services from wmpublic
package to catch block.
How it works:
webMethods Broker
Broker: webMethods Broker component is a messaging backbone in integration where
messages or documents can be exchanged between integration servers or with in an integration
server. This component facilitates asynchronous message based integration using publish &
subscribe model.
Basic function of the broker is to store the documents that are published by the integration server
and keeps in its local memory to get subscribed by elements on same integration server or
different integration server(s).
If I write step by step then,
Step 1: IS publishes the documents to the Broker
Step 2: Broker stores the documents
Step 3: IS subscribes documents from broker & processes documents.
Let me explore these 3 steps more in detail using publish & subscribe model.
This model is used to publish the documents to the broker from one integration server & these
documents get subscribed by one or more integration servers.
Publishing documents to broker can be happened in following two ways.
1. Publish documents when broker is available
2. Publish documents when broker is not available
http://webmethodsintegration.blogspot.com/ 3/6
6/14/2018 webMethods Integration
Before publishing documents to the broker, make sure that the document is publishable type.
This can be done using properties of the document(Select publishable type to 'True').
Before publishing documents to the broker, make sure that the document is publishable type.
This can be done using properties of the document(Select publishable type to 'True').
Integration server is the core component of webMethods integration where all the programs or
services hosted as packages. To define simply, IS is the component which receives requests,
process and gives result back.
http://webmethodsintegration.blogspot.com/ 4/6
6/14/2018 webMethods Integration
Integration:
Integration can be achieved at different levels like Data level or application level. Data level
integration is the one where the data can be transformed into different formats which is called
Data Transformation. Application level integration is the one where different applications can
transfer the data so that different applications can communicate each other.
Business to Business (B2B): Integration between the applications of business partners. For
example, a business might have its partners and may use different applications for processing
orders. These applications can be integrated and hence it is called as B2B integration.
webMethods Products:
A waste variety of products are available to achieve integration and all are commercial. You can
still download a trial version of latest product with limited features only. Few of the popular
products are listed down below.
http://webmethodsintegration.blogspot.com/ 5/6
6/14/2018 webMethods Integration
Home
http://webmethodsintegration.blogspot.com/ 6/6