Web Methods Interview Questions

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 50

webMethods

1) What happens when dfault pacakage is deleted?


The Default package only has one interesting attribute, it contains the default page that is
displayed when you access IS from a browser without a packagename (ie.
http://hostname:5555). The default implementation in the Default package is to redirect to
http://hostname:5555/WmRoot, which contains the Administration interface.

If the Default package is deleted or disabled the only impact on IS should be for
http://hostname:5555 to not be found. You can still access the Administration pages via
the url http://hostname:5555/WmRoot. This redirection is there in order to allow for
customization of the IS UI.

There are a number of Administration and Development wizards that will use Default as
the default package name, so if you have added extra services or port defintions to your
Default package, then those will go away when the Default package is deleted or
disabled.

Read this. this serves as a imp difference between versions. There are 3 basic
environments offerred by
webMethods: Enterprise, B2B (recently renamed Integration Server, IS for short) and the
Mainframe Integration Server. IS is able to deal with XML directly. No adapter
needed.
Enterprise has an XML adapter. The native communication vehicle in Enterprise is an
event. It's a proprietary format that the broker exchanges with broker clients and
adapters. For an XML document to be processed by Enterprise, it must converted to an
event.
The XML adapter is what performs this conversion using configuration information you
provide.
Once the doc is in event form, it can be routed to any other broker client or adapter,
such as a database adapter that will take the contents of the event and write it to tables.

1. Components you are familiar in webMethods.


Ans: There are three types components in wM
Run-time: Integration Sever, Adapters, Broker, Mainframe, Trading Networks &
eStandard Console and Workflow
Design-time: Developer, Trading Network Console, Modeler and Workflow
Designer Administration components: Monitor, Manage, and Administrator.
2. What are the different flow steps and Difference between Branch & LOOP
flow step.
Ans: Invoke, Branch, Repeat, loop, Sequence, Map and Exit. BRANCH step allows
you to conditionally execute a step based on the value of a variable at run time.
LOOP step repeats a sequence of child steps once for each element in an array that
you specify. You may include any valid flow step within the body of a LOOP,
including additional LOOP steps.

3. What is difference between Mapping a variable and using a Transformer?


Ans: 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.

4. What tool do you use for Data translation in webMethods?


Ans: Developer

5. How do you deploy packages?


Ans: First create remote servers for the source and destination by using “Remote
Servers” under Settings in Admin page. Now click on Deployer under solutions in
Admin page. First create a project. After that create a “Deployment Set” and select
the package you want to Deploy. Now create a Built, DeployementMap (under this
select the target server), and Deployment Candidate. Then click on Deploy.

6. How do you store values when you run an interface?


Ans: By saving Pipeline

7. Different types of schemas?


Ans: Flat file and IS

8. What is an xml schema and why it is used? What is the difference between a
DTD and Schema?
Ans: For validating XML file. DTD has single data type called CTYPE. Schema has
different data types.

9. What workflow is used for?


Ans: It’s used to develop and deploy workflows.

10. What is trading networks? Define Trading Partners.


Ans: A trading network is a set of organizations that have agreed to exchange
business documents. Companies that an organization does business with is called
trading partners, for example, customers and suppliers.
11. How do you configure TN?
Ans: For this we need to configure Pool Alias Definitions under JDBC pools in
webMethods Admin page.
The Pool Alias are: DocumentHistory, ISCoreAudit, ProcessAudit, TN, xref.

12. Can we use wm.tn:receive service for sending documents to Trading


Networks?
Ans: Yes (processing Service)

13. How do you process EDI document in Trading Networks?


Ans: First select EDI under solutions in IS Admin page now you will get one more
EDI module page. Then select Install TN Document Types under Doc Exchange;
select the Standard, Version, and Transaction Type. Now go to processing Rule
Details in TN console and create process rule for that. In the processing rule select the
sender, receiver, document type under criteria tab, select delivery method under
Action tab. Now create flow service that are used to process the EDI Document.

14. How can we see the received documents in Trading Networks?


Ans: Go to Transaction Analysis and click on “Run Query”.

15. What is EDIINT?


Ans: You can use EDIINT to transport both EDI and non-EDI documents. The
webMethods
EDI Module (EDI Module) provides all transport-level processing out-of-the-box.

16. What is processing rule? How do we create and use Processing Rules in
Trading Networks?
Ans: Processing rules specify how you want webMethods Trading Networks to
process documents. Click on processing rule in trading network console. Now click
on criteria tab, select the sender, receiver and document type. After that go to action
tab, select the delivery method to process the document.

17. What is the purpose of Default Processing Rule?


Ans: If the sending document type does not match to the selected process rule, then
the default process rule will execute while sending the document.

18. What is TPA & mandatory elements in TPA


Ans: A Trading Partner Agreement (TPA) is an optional set of parameters that you
can define and use to tailor how documents are exchanged between two trading
partners. These can be any two partners, not necessarily the hub and a spoke. Both
partners must have existing profiles in Trading Networks.
Each TPA must have a unique combination of the following:
Partner that represents the sender
Partner that represents the receiver
Type of TPA, represented by the “Agreement ID”
19. XML services: documentToXMLString, xmlStringToXMLNode,
xmlNodeToDocument, getXMLNodeType, queryXMLNode, loadXMLNode,
freeXMLNode, getNextXMLNode, getXMLNodeIterator

20. Structure about EDI? And how do u recognize an EDI document?


Ans: The EDI contains three envelopes those Interchange Group, Functional Group,
Transactional Group. By these segments you can identify the EDI document. We can
identify the transaction type by using Transaction Group envelope.

21. If multiple Transactions are there in EDI? How do u handle?

22. How to validate an Inbound EDI document?


Ans: by using envelopeProcess service.

23. How can we handle errors during EDI transaction?


Ans:

24. What are the inputs for wm.b2b.SEFParse service?


Ans: SEF file name, EDIDocName, Version, TargetSchema, TargetPackage,
TargetDictionary. It’s used to generate EDI schema.

25. Difference between SAX and JDOM

26. How a service can be searched using monitor?

27. How do we perform testing in webMethods?


Ans: You can test any type of service with Developer, eliminating the need to build
special clients simply for testing
From Developer. With this technique, Developer is the client. That is, Developer
invokes the service and receives the results. (Using validate)
From a browser. With this technique, Developer formulates the URL necessary to
invoke the service and passes that URL to your browser. Your browser actually
invokes the service and receives the results. When you develop services for browser
based clients (especially ones whose output will be formatted using output templates)
you will want to test those services at least once using this technique.

28. Error handling in webMethods


Ans: By using try, catch blocks in sequence flow step.

29. What is the service you write in error sequence?


Ans: WmPublic.pub.flow:getLastError

30. Will there be any change if you write a service before getLastError?
Ans: It will display the errors of that particular flow service, but it will not display the
errors that occurred in the try block.
31. What is unit testing and how do you do unit testing

32. If any errors are there in your flow service where do you write these errors?
Ans: In the Error Log

33. What is an Inbound and outbound document and how do you validate them.
Ans: The document, which is coming from trading partner to the webMethods
system, is called Inbound Document. The document, which is going to the other
system from webMethods system, is called outbound Document. By using “Extract
Attributes” it validates the documents. These attributes may be the any value that
you have selected from the document.

34. What is difference between Reprocess & Resubmit?


Ans:
When you resubmit a document, Trading Networks performs the following
processing:
 Uses the TN document type definitions to recognize the document
 Performs a processing rule lookup to determine the rule to use
 Performs the pre-processing and processing actions identified in the matching
processing rule.
When you reprocess a document, Trading Networks performs the following
processing:
 Performs a processing rule lookup to determine the rule to use
 Performs the processing actions identified in the matching processing rule

35. What is a trigger?


Ans: A trigger associates one or more publishable document types with one or more
services. At run time, when the Integration Server receives a document that satisfies
the conditions of the trigger, the Integration Server executes/invokes the associated
services.

36. What is a Loop & repeat?


Ans: The LOOP step repeats a sequence of child steps once for each element in an
array that you specify. The REPEAT step allows you to conditionally repeat a
sequence of child steps based on the success or failure of those steps.

37. What is concurrent (parallel) & Serialization process in trigger?


Ans: Serial Document Process: In serial document processing, the Integration
Server processes the documents in the trigger queue one after the other. The
Integration Server retrieves the first document in the trigger queue, determines which
condition the document satisfies, and executes the service specified in the trigger
condition. The Integration Server waits for the service to finish executing before
retrieving the next document from the trigger queue.
Concurrent Document Processing: In concurrent document processing, the
Integration Server processes the documents in the trigger queue in parallel. That is,
the Integration Server processes as many documents in the trigger queue as it can at
the same time. The Integration Server does not wait for the service specified in the
trigger condition to finish executing before it begins processing the next document in
the trigger queue. You can specify the maximum number of documents the
Integration Server can process concurrently.

38. If you specify for a loop to execute 10 times. How many times does the loop
repeat?
Ans: No. You can repeat the loop since it will according the values of the input array

39. How did you do broker settings in your current project.


Ans: Broker Host, Broker Name, Client Group, Client Prefix, Use SSL (Secured
socket Layer), Connected

40. Explain Publish and subscribe model?


Ans: Applications that produce information that needs to be shared will make this
information available in specific types of recognizable documents that they publish to
the message broker. At run time, the message broker receives documents from
publishers and then distributes the documents to subscribers. The webMethods
Integration Server or applications running on the webMethods Integration Server
publish documents to the Broker.

41. If document fails in broker how to send it again.


Ans: Then make the type as Guarantee Document

42. How to Large document handling in wM.


Ans: When Trading Networks receives a document, it determines whether the
document is large or not. You define how Trading Networks determines whether a
document is large by setting a configuration property. You specify a number of bytes
above which a document should be considered large.
If a document contains a greater number of bytes than the value you configure,
Trading Networks processes the document as a large document. That is, Trading
Networks does not attempt to read the document content into memory. Rather, it
writes the document content to disk and stores only a reference to the document
content in memory.
When Trading Networks needs to access the document content during processing, it
checks to determine whether the document content is in memory or in hard disk drive
space. If the document content is on disk (tspace), it accesses the document content
from disk. Trading Networks either uses a Java InputStream to read the document
content or it retrieves a certain number of bytes of the document content.

tn.BigDocThreshold : How many bytes a document must contain for Trading


tn.xml.xqlThreshold The number of bytes that Trading Networks reads into memory
to perform the XQL queries in a TN XML document type.
tn.tspace.location The absolute directory path of the hard disk drive space where
Trading Networks is to temporarily store large documents rather than keep them in
memory. The directory you specify is on the same machine as the Integration Server.
tn.tspace.max The maximum number of bytes that can be stored at any one time in
the hard disk drive space that you defined using the tn.tspace.location property

43. If two documents match in trigger then how do you process them?
Ans: According to the Join type you will process the Documents. Three Join Types
are there:
All (AND), Any (OR) and Only one (XOR)
All (AND): all document types should match with trigger condition in the trigger
Any (OR): if any document type matches in the trigger with trigger condition.
Only one (XOR): only one document should match with the trigger condition in the
trigger.
The join type that you specify for a join condition determines whether the Integration
Server needs to receive all, any, or only one of the documents to execute the trigger
Service
All (AND) The Integration Server invokes the associated trigger service when the
server receives an instance of each specified publishable document
type within the join time-out period. The instance documents must
have the same activation ID. This is the default join type.
For example, suppose that a join condition specifies document types
documentA and documentB and documentC. Instances of all the document
types must be received to satisfy the join condition. Additionally, all
documents must have the same activation ID and must be received
before the specified join time-out elapses.
Any (OR) The Integration Server invokes the associated trigger service when it
receives an instance of any one of the specified publishable document
types.
For example, suppose that the join condition specifies document types
documentA or documentB or documentC. Only one of these documents is
required to satisfy the join condition. The Integration Server invokes
the associated trigger service every time it receives a document of
type documentA, documentB, or documentC. The activation ID does not
matter. No time-out is necessary.
Only one (XOR) The Integration Server invokes the associated trigger service when it
receives an instance of any of the specified document types. For the
duration of the join time-out period, the Integration Server discards
(blocks) any instances of the specified publishable document types
with the same activation ID.
For example, suppose that the join condition specifies document types
documentA or documentB or documentC. Only one of these documents is
required to satisfy the join condition. It does not matter which one.
The Integration Server invokes the associated trigger service after it
receives an instance of one of the specified document types. The
Integration Server continues to discard instances of any qualified
document types with the same activation ID until the specified join
time-out elapses
44. Do you require a broker if you are sending the document locally. If not what
type of delivery should you mention
Ans: No. Local Publishing

45. What is guaranteed delivery in broker?


Ans: Guaranteed delivery is a facility of webMethods Integration Server that ensures
guaranteed, one-time execution of services. It protects transactional requests from
transient failures that might occur on the network, in the client, or on the server. If
the document is guaranteed, the Broker stores the document in memory and on disk.
If the document is guaranteed, the Broker returns an acknowledgement to the
dispatcher to indicate successful receipt and storage of the document.

Note: Guaranteed document delivery and guaranteed document processing are not the
same thing. Guaranteed document delivery ensures that a document, once
published, is delivered at least once to the subscribing triggers. Guaranteed
document processing ensures that a trigger makes one or more attempts to process
the document.

46. What is an Exactly-Once Processing?


Within the Integration Server, exactly-once processing is a facility that ensures one-
time processing of a guaranteed document by a trigger. The Integration Server
ensures exactly once processing by performing duplicate detection and by providing
the ability to retry trigger services.

47. What is a client groups in the broker?


Ans: Client groups provide a method for setting important properties for a group of
Broker clients. Instead of assigning properties to each Broker client separately, you
can assign properties to a client group. Properties you assign to a client group include:
Client life cycle
Client queue storage type
Subscribe and publish access to document types
Log Publish and Log Acknowledge
Access control list

48. Can u see the document in Broker? Default port for the Broker.
Ans: Yes. In broker Admin page under broker, which you have created you will find
“Document Types” click on that. Now click on wm folder again, you will find some
folders list now click on wm::is folder in this you find all the documents.
The default port for the broker is 6849

49. Administration part like clustering and territories.


Ans: Territories: Brokers can share information about their document type
definitions and client groups by joining a territory.
50. About triggering mechanism?
Ans: Triggers establish subscriptions to publishable document types and specifies
how to process instances of those publishable document types. When you build a
trigger, you create one or more conditions. A condition associates one or more
publishable document types with a single service. The publishable document type acts
as the subscription piece of the trigger. The service is the processing piece. When the
trigger receives documents to which it subscribes, the Integration Server processes the
document by invoking the service specified in the condition. Triggers can contain
multiple conditions.

51. What type of errors can be occurred while getting a document from FTP?

52. Do all error services are logged in wmMonitor.

53. Types of Adapters you are familiar & JDBC Adapter configurations.
Ans: JDBC adapter, MQ adapter, SAP adapter, JMS Adapter.
Configuration of Jdbc Adapter:
Configuration Connection Types: Package, FolderName, connectionNmae
Connection Properties: Transaction Type: Local/No/AX
Datasource class, ServerName, user, password,
databaseName, portNumber networkProtocol, Other
Properties.
Connection Management Properties: Enable Connection Pooling, Minimum
Pool Size, Maximum Pool Size, Pool Increment Size, Block Timeout (msec),
Expire Timeout (msec), Startup Retry Count, Startup Backoff Timeout (sec)

54. What is a database service? Can you give an example?


Ans: We can write advanced database Services using techniques such as connection
pooling, transactions and stored procedures.

55. About Adapter Services and Adapter Notifications?


Ans: An adapter service connects to an adapter’s resource and initiates an operation
on the resource. Adapter services are created using service templates included with
the adapter.
An adapter notification enables an adapter to receive event data from the adapter’s
resource.

56. What is the number of minimum connections in a JDBC Adapter?


Ans: Zero

57. What is transaction types in JDBC Adapter and explain.


There three Transaction Types in Jdbc Adapter
NO_TRANSACTION: The connection automatically commits transactions.
LOCAL_TRANSACTION: The connection does not automatically commit
transactions. You must define the transactions manually within your integrations.
XA__TRANSACTION This transaction type allows the connection to support two-
phase transactions executed across multiple databases. In one transaction boundary,
all of the operations on multiple connections will be committed or rolled back
together.
Note: All of the connections involved in a 2-phase transaction must support the
XA_TRANSACTION transaction type.

58. What is the general role of latching and cross-referencing?

59. MQ Adapter configuration Settings?


Ans: Mq_Connection Details:
Connection Type, Package Name
Connection Properties:
Queue Manager Name, Host Name, TCP/IP port, Server Connection
Channel, CCSID (Coded Character Set Identifiers), UserID, Password,
Queue Name, Dynamic Queue Prefix, Send Exit Name, Send Exit Init
Parms, Receive Exit Name, Receive Exit Init Parms, Security Exit Name,
Security Exit Init Parms.
Connection Management Properties:
Enable Connection Pooling, Minimum Pool Size, Maximum Pool Size,
Pool Increment Size, Block Timeout (msec), Expire Timeout (msec),
Startup Retry Count, Startup Backoff Timeout (sec).

60. What is correlation ID in MQSeries?


Ans: Message and/or correlation ID are used to identify a specific request or reply
message. The programmer can move a value in one or both fields or have MQSeries
create a unique ID for him or her. Before the programmer puts the request message in
the queue he or she can save the ID(s) and use them in a subsequent get operation for
the reply message. The program that receives the request message copies this
information into the reply message.

61. What is difference between Webspehere MQ Connection and Webspehere


MQ transactional Connection?
Ans: Transactional A transactional connection uses syncpoint processing, which
means that you can group one or more requests into a single Logical Unit of Work
(LUW). You can control these requests manually (explicit transactions), or you can
allow the Integration Server’s transaction manager control them for you

Non-Transactional A non-transactional connection is stateless and does not use


syncpoint processing. All services associated with a nontransactional connection
perform a single request as an autonomous unit of work.

62. How do you export package from one version to another version?
Ans: Through Deployer
or
C:\webMethods61\IntegrationServer\replicate\inbounds. Now go to Management
under Packages, click on Install Inbound Releases and select the particular
package.
Or
Publish and subscriber

63. What is DUNS number?


Ans: DUNs number is unique number that identifies the trading partner uniquely.

64. What is AS2?


Ans: The Internet Engineering Task Force (IETF) has developed two sets of security
protocols for transmitting EDI over the Internet (EDI INT): the AS1 and the AS2
protocols. By utilizing products that have been developed around these standards,
businesses can securely transmit and receive EDI over the Internet, which will
drastically reduce the ongoing costs associated with EDI. The "AS" stands for
"Applicability Statement" and uses existing standards in a manner that facilitates ease
of use in product development. AS1 utilizes the Simple Mail Transfer Protocol
(SMTP) mechanism to securely transfer packages of data. The AS2 is an adjustment
to the AS1 that extends the specifications by adding Hyper Text Transmission
Protocol (HTTPS). The AS2 specification solely describes the secure transmittal of
EDI in batch mode or any other data over the Internet using HTTPS. It is a
specification on securing and transporting data, not on validating or processing the
data. The transported data is then dispatched to the appropriate processor based upon
its content-type. Therefore, an EDI translator will still be needed to process the "raw
EDI" data. Rather than sending/receiving data via a VAN (Value Added Network),
the data would be sent/received via the Internet in accordance with AS1/AS2 security
features and imported/exported into the user's application system

65. How do create a JAVA service? What is IData Object? In java service?
Ans: The IData object is the universal container that services use to receive input
from and deliver output to other programs.

66. What is the difference between Java Service and Flow Service?
Ans: Java service is service, which is written in java language. Flow service is a
service, which is written webMethods flow language.
67. How do we invoke another service in a Java service and in which package
does this method reside?

68. Difference between 6.0, 6.1 & 6.5

69. Configuration Parameters of JD Edwards


70. Explain RosettaNet?
Ans: RosettaNet is a non-profit consortium aimed at establishing standard processes
for the sharing of business information (B2B). The RosettaNet standard is based on
XML and defines message guidelines, business processes interface and
implementation frameworks for interactions between companies.

71. What is node? How will you get a value from an xml (which service)?
Ans: wMPubli:xml: queryXMLNode.
According to the DOM, everything in an XML document is a node. The DOM says
that:
The entire document is a document node
Every XML tag is an element node
The texts contained in the XML elements are text nodes
Every XML attribute is an attribute node
Comments are comment nodes

72. What is the function of monitor?


Ans: Monitor is an administrative tool that you use to examine instances of business
processes, workflows, services, 4.x Enterprise adapter integrations, and documents
that the integration platform is processing or has finished processing.

73. Can we use Monitor to resubmit a Document?


Ans: Yes
74. What is Modeler and how many ways you can build the business process?
Ans: Two ways
1. Top down
2. Bottom up

75. What is TPA, difference between default TPA and partner specific TPA and
where we will use those TPA’s.

76. Explain about VAN-Bridge functionality used in your project.

77. What is a filter and why it is used?


Ans: A filter specifies criteria for the contents of a published document. Both the
Broker and the Integration Server evaluate a document against a subscription’s filter
upon receiving the document. The Broker evaluates the filter to determine whether
the received document meets the filter criteria. If the document meets the filter
criteria, the Broker will place the document in the subscriber’s client queue.

78. How does webMethods handle message queuing?


Ans: By using public, private queues

79. What is Conversation ID?


Ans: Use to: Select all documents that have a specified conversation ID; that is, you
can view all documents that Trading Networks has received that are part of the
conversation you identify by the conversation ID that you specify.
How Trading Networks selects documents: Trading Networks matches the
conversation ID you specify to the value of the ConversationID system attribute that
it extracted from the document.
Reasons Trading Networks might not select a document:
If Trading Networks cannot determine the conversation ID of a document, it cannot
select the document in a query even when a document has the conversation ID that
you specify. The following lists reasons:
Trading Networks did not extract the ConversationID system attribute from the
document.
The TN document type of the document is unknown. (Trading Networks does not
extract attributes for unknown TN document types.)

80. What are built-in HIPPA packages?

81. How to integrate with SAP application.


Ans: by using SAP Adapter.

82. How to create RFC client in webMethods?


Ans: Go to Is Admin page click on SAP under adapters, you will get a Sap window
then click on Sap servers, it will show the servers list. Now click on the listener that
for which server you want to create a RFC listener. Enter the details that are given by
SAP client.

83. How did you worked with CVS in webMethods?


Ans: version controller.

84. How to increase the IS performance.


Ans: By using Performance tuning, Load balance and Failover support in IS
clustering.

85. If a service is suddenly hangs, how would you know this. Can be seen in
server.
Ans: No

86. What is the basic difference between RosettaNet and ebXML standards?

Ans: Electronic Business using eXtensible Markup Language, commonly known as


e-business XML, ebXML (pronounced ee-bee-ex-em-el) as it is typically referred to
as, is a family of XML based standards sponsored by OASIS and UN/CEFACT
whose mission is to provide an open, XML-based infrastructure that enables the
global use of electronic business information in an interoperable, secure and
consistent manner by all trading partners. While the ebXML standards adopted by
ISO and OASIS seek to provide formal XML enabled mechanisms that can be
implemented directly - the ebXML architecture is focused on concepts and
methodologies that can be more broadly applied to allow practitioners to better
implement eBusiness solutions.

87. What is ATC Notifier? What is it used for?


Ans: Application Transaction Coordinator. This is an adapter with the objective of
providing guaranteed processing and delivery of messages. The basic processing is
simple: an ATC receives a message of some type, transforms that message to another
type of message, and publishes the new message. ATCs are connected together to
provide a full end-to-end integration.
"source" ATC will accept a notification message from a notifier, retrieve the
necessary data from the source system (using request/reply messages), and publish an
application- independent message (referred to as a canonical event).

A "target" ATC will accept a canonical event from some source ATC (or any other
publisher), possibly retrieve data from the target system if needed, and publish an
application-specific message, such as an insert or update request.

The ATCs track their actions in a database. With this database, a process flow can be
restarted at a given point.
The ATC database can be Oracle, SQL Server or Informix (they may now support
others).

88. Can you tell me the core components of ATC?

89. Have you ever worked or got involved in a webMethods clustered


environment?
Ans:

90. Do you know the concept of binding? If so, what is the difference between
early and late binding?
Ans:

91. In connection pooling min is and max is 10. If I give 11th service, what will
happen?
Ans: When you have connection pooling enabled, the ART maintains a pool of
connections to the given resources. At any time if all 10 threads are having a
connection in use to the resource, the 11th thread waits till a connection is available
for it to use. As soon as any of the other threads closes the connection, the connection
is returned to the pool and is available for other threads that are waiting to use it.

92. What is the difference between the Enterprise server and B2B server?
Ans: Enterprise server is server, which is using for an individual organization.
B2B server is a server, which is used for more than one enterpriser to integrate
Enterprise servers.

93. If I publish a documen t to the broker, where I can see in Integration Server?
Ans: Broker Docs: You can use the Broker Admin page to take a look at the number
of docs that are processed by each client. But, you cannot automatically see the
documents flowing in the broker anywhere. There are a couple of ways to get around
this... 1) you can use document tracker. It is a java client, which gives visibility into
the documents that are flowing through broker. 2) You can enable document logging
which uses the logutil package to look at the documents in Monitor.

94. What is the Difference between Basic Notification and Insert Notification?
Ans: Actually there are two type of Notifications Basic and Intelligent (Insert, Delete,
Update etc.).In basic Notification you need to create the Notification Components
like Trigger and Buffer Table in Database but in case of Intelligent (Automatic
Notification) they automatically get created in Database as you enable the
Notification and gets deleted when u disable the Notification.

95. How will you retrieve time from Database?


Ans: you can write a Custom sql with: select sysdate from dual, which will give you
the complete timestamp of your database.
96. What is the use of extended fields in TN (while creating Trading Partner
Profiles)?
Ans: Extended fields are used to store the info that you want to store for a partner but
there is no default field defined for it by TN. As to how you use it later is up to you.
But not much use other than that.

97. How do you give security to an IS?


Ans: The digital certificate, used during Secure Sockets Layer (SSL)
communications, helps ensure that communications between your Integration Server
and clients are secure. Once you have obtained a digital certificate, you must
configure your Integration Server to use SSL. In addition, you can control access to
the Integration Server through access control lists, listening ports, client
authentication, and Integrated Windows authentication.

98. What are the different elements under the navigation panel?
Ans: Elements include folders, services, specifications, IS document types, triggers,
and IS schemas.

99. How do set the start up service to a package?


Ans: A startup service is one that Integration Server automatically executes when it
loads a package into memory. Startup services are useful for generating initialization
files or assessing and preparing the environment before the server loads a package.
 Select the package and go to File menu and clock Open
100. How do you invoke a service on a remote Integration server?
Ans: You can use the built-in service WmPublic.pub.remote:invoke to invoke a
service on a remote Integration Server and return the results. The inputs are: $alias
(remote server name)
$service (service to be execute)
$scope (session/global)
101. What is Routing Rule?
Ans: Routing rules indicate how a message is to be processed. Each routing rule is
uniquely identified by its sender, receiver, and message type. When the Partner
Manager receives a message, it performs a routing rule lookup to match the sender,
receiver, and message type of the incoming message with the sender, receiver, and
message type of routing rules.
If a matching routing rule is found, the Partner Manager processes the message as the
routing rule indicates. If a routing rule is not defined for the message, the Partner
Manager generates an incomplete routing rule. When you complete the rule,
subsequent messages with the same sender, receiver, and message type are routed
using the completed rule.

102. What are the transport types in Routing rules?


Ans: Route a message to an SAP Adapter service
Send a message via email
FTP a message
Route an IDoc to an SAP server via tRFC
Route an RFC to an SAP server via RFC
Post SAP IDoc-XML or RFC-XML to a URL

103. Components of a routing rule?


Ans: Sender, receiver, and message type (These are parameters that are used to create
a routing rule)
Name of the service that processes the routing rule
Pre-processing and post-processing SAP Adapter service (optional)
How to route the message; that is, the transport
Additional parameters based on the selected transport

104. The version of the SAP adapter that you have?


Ans: 4.6

105. What are the input parameters for Http service?


Ans: url, method (put/get/post, head, delete, options, trace), loadAs, data, header
(type, user, pass).

106. How do u send a document from developer to TN?


Ans: using WmTN.wm.tn.receive

107. How can you implement Switch case using flow steps?
Ans: Using Branch on Switch Value
108. How u can implement if-else case using flow steps?
Ans: Using branch on expression

109. What is BAPI (Business Application Programming Interface)?


Ans: Business functions in an SAP system that are written in the programming
language ABAP. BAPIs are formalized RFCs. Systems remote from the SAP system
commonly use BAPIs to have the SAP system perform an action

110. What RFC and tRFC?


Ans: Requests that the SAP system initiates to have functions performed on remote
systems, or calls remote systems initiate to have the SAP system perform a function.

The transactional RFC (tRFC) protocol ensures that an RFC is successfully executed
and that it is executed exactly once.
An SAP system uses to asynchronously invoke a function on a remote system.
A remote system uses to asynchronously invoke a function on the SAP system.

111. What is Partner Manager?


Ans: When the Partner Manager receives a message with tRFC or an XML message
that contains a TID (Transaction ID), it logs the transaction in the Message Store. It
then uses routing rules to determine where to route the message. The routing rules
indicate where to route the message based on who the message is to (the receiver),
whom the message is from (the sender), and the message type. A message can be:

112. What is a RFC listener (Server) and RFC client?


Ans: The B2B Server uses the RFC server (listener) to listen for incoming requests to
execute B2B services from an SAP server.
SAP terminology for a process that sends RFCs to an SAP system to invoke
functions.

113. How many ways you can invoke a service in a Developer?


Ans: Developer provides two ways for you to invoke services: You can insert
INVOKE steps or you can insert transformers onto the Pipeline tab.

114. Which control statement in Java is related to the flow steps, which
are in webMethods?
Ans: repeat

115. Can you tell me File polling concept in webMethods?


Ans: This polling concept is to monitor a folder when a file has come in. For this you
need to create a port. For this click on ports under security under that give me the
folder name that to be monitor with the full path and service name that to be execute.
Once the file come in to the folder that particular service that you have given in the
port. Once the service executed then four folders will be generated in the directory
that you have given in the write to file option. Those are work, error, done and
monitoring directory. This work folder is used when the document is processed, the
error folder is used when an error occurred while processing the document goes to
this and once the document is processed successfully the file will goes this done
folder.

116. By using which services you will send the document from B2B server
to SAP system?
Ans:

117. What is the purpose of Sequence?


Ans: To execute a group of flow services at time you will go for

118. What will happen if map a string variable to a array variable?


Ans:

119. What is difference between publish and delivery services?


Ans: Publishing: publishing a document to many numbers of subscribers.
Delivery: publishing a document to a particular subscriber

120. In select JDBC adapter service template if u mention MAX=0 what


happens?

Ans: Then all rows will retrieve from the database table

121. In select JDBC adapter service template if you mention MAX=10


what happens?
Ans: Only retrieves 10 rows from the table.

122. Can you change the path of JVM an which version you are using?
Ans: yes. JVM version is 3.1

123. What is a connection pooling?


Ans:

124. How will you generate 997 Faction Acknowledgement?


Ans: Using WnEDI/wm.b2b.edi.util:generateFA Service

125. What is the difference between implicit mapping and explicit


mapping?
Ans: Implicit: If the same variables in pipeline in and pipeline out then IS do the
mapping to the input variable with the variable having same name in the output
pipeline
Explicit: you need to do the mapping the variable which are in the pipeline in to
pipeline out variables.
126. How do you create XML Document type?
Ans: Ans: In TN console open Document Type tab in this select new and XML type.
Then a window will be open in that in the Identity tab give the Identify
information(XQL quires, root tag, DOCTYPE Identifier, pipeline matches) that is
used to identify the document. Now select extract tab and give the Extraction
information, which indicates the document attributes to extract from an inbound
document. In this window other tabs are namespaces and options. In this options tab
you can specify pre-processing options that Trading Networks performs before it
performs the actions specified by a processing rule.

127. How will broker identify a particular trigger?


Ans: Using publishable document

128. What is the difference between input array and output array?
Ans: The name of the array variable on which the LOOP will operate. This variable
must be one of the following types: String list, String table, Document list, and Object
list.

The name of the element that you want the server to collect each time the LOOP
executes. You do not need to specify this property if the loop does not produce output
values or if you are collecting the elements of Input array.

To collect output from each pass of the loop, specify the name of the output variable
that you want the server to collect for each iteration.

129. Configuration of SAP adapter:


Ans:

130. In How much way can you start the server?


Ans: Three ways:
1. From the command line by running WebMethods\IntegrationServer\bin\server.bat
file with any or all of the options.
2. Make the IS service run as windows service
3. From start -> programs-> webMethods, then click on Integration Server icon

131. How do you change the debug level IS in run time?


Ans: In IS admin page click on Logging under Settings in that change the
debugging level by changing the Level of Logging option.

132. What are the different types of status in TPA? What is the difference
of Set Proposed and Set Agreed?
Ans: Set Disable, Set Proposed, Set Agreed.
The TPA is in draft status. When the TPA is in the Proposed status, you can delete it.
What you can change:
The TPA fields, with the exception of the Sender, Receiver, or Agreement ID fields.
All inputs to TPA data variables in the IS document type.
The TPA is in final status. When the TPA is in the Agreed status, you cannot delete
it. To delete a TPA, you must change the agreement status to Proposed or Disabled.

Non-modifiable, you can change:


The Control Number
Note: To modify the data of the TPA, you must change the agreement status from
Agreed to Proposed.

133. What are different data types?


Ans: String, String List, String Table, Document, Document List, Document
Reference, Document Reference List, Object, and Object List

134. What is message store?


Ans: Message Store that the transaction manager uses to track all IDocs and all tRFC
calls routed to and from SAP systems via the webMethods B2B Server.

135. What is Specification?


Ans: A specification is a “free-standing” IS element that defines a set of service
inputs and outputs. If you have multiple services with the same input and output
requirements, you can point each service to a single specification rather than
manually specify individual input and output fields in each service.
Using specifications provides the following benefits:
It reduces the effort required to build each flow.
It improves accuracy, because there is less opportunity to introduce a typing error
when defining a field name.
It makes future specification changes easier to implement, because you can make
the change in one place (the specification) rather than in each individual service.

136. What is the difference between routeBizdoc and submit services?


Ans: Wm.tn:submit Submits a document that has already been recognized to Trading
Networks for processing.
This service ensures that the sender of the document matches the current user
receiver).
wm.tn.route:routeBizdoc : Submits a document that has already been recognized to
Trading Networks for processing.
This service does not check the identity of the sender against the currently logged in
webMethods user (receiver).

137. What is the use of Document Reference?


Ans: By referencing an IS document type instead of creating a new one, you can
reduce the time required to create fields and maintain better consistency for field
names. You might find referencing fields especially useful for information that is
repeated over and over again, such as address information.
138. Which processing rule executes when more than one processing rule
matches the document?
Ans: By using least ordinal vaule it will process the processing rule

139. What is TPA? Does TN use TPA every time when a document coming
in to the TN?
Ans: yes

140. How the java service will be saved in the IS?


Ans: .frag

141. How do I control access to the services?


Ans: WebMethods provides an easy way to apply security settings to your services.
This FAQ looks at how service execution can be secured.

In this example we are assuming there are 3 users, user1, user2 and user3 who need
privileges to execute a service. These users are external partners and should not have
any other privileges on the system.

 Create a group for the new users.


 Place the users in the new group.

Next, you will want to give permissions for these users to execute services as well as
retaining permission for the default groups such as Developers and Administrators.

 On the Integration Server Administration console, click on ACLs under


Security.
 Click on the link to Add and Remove ACLs.
 Give your ACL a name, add it.
 On the access control lists screen, bring up your ACL and choose the groups
allowed by your ACL. This should be the group you created for the new users
and Developers & Administrators at the very least. This ACL will define
Allow permissions for all users covered in the groups listed under Allow.
 Finally, in developer change the service Execute ACL property to the ACL
you just created.
 Test user1 account, you will see that they can invoke the service but they
won't be able to log into Administrator, Developer or any of the other tools.
 Test that Administrator and Developers can execute the service too.
142. Add a menu item to WebMethods Admin Console?
Ans: The WebMethods menu on the left hand side has a series of menu sections and
menu items.
These are controlled by a series of services in the package (contained within package
WmRoot): wm.server.ui
The main service which results in all the menu iteams is called
wm.server.ui:mainMenu. You can view the results of this service by:
1) going to the console
2) Project Management
3) Package WmRoot
4) Browse services for this package
5) Execute it.

143. How do access input variables in a Java service?

143. Different elements in creating Partner Profiles?

Ans:

144. Error handling in webMethods 6. X

1) Select Sequence Flow Step and label it as Main.


2) Select two Sequence Flow steps name them as try & catch respectively.
3) Develop the logic within the Try sequence.
4) Errors or Exceptions occurred with in the try sequence are thrown to Catch
sequence.
5) Build a service in Catch Sequence to handle or to take an action such as SMTP
service to Email the errors occurred.
6) Take a service WmPublic.pub.flow:getLostError It will display the errors of
that particular flow service, but it will not displace the errors that occurred in Try
sequence.

145. Difference Between Soap msg and Soap RPC

SOAP-MSG (Document Style)


Document/Literal mode of messaging, a SOAP Body element contains an
XML document fragment, a well-formed XML element that contains arbitrary
application data (text and other elements) that belongs to an XML schema and
namespace separate from the SOAP messages.

SOAP-RPC
The RPC/Literal mode of messaging specifies how methods and their arguments
(parameters and return values) are represented within the Body element of a SOAP
message.
1st Round:

wht is ur experience on Oracle,webmethods,unix?

How do you rate for webmethods, oracle and unix?

Do you have idea on integration server?

what is integration?

what is EAI?

what is Modeler?

what is normalization? why do you go for normalization?

What is Primary key and unique key? Does this accept null values?

What is differnece between application trigger and database trigger? Can u give an
example?

what is event handler? Can u give an example?

what is a function?

what is a procedure? can u use a procedure using select statement?

what is Correlated Query and Sub-Query?

Do you have idea on shell scripting?

what is Dual Table?


what is unlock?

what is ACL? How is ACL is reflected while elements are unlock?

when we are replicating package,How unlock is reflected? Is it presevered or not?


(Preserved)

what is shutdown services?

What is Package in oracle?

* All related code in a single object


* All related code loaded into memory simultaneously
* Session global variables and types
* Single object compilation
* Variables persist for term of session
* Initialization section
* Overloading
* Fewer objects to manage and grant/revoke privileges

r u comfortable with unix commands now?

2nd Round:

what is PL/SQL?

what is Stored Procedure?

How much do you rate in webmethods?

Do you have experience on Unix?

Do you idea on Shell scripting?

How do you install packages in webmethods?

what are different flow steps in webmethods?

which methodology did you follow while working in project?

r u interested in development or in production?

which tool you used to place issues?Have you been ever worked on that? (Issue Tracking
Tool)

Do you have any idea on Report Generation tool?

1. Your Experience in webMethods and Project Description.

2. Where and why are you using webMethods in your project?

3. Define Trading Partners.

4. Which service can be used to get value for a particular element in an XML
document?

QueryXMLNode

5. How do we invoke another service in a Java service and in which package does
this method reside?

6. What is the basic difference between RosettaNet and ebXML standards?

7. How to validate an Inbound EDI document?

8)What is the purpose of Default Processing Rule?

Ans
If a document matches more than one processing rule, Trading Networks uses the
first
Processing rule it encounters. As a result, the order in which you maintain your
processing
Rules is important because Trading Networks checks for a matching processing rule
in
That order. Keep rules with specific criteria before rules with general criteria. You
should
Also set up a default processing rule that you want Trading Networks to use when a
Document does not match any of the other processing rules. Place the default-
processing rule last in the list.

8. How do we create and use Processing Rules in Trading Networks?

Sender ID, Recievr ID, Document type.

9. How can we handle errors during EDI transaction?

10. How can we see the received documents in Trading Networks?


Transactional Analysis.

What is the main purpose of Monitor?

web Methods Monitor is an administrative tool that you use to examine instances of
Business processes, services, integrations, and documents that the integration
platform is
Processing or has finished processing. Besides viewing status information about your
Processes, services, integrations, and documents, you can also use Monitor to perform
Control tasks such as suspending or resuming processes or editing and resubmitting
Documents, services, or the step pipeline.
webMethods Monitor retrieves information about processes, services, integrations,
and
documents by querying the audit logs and the Trading Networks database.
The Monitor is hosted by an integration server. You access webMethods Monitor
through
a web browser.

12. Can we use Monitor to resubmit a Document?

13. What is a canonical document?


A) A canonical document is a standardized representation that a document might assume
while it is passing through your webMethods system. A canonical document acts as the
Intermediary data format between resources.
For example, in an implementation that accepts purchase orders from companies, one of
the steps in the process converts the purchase order document to a company’s standard
purchase order format. This format is called the 'canonical' form of the purchase order
document. The canonical document is published, delivered, and passed to services that
process purchase orders.
By converting a document to a neutral intermediate format, subscribers (such as adapter
services) only need to know how to convert the canonical document to the required
application format. If canonical documents were not used, every subscriber would have
to be able to decode the native document format of every publisher.
A canonical document is a publishable document type. The canonical document is used
when building publishing services and subscribed to when building triggers. In flow
services, you can map documents from the native format of an application to the
canonical format.

Intermediatery document for mapping.

14. How to send Documents (XML, EDI) to Trading Networks?

15. Can we use wm.tn:receive service for sending documents to Trading Networks?

16. What do you mean by Notification and where is it used?


17. Your role in the project?

*********************************************************************
*************************************

1. Tell me about yourself and your Experience in webMethods.

2. Explain the entire scenario of handling when an EDI 850 comes into your TN?

3. How will you create profiles, document types, processing rules and TPA in TN?

4. What is DUNS number?


Unique identifier ,Dun &bradstreet number system.

5. Which service can be used to get value for a particular element in an XML
document?
queryXMLNode

6.How many types of logging used in Integration Server?

7. If you want to split the one-xml file into two xml files, then how will you handle
that scenario?
Ans .QueryXMLnode

8.There are two TPAs defined in your Trading Networks. If the partner specific
TPA is missing one of the essential field then what happens?

9.How many types of delivery methods are there in TN to send a document.


Ans) Immdiate Delivery
Schedule Delivery
Queue for polling
Receiver Preffered Protocol
10.How can we do error handling in developer?
Using Sequence Flow Step

11.Explain about the EDI structure.

12.How do you generate a Functional Acknowledgement?


Ans) Using generateFA service

13.Which segments will be used in 997?


AK1,AK2,AK3,AK4,AK5,AK9
14.What is the main purpose of Monitor?

15.If a document is sent to trading networks, then can we use it in modeler?

16.What is a canonical document?


Intermidiatory document for maping

17.Explain about publish-subscribe mechanism?

18.Which service is used for sending documents to Trading Networks?


Ans wm.tn:receive

19.What is the difference between an adapter service and adapter notification?

20.What is EDIINT and why it is used for?

21..If a broker is connecting two IS,and involved in publish-subscribe mechanism, if


the published document is changed,then how will it reflect in broker?

22.How do you configure a JDBC adapter connection?


23.What is Guarantee Delivery?

24.How do you create a trigger?

25.What is a filter and why it is used?

*********************************************************************
*************************************

1. Your Experience in webMethods.


My ans is: I started explaining about my projects from the third project in my resume.
While Explaining about the 2nd one he started asking questions as follows

2. How do you process an incoming EDI document into Trading Networks?


My ans is: Processing rule should be there to execute a service for validating the
incoming document.

3. How do you map those data into a database.


My ans is: By mapping the data to the input document in Adapter service

4. How do you configure an adapter connection for oracle


My ans is: In Administrative page Jdbc Adapter will be there. By giving parameters
like Datasource class, server name, database name port number and after enabling it

5. What are different transaction types while configuring an adapter connection


Ans: No_Transaction, Local_Transaction and XA_Transaction
6. What is no transaction type?
My ans is: When we use this type of transaction, it will automatically commit the
transactions.
7. When it will commit those transactions
My ans is: After insertion of data into the database the commit will automatically
done.

8. At which layer commit will happen?(8th layer,7th layer or 1st layer)


My ans is: It’s happens in 8th layer but not sure

9.What is an XA transaction?

10. What is a transaction?


My ans is: transaction is nothing but a database operation like update…

11.what is the difference between EDI and EDIINT?


My ans is: EDIINT is EDI transfer through Internet and EDI is a standard used to
exchange documents

12. What is the difference between a standard and a protocal?


My ans is: A protocal is rule defined for communication and a Standard is like a
document format.
Difference between B2B and EAI. Explain.
Ans). EAI takes place within the Enterprise, B2B is between Enterprises.
However techinical challenges are mostly same.EAI is also known as Application to
Application.

8. What are the segments in an EDI document?


Ans). 6 segments --- ISA,IEA,GS,GE,ST,SE.

9. What is the last element in ISA segment?


Ans) Subelement Separator.

10. How your are going to identify an 850 document by seeing only the content?
Ans) . Trascation Set Code 01

11. What are the different XML parsers?


Ans). Jdom , SAX

12. Explain the sentence excellent ability to plan, organize and prioritize my work to
meet on time the deadlines of my client in your resume.

13. What is a module? How u r going to plan to execute a module.

14. What is an interface?


15. EDI transactions u worked with and what is 854 EDI transaction?
Ans) . 854 Shipment Delivery Discrepancy Information

16. Explain about 850 transaction segments.

17. What are the various adapters you worked with?


Ans).

18. What is an EDI adapter?


Ans). EDI Module

19. Where is the Envelope process service located?


wm.b2b.edi.envelopeProcess in WmEDI package

20. What are the various services for processing an EDI file?
Ans). convertToValues, util.getEDIString.

21. Explain the sentence Motivated team player with strong communication skills,
having aptitude for technical documentation in your resume.

22. What is Documentation Lifecycle?

23. What is the client place of the 2nd project?

24. Explain about the client Delta Faucets.


25. Explain the sentence Customization of the application to suit the needs of a
HealthCare client by implementing support for two new roles.

-- What is the difference between a flow service & Java Service?


-- What are some Flow programming steps that are created?
-- Name different methods to invoking a service. How to trigger a flow
service?
-- How do you subscribe to a document through the Broker?
-- How do you promote code from 1 environment to another?
-- Trading Networks: What is a processing rule, TN Document, Attribute?
-- What is a TN profile? What can be configured in a TN profile?
-- Name 5 object types you can create in Developer?
Ans:: String,StringList, String table,Document,DocumentList,Document
Reference,Document ReferenceList,Object,Object List.
-- How do you setup a Try/Catch sequence in flow code in Developer?
-- How do you setup a scheduled service?
-- How does IS connect to the Broker?
2) In connection pooling min is and max is 10. if i give 11th service.what will happen?

3) if i publishing to the broker, where i can seein integration server?

Clustering .. is a wide topic by itself. webMethods provides a software clustering solution


to cluster multiple Integration Servers. Please refer to IS clustering guide for more
details. Alternatively, you can also use third party cluster software like veritas.

Connection Pool: When you have connection pooling enabled, the ART maintains a pool
of connections to the given resources. At any time if all 10 threads are having a
connection in use to the resource, the 11th thread waits till a connection is available for it
to use. As soon as any of the other threads closes the connection, the connection is
returned to the pool and is available for other threads that are waiting to use it.

Broker Docs: You can use the Broker Admin page to take a look at the number of docs
that are processed by each client. But, you cannot automatically see the documents
flowing in the broker anywhere. There are a couple of ways to get around this... 1) you
can use document tracker. It is a java client which gives visibility into the documents that
are flowing through broker. 2) you can enable document logging which uses the logutil
package to look at the documents in Monitor

can anybody let me know the difference between BasicNotification and Insert
notification?

Actually there are two type of Notifications Basic and Intelligent(Insert,Delete,Update


etc.).In basic Notification you need to create the Notification Components like Trigger
and Buffer Table in Database but in case of Intelligent they automatically get created in
Databse as you enable the Notification and gets deleted when u disable the Notification.

how u will retrive time from Database?

you can write a Custoem sql with : select sysdate from dual which will give you the
complete timestamp of your database.

Do u have any idea on Degital Certificates (TN) in Webmethods?

That is total different concept, the digital certificates are used when you are getting
connected to any Trading partners.

wht is the use of extended fields in Trading Networks.(while creating trading partner
profiles)?
AFAIK...extended fields are used to store the info that you want to store for a partner but
there is no default field defined for it by TN. As to how you use it later is up to you. But
not much use other than that.

I am new to Optimize/manager. We have multiple integrations working on webM as an


ESB. We want to use Optimize to monitor our business processing. We do not use
modeler/monitor. And we don't plan to because of the performance considerations given
the volume is very huge. Here is a sample scenario of our integration.

1. webM gets a document from weblogic JMS topic


2. Does processing converts into canonical doc and publish to broker
3. Subscribtion flow service processes the doc and does a web service call to third party
system
4. Response is processed in WM

Say, for example, I am transfering customer orders in the scenario listed above, I want to
monitor stats like how many orders/docs a particular customer has, what is his total
revenue etc.

Now, since we don't use modeler, I think I need to configure WS DCA and push the data
to optimize. I have installed manager/optimize, configured WS DCA and all is fine till
that point. From the docs seems like I need to use the sendEventData and
sendDimensionData methods to post the data to optimize. But I am not sure of the steps I
need to follow. How can I manage the monitors in the scenario listed above? can
someone give me high level steps I need to follow in this kind of situation?

U can implement TN if at all u r not interested in using monitor and modeler.It will help
u not only in monitoring but also in partner verification and document validations.
Yes...I agree but we are trying to implement monitoring with minimum disruption to the
development teams. Implementing TN would require refactoring of all the packages.

You need to use the addStronglyTypedEvent WC to have a Monitor data pushed to


Optimize,
When pushed, an Event would be created in Optimize, specify the datatype for your
fields in the event. To keep track of the count, the datatype for that field should be FACT.
After you are done with eventmapping, ADD KPI and select the Event name you created
earlier.

This should do for you to keep track of the count. Hope it helped.

When and why should we use transformers and flow services? How are
they different from each other?
Answer When we are performing only one data operation we
#2 can go
ahead with directly invoking the corresponding flow
service. If we want to perform the multiple
operations in a
single step, it is good to go with transformers in a
map
step. This increases the memory usage and
readability.

What is Modeler
Answer webMethods Modeler is a graphical tool for building
#1 a
business process model and
executing the model. After you create the business
process
model, you can elect to
generate the run‐time components needed to
execute the
model in the underlying
webMethods integration platform.
You can build process models that bring together
data from
diverse sources in your
Enterprise such as:
�� Internal systems and
applications
�� Databases and data warehouses
�� Trading Partners
�� Web services
�� Mainframes
�� Workflows (human
interactions)
How to create a link between variables?
Answer You have to map the Input Pipeline
#1 variable A to Output
Pipeline variable B.
Steps
1. Create any new Flow service
2. Add some Input and Output
variable as required
3. Insert any previously created
service or insert any Map
4. Click at Pipeline In area then click
on the variable A,
5. Click at PipelineOut area then click
on the variable B,
6. Now Click over link button.

Note: Before this, service at which you


are working must be
locked.

What are Structural transformations ?


Question Submitted By :: Guest
I also faced this Question!! Answer
Rank Posted
By

Re: What are Structural transformations ?


Answer splitting one field into several or merging fields,
# 1 reordering portions of a message or renaming
fields
are know as structural transformations

How to Change the Order of Steps in a Flow Service?


Answer We can change the Order of steps in a Flow Service
# 1 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

How to use SEQUENCE as the Target of a BRANCH?


Answer set evaluate label property of branch step to 0 Jayeshrnair
# 1 true.
Then set the label property of sequence with
the value
on which it needs to be processed.
Re: How to use SEQUENCE as the Target of a BRANCH?
Answer In addition to the above answer, we can use
# 2 the branch in
the context of switch case also, for that we
have to set
the evaluate label property of the branch to
false and the
set the value for the SWITCH property of the
branch as the
variable based on which you want to switch
and set the
label property of the branch as the posible
value for the
variable you gave in switch

Re: How to Move Flow Steps?


Answer Kepp the developer in EditPrespective.
# 1 Select the flow step u wanna move just drag it to the
place
u want to move.Otherwise use the arrow buttons on
the
editor pannel to move the selected flow steps.

How ACLs Affect locking?


Answer ACLS are used to give the authorization to the
# 1 particular
user groups.If u give ACL to administrator then the
admin
group users who are there in that group they can have
the
acess to that particular service.Otherwise we can not
use
it.This is called ACL locking.

a system lock from an element?


ory for providing a wrong answer earlier.
y system lock cannot be removed from the

.
locks can be removed by making the server
es
lement as redable.right Click on the elemet in
per which is system locked.and choose the

ies.
display the server side files for the element.
he files as readable and click the referesh

eveloper.You will find that the element is no

le schema and what are its uses?


Answer Flat file scheme can be used to validate the incoming flat 0
#1 files.Schema provides definition for flat files against
which IS can validate flatfiles.

Re: What is a flat file schema and what are its uses?
Answer Flat file schema is a blueprint which have rules for the
#2 flat file. IS will validate the flat file against this Flat
file schema.

How to Rename and Delete Elements?


Answer To rename an Element
#1
1) select the element.
2)RightClick on the element->goto Rename
3)select the rename option

To Delete an Element

1) select the element.


2)RightClick on the element
3)select the Delete option
How to Restore a Session on a Server?
Answer Developer gets disconnected from the
#1 server if the server
goes down or if there is a problem in
the network.
Donot close the developer.If you close
the developer you
wont 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 retsore your
session.

In what folder is the webMethods documentation for Broker located?


Answer Broker documentation can be located in the
# 1 following
directory.
<Webmethods installation Diretory>/Broker/docs.

For this broker needs to be installed on the system


How Java Services Are Organized on the webmethods Server?
Answer All Java services in one particular
#1 location are stored as
functions in 1 Java Class.

Re: Can you spell SAP, ERP, CRM, XML and EDI properly?
Answer Systems appications & Products
# 1 Enterprise Resource Planning
Customer Relationship Management
Extended Markup language
Electronic Data Processing
What Are Transformers?
Answer Transformers are the services you use
#1 to accomplish value
transformations on the Pipeline
tab.
You can only insert a transformer into
a MAP step.
You can use any service as a
transformer.
This includes any Java, C or flow
service that you create
and any built-in
services in WmPublic, such as the
pub.date.getCurrentDateString and the
pub.string.concat
services. By using transformers, you
can invoke multiple
services (and perform multiple
value transformations) in a single flow
step.

What Is a Replication Service?


Answer Replication Service is one that IS automatically
# 1 executes
when it prepares to replicate a package

What Happens When a Breakpoint is Encountered?


Answer When you execute a service that
#1 contains a breakpoint or
call a child service that contains a
breakpoint, the
service is executed up to, but not
including, the
designated breakpoint step. At this
point, processing stops
and will not resume until you select
another one of
Developer?s debugging commands.

Note : if you want Developer to stop at


subsequent
breakpoints, you must select the Trace
Into command.)

When and why should we use transformers and flow services? How are they different from each other?
Answer Mapping is the process of performing
#1 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
What is the difference between a system locked element and a read-only element?
Answer none,system lock is a term used in
#1 webmethods platform to
denote an element that has read-only
files on the webmethods
integration server.

Can we multi-select elements to lock or unlock in the Navigation Panel?


Answer yes
#1 but ur selection does not contain :
1:server
2:folder or package and its content
3:package and any other element
4:adapter notification record

When Is a Copy of the Input Pipeline Saved in the Audit Log?


Answer u need to set the properties allow pipeline in auditlog
# 1 properties

How to Create an ACL?


Answer Sorry to all , previously i gave only half answer for
# 2 the
question.

We can able to create the users and groups for the


particular ACL wecan create like security-->users
and
groups->(on IS).There we can define the users names
in the
particular group
What Is Data Validation?
Answer Data Validation is the process of
#1 verifying that run-time
data conforms to a predefined structure
and format. It also
verifies that the run-time data is a
specific datatype and
falls within a defined range of values
webMethods Interview Questions

1.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.

2.What are the Major categories of EAI?

Integration can be at different application layers:

 Data Level Integration:


1. Batch data transfer, OR
2. On-line propagation of data updates
 API Level Integration:
1. Data is accessed through published API services
 Service Method Level Integration:
1. Common services shared by different applications
 User Interface Level Integration:The controller reacts to the user input. It
creates and sets the model.
1. Common user interface (e.g. web based) for unified access to multiple
applications.

3.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.

4.What are the disadvantages of EAI?

The main disadvatages 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.

5.What are the main companies which provide EAI tools / software?
 TIBCO
 webMethods
 Vitria
 iPlanet
 MQSeries (IBM)
 iPlanet
 BizTalk (Microsoft)
 WebLogic (BEA)

6.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.

7.What are the modules of webMethods Product Suite?


 Integration and B2B
 Service Oriented Architecture
 Business Process Management
 Business Activity Monitoring

8.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

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 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.

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. Do not close the developer. If you close the developer you wont
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 retsore 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 can not 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 know as structural transformations.

40.How to Move Flow Steps?

Open the webMethods developer in EditPrespective. Select the flow step u wanna move
just drag it to the place u want to move. Otherwise use the arrow buttons on the editor
pannel 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 readable.
Right Click on the elemet 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 referesh 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
pannel.and 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 IntegrationServer\
bin\server.bat or IntegrationServer/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.

49.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()); }\\

50.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.

51.How should I organise 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.

52.How to preserve existing pipeline before a restorePipeline 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.

53.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.
54.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

55.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

56.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

57.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

58.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 .

59.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

60.TThe 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

1. In what folder is the webMethods documentation for Broker located?


It is located in programfiles/webmethods6.5/broker/doc folder...

2. In what folder is the webMethods documentation for the Broker Admin package
located

A: It is located in programfiles/webmethods6.5/broker/doc folder...

3.How many minutes have you spent in your lifetime reading documentation or actually
(gasp) working with any webMethods product on a real project?

ANS:30 mins

4.Do you buy stocks or bonds from a Broker?ANS:NO

You might also like