1. What is WebMethods?
A company that
provides integration tools. The key products include Integration Server,
Enterprise Server, Business Integrator, Workflow and Mainframe Integration
Server. WebMethods is a company, not a product.
2. What are the
modules of WebMethods Product Suite?
Integration and B2B
Service Oriented
Architecture
Business Process
Management
Business Activity
Monitoring
3. What are the tools
of WebMethods Integration?
WebMethods Adapters
WebMethods Developer
WebMethods
Integration Server
WebMethods
Integration Platform
WebMethods Broker
WebMethods Monitor
WebMethods Optimize
for Infrastructure
WebMethods Trading
Networks
WebMethods EDI Module
WebMethods EDIINT
WebMethods estandards’
Modules
WebMethods PIM
4. What is EAI ?
EAI or Enterprise
Applications Integration can be defined as data that can be integrated from
disparate applications regardless of the platform, allowing the sharing of
business processes amongst multiple organizations.
5. What are the Major
categories of EAI?
Integration can be at
different application layers:
Data Level
Integration:
Batch data transfer,
OR On-line propagation of data updates
API Level
Integration:
Data is accessed
through published API services
Service Method Level
Integration:
Common services
shared by different applications
User Interface Level
Integration: The controller reacts to the user input. It creates and sets the
model.
Common user interface
(e.g. web based) for unified access to multiple applications.
6. What are the Advantages
of EAI?
Advantages of EAI
solutions are:
Streamlines business
processes and helps raise organizational efficiency.
Real time information
access among systems.
Maintains information integrity across multiple systems.
Speedier transactions
at reduced costs.
If one of the
applications misbehaves and requires to be shut down for maintenance, then with
EAI, we can easily “decouple” it from rest of the systems. Which avoids having
to bring down other systems?
7. What are the
disadvantages of EAI?
The main disadvantages
of using EAI systems:
Constant change: The
very nature of EAI is dynamic and requires dynamic project managers to manage
their implementation.
Lack of EAI experts:
EAI requires knowledge of many issues and technical aspects.
EAI is a tool
paradigm: EAI is not a tool, but rather a system and should be implemented as
such.
Building interfaces
is an art: Engineering the solution is not sufficient. Solutions need to be
negotiated with user departments to reach a common consensus on the final
outcome. A lack of consensus on interface designs leads to excessive effort to
map between various systems data requirements.
Loss of detail:
Information that seemed unimportant at an earlier stage may become crucial
later.
Accountability: Since
so many departments have many conflicting requirements, there should be clear
accountability for the system's final structure.
8. What are the main
companies which provide EAI tools / software?
TIBCO
Web Methods
Vitria
iPlanet
MQSeries (IBM)
iPlanet
BizTalk (Microsoft)
WebLogic (BEA)
9. What Is Developer?
WebMethods Developer
is a graphical development tool that you use to build, edit, and test
integration logic. It provides an integrated development environment in which
to develop the logic and supporting objects that carry out the work of an
integration solution. It also provides tools for testing and debugging the
solutions you create.
10. What Is an
Element?
An element is an item
that exists in the Navigation panel in web Methods Developer. Elements include
folders, services, Specifications, ARE document types, triggers, and ARE
schemas. In the Navigation panel, servers and packages are not considered to be
elements.
11. Explain what are indices in MAP flow step?
In MAP Step indices
Is when you have Array of data if you want to Map one of the element in Array
to the target Element then you Use the indices
12. What Is a Startup
Service?
A startup service is
one that Integration Server automatically executes when it loads a package into
memory.
13. What Is a Flow
Service?
A flow service is a
service that is written in the WebMethods flow language. This simple yet
powerful language lets you encapsulate a sequence of services within a single
service and manage the flow of data among them.
14. What Is the
Pipeline?
The pipeline is the
general term used to refer to the data structure in which input and output
values are maintained for a flow service. It allows services in the flow to
share data. The pipeline starts with the input to the flow service and collects
inputs and outputs from subsequent services in the flow. When a service in the
flow executes, it has access to all data in the pipeline at that point.
15. How to invoke a
service from a browser?
Use a URL in the
form:
http://servername:port/invoke/folder.subFolder.subsubFolder/serviceName
(The package name is
not part of the URL in any way)
16. What happens when
the pub.flow:tracePipeline service is invoked?
The Integration
Server logs the name-value pairs in the pipeline at that time
17. When creating a
BRANCH flow element, what is the purpose of the "scope" field on the
properties tab?
To restrict pipeline
access to only the data in this document
18. What is the
primary function of the built-in pub.flow:savePipeline service?
Save the current
pipeline to a named memory location on the Integration Server
19. When you create
and save the FLOW "my.pack:myFlow" in the "MyPack" package,
where will you find the code?
In the
"MyPack\ns\my\pack\myFlow\flow.xml" file
20. What is the
Branch operation?
Branch operation conditionally
executes an operation based on the value of a variable at run time
21. What is the
default behavior, if a Flow EXIT does not specify a "from"?
$loop will be
assumed, and a com.wm.lang.flow.FlowException will be thrown if the EXIT is not
in a LOOP
22. An Integration
Server package may have one or more startup services. When does a startup
service execute?
Whenever the package
is loaded or re-loaded
23. By default, the WebMethods
Integration Server has an HTTP listener assigned to which port?
5555
24. How can the WebMethods
Integration Server logging date format be changed?
By editing the
watt.server.dateStampFmt parameter in the server.cnf file
25. When coding IS
Services, how can a variable of type Document Type be represented in Java?
Variable of type
Document Type be represented as "IData”
26. For a REPEAT
operation to execute as long as the specified repeat condition remains true,
the count parameter needs to be set to:
The count parameter
needs to be set to "-1 " .
27. When creating
Flow services, what is the purpose of a SEQUENCE operation?
The purpose of
Sequence operation is to group a subset of Flow operations so that they are
treated as a unit.
28. If the WebMethods
Integration Server is started with from the server root directory with this
command, "bin\server.bat -debug 9 -log none", what does this tell the
server to do?
Start in level 9
debug mode and write all server log information to the screen.
29. The Integration
Server requires access to the Java classes for each JDBC driver that it will
use. Typically, where must such Java classes be placed?
WebMethods6\IntegrationServer\lib\jars
30. The Flow Services
are physically stored on the WebMethods Integration Server in the form of:
Flow Services are
physically stored on the WebMethods Integration Server as "XML"
files.
31. What is the
default behavior if a Flow EXIT does not specify a "from"?
The EXIT will throw
an java.lang.NullPointerException.
32. after a default
installation, in order to use the pub.file:getFile service, what needs to be
done?
pub.file: getFile
does not require any modifications to the Integration Server.
33. What happens when
the pub.flow:tracePipeline service is invoked?
The Integration
Server logs the name-value pairs in the pipeline at that time.
33. How to use
SEQUENCE as the Target of a BRANCH?
Set evaluate label
property of branch step to true. Then set the label property of sequence with
the value on which it needs to be processed.
34. How to Restore a
Session on a Server?
Developer gets
disconnected from the server if the server goes down or if there is a problem
in the network. Don’t close the developer. If you close the developer you won’t
be able to save the changes. Once the server come up or the network problem is
resolved. You will be automatically connected to the server and then you can restore
your session.
35. How to open a
session on a different server?
Select
"session" from the menu in toolbar and click open. key in the server
IP and port on which you have to open the connection. The user name and
password on that server.
36. How ACLs Affect
locking?
ACLS are used to give
the authorization to the particular user groups. If u give ACL to administrator
then the admin group users who are there in that group they can have the access
to that particular service. Otherwise we cannot use it. This is called ACL
locking.
37. How to Change the
Order of Steps in a Flow Service?
We can change the
Order of steps in a Flow Service of Various other services which are called in
sequence within Flow service using "Shift Up and Shift Down" buttons
exists at top of Editor Panel.
As well we can move
any service or Map inside a SEQUENCE or BRANCH using "Shift Left and Shift
Right" buttons
38. When and why
should we use transformers and flow services? How are they different from each
other?
Mapping is the
process of performing transformations to resolve data representation
differences between services or document formats. By linking variables to each
other on the Pipeline tab, you can accomplish name transformations and
structural transformations. However, to perform value transformations you must
execute some code or logic.
Developer provides
two ways for you to invoke services: You can insert INVOKE steps or you can
insert transformers onto the Pipeline tab. Transformers are the services you
use to accomplish value transformations on the Pipeline tab.
39. What are
Structural transformations?
Splitting one field
into several or merging fields, reordering portions of a message or renaming
fields are known as structural transformations
40. How to Move Flow
Steps?
Open the WebMethods
developer in Edit respective. Select the flow step u wane move just drag it to
the place u want to move. Otherwise use the arrow buttons on the editor panel
to move the selected flow steps.
41. How to remove a
system lock from an element?
System locks can be
removed by making the server side files of the element as red able. Right Click
on the element in developer which is system locked. and choose the lock
properties. It will display the server side files for the element. Make the
files as readable and click the refresh button in the developer. You will find
that the element is no more locked.
42. How to Find
Elements in the Navigation Panel?
Just right click on
the element which u want to see then u click Locate in navigation option then u
can see that element in the navigation panel
43. How to find
dependents of a selected element on the server?
Right click on the
element for which you have to find the dependents in the navigational pineland
click on the option find dependents.
44. How do I change
the JVM used by Integration Server?
To change to the JDK
used by WebMethods you will need to edit the Integration Server\bin\server.bat
or Integration Server/bin/server.sh file used to start up Integration Server.
Edit the file and
change the following line to point to the JDK path
SET
JAVA_DIR=C:\opt\j2sdk1.4.2
45. How do I debug
the Developer IDE itself?
Start the developer
up in debug mode, similar to the Integration server:
cd
pathToWMInstall/Developer/bin
developer.bat -debug
10
46. What is the
difference between drop and delete pipeline variable?
Drop pipeline is an
explicit cleanup. It is a request for the pipeline to remove a variable from
the available list of variables and make the object it refers to available for
garbage collection by the Java Virtual Machine.
Delete is purely a
design time operation to remove the variable from the current view. It is only
of use if you have created a variable that you didn't mean to create. If you
delete a variable that was there because it was previously in the pipeline when
you change the view in developer you will see the variable appear again.
47. How do I see the
java code for my flow service?
Flow is not turned
into java code. It resides on disk as XML representing the flow operations
which is then parsed and turned into an in-memory java tree of the operations.
Although the underlying code that implements the flow operations is java, it is
stored on disk as XML.
48. How do I throw an
exception when using a try-catch block?
Set a flag in your
catch block or leave a variable holding the error message in the pipeline.
Outside the catch
block put a branch on that variable or flag and if it is non-null then exit
with failure or call the service that generates the exception.
49. How to get the
current index of the List in a loop?
There is a special
variable on the pipeline called $iteration which will be incremented as the
loop operator works up through the list.
50. How to limit a
flow service executed only by one thread at a time?Create a java service
Create a private
static object on the shared source (private static Object LOCK_OBJ = new
Object(); )
Have the code below
on the java service source:
IDataCursor idc =
pipeline.getCursor();
IDataCursor idcResult
= null;
try {
// put this section
into a critical section to ensure single-threaded execution
synchronized(LOCK_OBJ)
{
Execute a flow service
using Service.doInvoke
}
idc.destroy();
idcResult.destroy();
} catch (Exception
exc){
ServerAPI.logError(exc);
idc.destroy();
Throw new
ServiceException(exc.toString());
}\\
51. How do I sort
using the JDBC select adapter service?
Although there is no
tab to specify "order by" the same functionality is able to be
specified in the "SELECT" tab. One of the columns in the is labelled
"Sort Order" which will allow you to specify the column(s) you wish
to sort by. To alter the order: simply alter the order of the columns selected.
52. How should I organize
connection pools?
If you have adapter
notifications and adapter services then you will need to have two separate
connections. Otherwise you may get strange errors about transactions and the
like. You should also avoid having connection pools shared across different
functional areas, even if they are pointing to the same database. The reason
for this is that tuning the size of the pool becomes quite difficult if you
have multiple types of usage of a pool. You are also unable to easily change
the database settings for one without impacting on the other. One approach that
seems to work quite well is to have separate pools for each package
(generally.. not a hard and fast rule though), as your packages should
generally be divided up according to functional area too.
53. How to preserve
existing pipeline before a restore Pipeline step?
Set the
"$merge" variable in restorePipeline or "merge" in
restorePipelineFromFile to be true. This will ensure that everything in the
pipeline before a restorePipeline step is preserved.
54. What is the
primary function of the built-in pub.flow: savePipeline service?
Save the current
pipeline to a named memory location on the Integration Server.
55. What is the
default behavior if a Flow EXIT does not specify a "from"?
$loop will be
assumed, and a com.wm.lang.flow.FlowException will be thrown if the EXIT is not
in a LOOP
56. An Integration
Server package may have one or more startup services. When does a startup
service execute?
Startup service will
execute whenever the package is loaded or re-loaded
57. What is the
primary purpose of a Web Service Connector?
The purpose of Web
Service Connector is to invoke a Web Service on a different web server Startup
service will execute whenever the package is loaded or re-loaded
58. The Developer was
used to create a Java Service named myService in a folder named myFolder in the
Default package. What is the best way to hide the source code of the Java
service?
Configure an Access
Control List which only allows members of authorized groups and assign it as
the Read ACL for the service
59. When using the
SEQUENCE Flow operation, if exit-on is set to SUCCESS, what condition will
cause the entire SEQUENCE to fail?
When all of the child
operations fail.
60. The Integration
Server requires access to the Java classes for each JDBC driver that it will
use. Typically, where must such Java classes be placed?
Java classes are be
placed in WebMethods6\IntegrationServer\lib\jars
61. The Package
Management interface of the WebMethods IS Administrator can be used to create
package dependencies. Package dependencies can be used to:?
Ensure that specific WebMethods
IS packages are loaded before the depending package loads
62. Explain about
PUB-SUB Architecture, where do you implement this?
1) Point_to_Point
Architecture
In this architecture source system will
publish the data and target system will receive the data
2) Point_to_Multiple
Architecture
In this source system will publish the data
to Broke, from Broker multiple target systems will subscribe
62. How to store Logs
in DB
watt.server.auditStore=database
63. When we use REPEAT,EXITflow steps?
REPEAT step is used
when we want a particular step to be repeated provided with some conditions.
EXIT step is used to
exit from any loop or from the whole flow step
64. How many
interfaces you implemented so far?
Tell 20 (or) 30 as per ur experience
65.what are client
groups?
Client groups
contains a list of clients and it configures ,which all document its
client could publish and subscribe
66. How to convert
document list to document? If document list contain documents and documents contain
string field. How to convert?
Directly invoke the
service
pub.document:documentListToDocument
to convert document
List into document
This service is the built
in services and its available in WMpublic package in developer
67 .How we can catch
exception error on run time mode using Flow language in WebMethods? Add how we
can send error description as an output parameter?
Sequence ---Succeeded
Sequence --- try block
Sequence --- catch Block
Invoke getLastError
service
68. How can you
delete Session Logs on IS?
Go to Installation
folder/IntegrationServer/logs/
There you will find logs in the name
WMSESSION_log (Delete this log files)
69. If i don’t want
to repeat then what i need to do?
Put exit step in repeat loop whenever you want
to exit from repeat
70. I have a loop A, under
which i have a child loop B, under which i have a Branch with few services with
a condition. if a condition is satisfied, then i need my branch to exit from
loop B, what should i do?
Place a Exit Step
inside the branch condition and se the property exit from toe Loop
No comments:
Post a Comment