WM Faq
WM Faq
A.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.
Q.What are the main companies which provide EAI tools / software?
A.
1.TIBCO
2.webMethods
3.Vitria
4.iPlanet
5.MQSeries (IBM)
6.BizTalk (Microsoft)
7.WebLogic (BEA)
Q.What is webMethods?
A.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.
Q.What Is Developer?
A.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.
Q.What Is an Element?
A.An element is an item that exists in the Navigation panel in webMethods Developer.Elements include folders, services, specifications, IS document types,
triggers, and ISschemas. In the Navigation panel, servers and packages are not considered to be elements.
Q.When creating a BRANCH flow element, what is the purpose of the "scope" field on the properties tab?
A.To restrict pipeline access to only the data in this document
Q.When you create and save the FLOW "my.pack:myFlow" in the "MyPack" package, where will you find the code?
A.In the "MyPack\ns\my\pack\myFlow\flow.xml" file
Q.What is the default behavior, if a Flow EXIT does not specify a "from"?
A.$loop will be assumed, and a com.wm.lang.flow.FlowException will be thrown if the EXIT is not in a LOOP
Q.An Integration Server package may have one or more startup services. When does a startup service execute?
A.Whenever the package is loaded or re-loaded
Q.By default, the webMethods Integration Server has an HTTP listener assigned to which port?
A.5555
Q.How can the webMethods Integration Server logging date format be changed?
A.By editing the watt.server.dateStampFmt parameter in the server.cnf file
Q.When coding IS Services, how can a variable of type Document Type be represented in Java?
A.Variable of type Document Type be represented as "IData " .For a REPEAT operation to execute as long as the specified repeat condition remains true, the
count parameter needs to be set to: AThe count parameter needs to be set to "-1 " .
Q.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?
A.Start in level 9 debug mode and write all server log information to the screen.
Q.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?
A.webMethods6\IntegrationServer\lib\jars
Q.The Flow Services are physically stored on the webMethods Integration Server in the form of?
A.Flow Services are physically stored on the webMethods Integration Server as "XML" files.
Q.What is the default behavior if a Flow EXIT does not specify a "from"?
A.The EXIT will throw an java.lang.NullPointerException.
Q.After a default installation, in order to use the pub.file:getFile service, what needs to be done?
A.pub.file:getFile does not require any modifications to the Integration Server.
synchronized(LOCK_OBJ)
{
Execute a flow service using Service.doInvoke
}
idc.destroy();
idcResult.destroy();
Q.What is the default behavior if a Flow EXIT does not specify a "from"?
A.$loop will be assumed, and a com.wm.lang.flow.FlowException will be thrown if the EXIT is not in a LOOP
Q.An Integration Server package may have one or more startup services. When does a startup service execute?
A.Startup service will execute whenever the package is loaded or re-loaded
Q.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?
A.Configure an Access Control List which only allows members of authorized groups and assign it as the Read ACL for the service
Q.When using the SEQUENCE Flow operation, if exit-on is set to SUCCESS, what condition will cause the entire SEQUENCE to fail?
A.When all of the child operations fail .
Q.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?
A.Java classes are be placed in webMethods6\IntegrationServer\lib\jars
Q.TThe Package Management interface of the webMethods IS Administrator can be used to create package dependencies. Package dependencies can be used
to:?
A.Ensure that specific webMethods IS packages are loaded before the depending package loads.
1) Point-to-point Architecture
2) Point-to-Multiple Architecture
1) Point-to-point Architecture
2) Point-to-Multiple Architecture
Publisher publishes a document broker then the subscriber receive the document
from broker.you should make document as publishable at publisher side.
Subscriber should subscribe to that particular document by creating a trigger.
The trigger monitors that document. If a subscribed document got published
then trigger invokes a service which associates with trigger to handle the
document.
When and why should we use transformers and flow services? How are they different from each other?
Services that you insert using the INVOKE step might also
perform value transformations. However, only transformers
can accomplish multiple value transformations in a single
flow step.
Killing some time teaching a webMethods course this week (a java based, pseudo J2EE type integration platform) in Visakhapatnam, just thought I'd put up a
crash course in getting started in webMethods..
Installation
The installation process always requires a bit of hand holding the first time I think (if users are unfamiliar with the terms: Integration server, modeller, adapters etc).
Quite often I've taught webMethods courses where they know nothing about coding (or are VB coders or something). The installer can download the components
(do this the first time and leave it over night and "create an image" which you will then use as the basis for any later installs). Failing the network download of the
half gig, get webMethods to mail you a CD.
There are three main components to get started with:
Integration Server - the processing engine, similar to the EJB container except the code you write in it is known as a service.
Developer - the IDE for writing services on the Integration server. (For more info just check the "What is developer" post.)
Broker Server - the message passing system allowing pub-sub of documents (you don't actually write code on this.. it just does pub-sub)
Other things like modeler and workflow you can play with later, but for now those are the three things to keep in mind. As with all things java/J2EE and server like,
I'd recommend installing under a shorter path than c:\program files\webmethods6, try c:\webmethods6 instead. You can hold off setting up the database stuff until
later, as it's not really necessary until you start playing with auditing and trading networks.
webMethods Terminology
Some other terminology that will need to be understood:
A Service is the unit of functionality that the Integration server understands. Can be written in flow or java code (also c\c++ and VB, although I've never witnessed
this, and JNI stuff should generally be avoided in a server's JVM). Akin to a method on a class (and in the case of java services, it actually IS a method on a class).
Flow is the graphical language developed by webmethods which is geared up towards peforming common integration tasks such as mapping, invoking other
services, looping, branching and so on. It is not stored as java, but rather is stored as XML and is interpreted, but froma development point of view is a bunch of
pretty icons.
The pipeline is the method the Integration Server uses to pass data between services. Can be thought of as a "dumping ground" for data, or a hashtable. Can
store nested data structures as well as Strings, String[] (known as StringLists), Object, Object[] (ObjectLists) etc
The Integration server uses a registry of all the known services called the namespace. The namespace is an internal lookup, holding a list of the full unique names
of all the services (consists of a list of folder.subfolder.subsubfolder:serviceName) Note the package name does not form part of the unique name for each service.
When you're talking about migration of code, the smallest movable software unit is a package. Can be thought of as a jar or some other non-namespace related
concept of bundling up related things
When you want to talk to another system, you typically use an Adapter, such as the JDBC adapter for easy talking to databases, the SAP adapter etc. Generally
allow for the operations of the other system to be invoked without writing any code, and configured via a GUI (in the developer). Support pooling and other JCA
type concerns (and are an extension of the JCA 1.0 api).
The Administrator is a web interface to the administration functionality of the integration server. Found on port 5555 of the server (by default), this is the
recommended way to shutdown or restart a running server.
Trading Networks is to be used as an entry point into your integration as it provides some useful document recognition, logging, resubmission, partner profile and
other assorted functionality. To be used rather than rolling your own partner delivery mechanism and to avoid hard coded urls, email addresses etc
and that's the quick and dirty list of webMethods terminology.
How do I start the damn thing??
After installation, find your way to the IntegrationServer/bin directory. Then: server.bat -debug 5 -log none will get you going with a useful debug level and the
server log redirected to console output.
Keep an eye out for the "initialisation completed in XYZ seconds" message, or just keep hitting http://localhost:5555 til it asks for a username and password
Pls write in for any suggestion I will post screenshots if u do want it leave ur e-mail id here.
What is a Developer.
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.
Navigation panel. You use the Navigation panel to select, lock, copy, move, delete, or rename
elements.
Recent Elements panel. You use the Recent Elements panel to quickly access elements you
have recently viewed.
Editor. You use the editor to examine and edit an element you opened from the Navigation or
Recent Elements panels.
Properties panel. You use the Properties panel to view and edit the properties for an item.
Results panel. You use the Results panel to view the result of a service’s execution, to view the
variables that a service adds to the pipeline, and to view the contents of those variables.
Introduction to webMethods
Lets start from the basic terms.
Integration: - Integration is the creation of links between previously separate computer systems,
applications, services or processes.
Business Integration: - The unification of one or more separate business (nonclinical) functions into a
single function.
Integration Technology allows divers systems, applications, and processes to share data and logic.
Types of Integrations: -
Business-to-Business Integration (B2B).
Enterprise Application Integration (EAI).
Run-Time Components: -
WebMethods Integration Server: -The Integration Server is the platform’s central run-time component. It
serves as the entry point for the systems and applications that you want to integrate and is the platform’s
primary engine for the execution of integration logic.
webMethods Broker: -
The Broker is a high-speed message router. It enables asynchronous, message based solutions that are
built on the publish-and-subscribe model. The publish-and-subscribe model is a specific type of message-
based solution in which messages (carrying documents) are exchanged anonymously through a message
broker. The role of the Broker is to route documents between information producers (publishers) and
information consumers (subscribers). In an integration solution, webMethods components such as the
Integration Server and the Workflow Server are both publishers and subscribers.
webMethods Adapters: -
Adapters run on the Integration server. They connect the back-end resources in your enterprise (for
example, an customer database, a Human Resources application, an inventory system) to the Integration
Platform.
webMethods Mainframe: -
The webMethods Mainframe component allows you to include processes on IBM-compatible mainframe
computers in an integration solution.
WebMethods Modeler: -
webMethods Modeler is a graphical tool you use to design and implement business processes. A
business process is a multi-step interaction (possibly long-running) among participating systems, people,
and trading partners. A business process can be fully automated (involve only interaction among
computer systems) or include varying degrees of human interaction (for example, review and approval
steps).
Modeler lets you describe the interactions and relationships of a sequence of activities in a process using
common process-modeling constructs.
When you generate an implementation of a process, Modeler connects to the participating servers (that
is, the Integration Servers and/or Workflow Servers that execute one or more steps in the process) and
generates run-time logic for each step.
webMethods 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.
WebMethods Administrator: -
webMethods Administrator allows you to configure and administer all the webMethods servers on your
platform with a single, browser-based interface. It functions as a portal to the administrative interfaces for
the webMethods servers on the platform (for example, the Integration Server, the webMethods Mainframe
component, and the Broker).
webMethods Monitor: -
webMethods Monitor is an administrative tool that you use to examine instances of business processes,
services, and documents that the integration platform is processing or has finished processing. Besides
viewing status information about your processes, services, and documents, you can also use Monitor to
perform control tasks such as suspending or resuming business processes or editing and resubmitting a
document.
2. Use Trading Networks Console to specify how Trading Networks will recognize the three different
styles of purchase orders that your trading partners will submit.
3. Use Trading Networks Console to create a processing rule for each purchase order style. Each
processing rule will specify:
* Any pre-processing steps (for example, signature verification and content validation) that are to be
performed on the purchase order.
* The service that will process the purchase order.
4. Use Developer to build the services that will process the purchase orders (that is, build the services
that the processing rules point to). For this solution, the services will convert an incoming purchase order
to a canonical order document and then publish the order document to the messaging facility.
5. Use Developer to create an adapter notification that monitors the order database and automatically
publishes an order confirmation document when a new order is placed.
6. Use Developer to build the services that will process the documents that this solution publishes. For
this solution, you would build services to do the following:
*Add an order to the order system and publish an order error if the order is not processed successfully.
* Update the production system when an order confirmation is published.
* Submit order confirmations and order errors to the Trading Networks component for distribution to
trading partners.
7. Use Developer to create triggers that will cause the appropriate service (created above) to execute
when an order, order confirmation, or order error document is published.