Technical Interview Questions and Answers :: WebMethod
pub.flow:savePipelineToFile - WmPublic. Saves the current pipeline to a file on the machine running webMethods Integration Server.This service is helpful in the interactive development or debugging of an application. In some cases, however, using the Pipeline debug property for the debugging of an application is more efficient.
pub.flow:savePipeline - WmPublic. Saves a pipeline into memory, for later retrieval with pub.flow:restorePipeline.After a successful invocation of savePipeline, a snapshot of pipeline fields will be saved in
memory under the key provided by $name. Note that because the pipeline is saved to memory, it will not be available after a server restart. This service is helpful in the interactive development or debugging of an application
WmPublic. Writes the names and values of all fields in the pipeline to the server log. Prior to Integration Server 7.1, Integration Server used a number-based system to set the level of debug information written to the server log. Integration Server maintains backward compatibility with this system.
WmPublic. Removes all fields from the pipeline. You may optionally specify fields that should not be cleared by this service.
Input - Preserve
Step 1: Create Appropriate Flat File Schema
Create a flat file schema to be used for conversion and validation of the document. Here we have first create a dictionary and then same set in schema.
Step2:Receive the Flat File
Invoke the pub.file:getFile service to retrieve the file from the local file system.
Step3 : Parse Flat File Data to an IS Document
To parse a flat file using a flat file schema, and to convert the data into IS documents. We can call the convertToValues service.
Step 4: Process the IS Document
Now we can process IS document .As per the requirements we can map the data.
·In the Developer Navigation Panel, select the saved flat file schema, click the Flat File Structure tab, and then click Icon â€˜Create Document Typeâ€™. This creates an IS document type in the same folder as the schema with the same name of Schema name. On the Pipeline tab under Service In, in the ffSchema variable specify the location and name of the flat file schema.
·Perform the following to add a Document Reference to the IS document type that is based on the flat file schema.
On the Pipeline tab click under Pipeline Out, Select Document Reference to add a new document reference variable or else choose the IS document type created in step 1 of this procedure .
·On the Pipeline tab under Service Out, map the value of the ffValues variable to the·document reference variable created in this procedure and save the service.
The Queue Capacity Throttle reduces the capacity and refill levels for all the trigger queues by the same percentage. For example, if you set the Queue Capacity Throttle to 50% of maximum, a trigger queue with a capacity of 10 and a refill level of 4 will have an adjusted capacity of 5 and an adjusted refill level of 2.
The Integration Server Administrator provides an Execution Threads Throttle that you can use to reduce the execution threads for all concurrent triggers by the same percentage. For example, if you set the Execution Threads Throttle to 50% of maximum,the Integration Server reduces the maximum execution threads for all concurrent triggers by half. A concurrent trigger with a maximum execution threads value of 6, has an adjusted maximum execution threads value of 3.
Triggers, specifically webMethods messaging triggers, establish subscriptions to publishable document types. Triggers also specify the services that will process documents received by the subscription. Within a trigger, a condition associates one or more publishable document types with a service.
Stay away from appendToDocumentList and use PSUtilities service addToList.
Performance is badly hit with appendToDocumentList.
IDATA type. This format can be processed be wM.
The trigger listening to that publishable document wont be invoked.
Whether you want to process the input all at one time.
false : Processes all input data at one time. This is the default.
true : Processes top level records (children of the document root) in the flat file schema one at a time. After all child records of the top level record are processed, the iterator moves to the top level of the next record in the flat file schema, until all records are processed =
Your responses will be stronger if you prepare well in advance for Webmethod Interview Questions, get most frequently asked top Basic and Advanced Webmethods interview questions and answers with detailed explanation.
This section covers Cognizant Webmethods Interview Questions Wipro Webmethods Interview Questions for freshers and experienced. It helps job seekers who are about to attend Interview for Webmethod Profile.
You can Compile a list of the Top/Favorite/Frequently asked Interview Questions/Answers and add to your "Reading List" and refer your Reading list questions whenever you want.