Developer

  

   

webMethods Developer is a graphical development tool that you use to build, edit, and test integration logic. Developer lets you rapidly construct integration logic with an easy to use implementation language called the webMethods flow language. The flow language is the heart of a web Methods-implemented Web service It helps the developer to assemble various services and database transactions into a new service. Services can be built upon another services and flow language combines services with business logic. The Flow Language (Flow) defines a set of operations for processing XML documents. Together with built-in and user-defined services, these operations form the building blocks for receiving or producing XML business documents and integrating them into an organization's existing enterprise systems

. and to display. and publish Web services. You use the Properties panel to view and edit the properties for an item.What Does the Developer Window Contain?       Navigation panel. Editor. and to view the contents of those variables. copy. You use the Recent Elements tab to quickly access elements you have recently viewed. Results panel. You use the Navigation panel to select. filter. You use the editor to examine and edit an element you opened from the Navigation panel Properties panel. Recent Elements tab. You use the Results panel to view the result of a service¶s execution. lock. to view the variables that a service adds to the pipeline. UDDI Registry tab. move. You use the UDDI Registry tab to connect to and disconnect from a UDDI Registry. or rename elements. delete.

.

IS schemas.€ € € € € Element :An element is an item that exists in the Navigation panel in webMethods Developer. and output templates. A replication service executes when the Integration Server Administrator creates a package release Replication services provide a way for a package to persist state or configuration information so that these are available when the published package is activated on the remote server. Startup Service : A startup service is one that Integration Server automatically executes when it loads a package into memory. IS document types. . Shutdown Service : A shutdown service is one that the Integration Server automatically executes when it unloads a package from memory. Package: A package is a container that is used to bundle services and related elements. Replication Service : A replication service is one that Integration Server automatically executes when it prepares to replicate a package. such as specifications.

During this stage. Inserting flow steps into the new service. During this stage you can create an output template to format the service output. Mapping pipeline data. Specifying the run-time parameters. Declaring the input and output parameters of the service. you assign parameters that configure the run time environment for this service. you route input and output variables between services that are invoked in the flow. Testing and debugging. you define the service¶s inputs and outputs. During this stage. During this stage. you specify the work that you want the service to perform by adding flow steps to the service. you create the new service on the webMethods Integration Server where you will do your development and testing. During this stage.Process Flow € € € € € € € Creating a new service on webMethods Integration Server. During this stage. Formatting service output. . During this stage you can use the tools provided by Developer to test and debug your flow service.

1) Invocation Steps 2) Data-Handling Steps 3) Control Steps INVOKE step MAP step BRANCH step LOOP step REPEAT step SEQUENCE step EXIT step .What Is a Flow Step € € € € € € € € € A flow step is a basic unit of work that web Methods Integration Server interprets and executes at run time. Flow Language provides variety of built in flow steps.

y Properties of Invoke Service: Service: The fully qualified name of the service at runtime Timeout: Specifies the maximum number of seconds that this step should run. y Invoke any service. bear in mind that you must provide a means to end the recursion. Validate input: Whether or not you want the server to validate the input service against the service input signature. Validate output Whether or not you want the server to validate the output of the service against the service output signature. including other flow services and Web service connectors. If you use a flow service recursively. y Invoke built-in services and services on other webMethods Integration Servers. y Invoke any type of service. validating its input and/or output. y Invoke any service for which the caller of the current flow has access rights on the local webMethods Integration Server. y Invoke flow services recursively (that is.€ The INVOKE y INVOKE step to request a service within a flow. . a flow service that calls itself).

In the Properties panel for the BRANCH step. At run time.Branch Steps € € The BRANCH step allows you to conditionally execute a step based on the value of a variable at run time. In the Label property of each target step. y Branch on an expression: Use an expression to determine which child step executes. It executes the child step whose label matches the value of the switch. specify the value that will cause that step to execute.´ . the BRANCH step matches the value of the switch variable to the Label property of each of its targets. Create a list of the conditional steps (target steps) and make them children of the BRANCH step. you can: y Branch on a switch value: Use a variable to determine which child step executes. At run time. When you build a BRANCH step. the BRANCH step evaluates the expression in the Label property of each child step. It executes the first child step whose expression evaluates to ³true. specify in the Switch property the name of the pipeline variable whose value will act as the switch.

In the Properties panel for the BRANCH step. y To specify the default alternative of a BRANCH step. The BRANCH step considers a switch value to be null if the variable does not exist in the pipeline or is explicitly set to null. will cause the target step to execute. The expressions you create can include multiple variables and can specify a range of values for variables. you can include target steps that match null or empty switch values. set Evaluate labels to True. y Branching on Null and Empty Values When you build a BRANCH step. A null value Set the Label property to $null. the BRANCH step executes the target step with the $null label if the switch variable is explicitly set to null or does not exist in the pipeline. In the Label property of each target.Create a list of the conditional steps (target steps) and make them children of the BRANCH step. . when true. set the Label property to $default. At run time. specify the expression that.

y -1 or blank Re-executes children as long as the specified Repeat on condition is true. This option is useful for repeating a process as long as a particular set of circumstances exists. you set the Repeat on property to specify the condition (success or failure) that will cause its children to re-execute at run time. € Setting the REPEAT Counter: y 0 Does not re-execute children. € Specifying the REPEAT Condition: When you build a REPEAT step. This option is useful to accommodate transient failures that might occur when accessing an external or device. y Re-execute a set of steps until one of the steps within the set fails. € . y Re-execute (retry) a set of steps if any step within the set fails. y FAILURE Re-executes the set of child steps if any step in the set fails.The REPEAT Step The REPEAT step allows you to conditionally repeat a sequence of child steps based on the success or failure of those steps. y Any value > 0 Re-executes children up to this number of times. y SUCCESS Re-executes the set of child steps if all steps in the set complete successfully.

For details about this use of the SEQUENCE step. . any changes that it made to the pipeline are rolled back (undone). If a child fails under this condition. one after another. Steps in a group are executed in order. Exit on DONE(Catch): Execute every step in the sequence even if one of the steps in the sequence fails. Exit on success(Main): Exit the sequence when any step in the sequence succeeds. the server considers the SEQUENCE step successful. Exit on Failure(try): Exit the sequence when a step in the sequence fails. y To group a set of steps as a single alternative beneath a BRANCH step. When a SEQUENCE exits under this condition. and processing continues with the next child step in the SEQUENCE. This is the default behavior of a sequence of steps.The SEQUENCE Step € € € € You use the SEQUENCE step to build a set of steps that you want to treat as a group. This setting is useful if you have a series of steps that build upon one another. y To specify the conditions under which the server will exit a sequence of steps without executing the entire set. even if all its children fail.

. Document list. At run time.The LOOP Step € € € The LOOP step repeats a sequence of child steps once for each element in an array that you specify. 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. the LOOP step executes one pass of the loop for each member in the specified array. The array you specify can be any of the following data types: y String list. String table. Object list. This variable must be one of the following types: String list.Object list Properties: y Comments: descriptive comment y Scope: The name of a document (IData object) in the pipeline to which you want to restrict this step. Document list. String table. y Timeout: The maximum number of seconds that this step should run y Label: An optional name for this specific LOOP step. . y Input array: The name of the array variable on which the LOOP will operate. y Output array: The name of the element that you want the server to collect each time the LOOP executes. or a null.

When you use the EXIT step. Label Nearest ancestor flow step that has a label that matches this value. You specify whether you want to exit from: y The nearest ancestor (parent) LOOP or REPEAT flow step to the EXIT flow step. Properties: y Exit from: $loop Nearest ancestor LOOP or REPEAT flow step. . y The entire flow service. y Signal Whether the exit is to be considered a success or a failure. y The parent flow step of the EXIT flow step. an exception is thrown. you indicate whether exiting should return a successful condition or a failure condition. If the exit is considered a failure. regardless of the type of step.The EXIT Step € € € The EXIT flow step allows you to exit the entire flow service or a single flow step. $flow Entire flow. y Failure message The text of the exception message you want to display. You can specify the text of the error message that is displayed by typing it directly or by assigning it to a variable in the pipeline. y A specified ancestor flow step to the EXIT flow step. $parent: Parent flow step.

y Map documents form one format to another. and dropping variables in the pipeline. y Move variables or assign values to variables in the pipeline. When you build a MAP step. . y Invoke several services (transformers) in a single step. you can map a document y in an XML format to an ebXML format or a proprietary format.The MAP Step € € The MAP step lets you adjust the contents of the pipeline at any point in a flow service. y Initialize the input values for a flow service. adding. y Clean up the pipeline after a preceding step by removing fields that the step added but are not needed by subsequent steps. For example. you can: y Prepare the pipeline for use by a subsequent step in the flow service by linking.

but the data type or position of the variable in the document (IData object) structure changes. y Structural transformations where different data structures represent a data item. but the name of the variable changes. When you perform value transformations. but the data contained in the variable changes. By mapping.Data Mapping € Data mapping is the process of performing transformations to resolve data representation differences between services or document formats. When you perform structural transformations. the value of the variable remains the same. y Value transformations where different formats represent the same value. the name and position of the variable remain the same. the value and position of a variable in the document (IData object) structure remain the same. . you can accomplish the following types of data transformations: y Name transformations :where different variable names represent the same data item When you perform name transformations.

o We can MAP the inputs and outputs available in the pipeline by making a Link between them in Pipeline o We can also add a transformer between input and output in the Pipeline . o A service's input fields are expected to be in the pipeline when the service is invoked and a service is expected to add its output fields to this same pipeline.What is a Pipeline o A "data Structure" used to collect the input and output fields of services in a Flow.

We can only insert a transformer into a MAP step. . We can use any service as a transformer. This includes any Java.date.string.concat services.getCurrentDateString and the pub. C or flow service that user creates and any built-in services in WmPublic.What Are Transformers?      Transformers are the services you use to accomplish value transformations on the Pipeline tab. such as the pub. developer can invoke multiple services (and perform multiple value transformations) in a single flow step. By using transformers.

webMethods Integration Server clients can create and run services that execute transactions to retrieve data from.What is Adapter? Adapter Is a component of Web methods which is used To Connect IS to different backend systems Adapters Available in WebMethods:  JDBC Adapter  JMS Adapter  MQ Adapter  MainFrame Adapter  PeopleSoft Adapter  EJB Adapter  Custom Adapters € Main Purpose Of JDBC Adapter  The webMethods JDBC Adapter is an add-on to the webMethods Integration Platform that enables you to exchange data with relational databases through the use of a JDBC driver. and insert and update data in.  Using the JDBC Adapter. relational databases.  .

jar in C:\Program Files\webMethods6\IntegrationServer\lib folder and C:\Program Files\webMethods6\IntegrationServer\packages\WmJDBCAdapt er\code\jars Step3) Unzip the file javaxsql in C:\Program Files\webMethods6\IntegrationServer\packages\WmJDBCAdapt er\code\jars folder if it is not unzipped there. Create the JDBC adapter services using WM developer. Create a JDBC adapter connection using WM admin console.JDBC Adapter Work Flow 1) 2) 3) Set all the required system parameters and system classpath.4.jar and C:\j2sdk1. .2\bin Step2) Incase of oracle configuration Place Classes12.4. € JDBC Adapter Work Flow-System Settings Step1) Set class path's C:\j2sdk1.2\lib\tools.

Creating JDBC Connection Step1) Choose the JDBC Adapter option from the Adapter section of Administrator € Step2)Click on the Configure new Connection link and select the JDBC Adapter Connection option € Step3)Enter the Database connection parameters in the fields given and Click Save Changes € .

Step4)Enablel the connection by Clicking the Enabled->no option Step5)Check whether the connection is enabled or not .

Click Next .go to all Choice and select the Adapter Service option.Creating JDBC adapter service € Step1)Refresh the developer to view the created JDBC adapter connection Step2)Right click on the folder .

€ Step3) Select JDBC adapter and click next Step4)Select the JDBC Adapter Connection and click next Step5)Select JDBC Adapter template and click next .

€ Step5)Enter the JDBC Adapter service name and click finish Step6)Click on the tables option in the adapter service and select the table name Step6)Click on the select option in the adapter service and choose the required field from the table .

Please check the result in the result pane .Step7)Save the adapter service and run the service.

Main Purpose Of JMS Adapter   The webMethods JMS Adapter is an add-on to the webMethods Integration Platform that enables you to exchange messages with JMS providers through the use of the JMS APIs. from the Integration Server to systems that use Websphere MQ message queuing as their information interface. Main Purpose Of MQ Adapter . or any piece of information. The JMS Adapter enables you to configure the following components:  Adapter Connections  Adapter Services  Message Listener Notifications The Websphere MQ Adapter enables the Integration Server to exchange information with other systems through an IBM Websphere MQ message queue route documents.

The JDBC Adapter enables you to configure the following components:  Adapter connections  Adapter services  Adapter notifications € € . services.Supported databases By JDBC Adapter: € € € € € € € DB2 for AS/400 DB2 for OS/390 DB2 Universal Database (UDB) IBM Informix Microsoft SQL Server Oracle Sybase € € Architectural Overview: The JDBC Adapter provides a set of user interfaces. and templates that enable you to create integrations with databases using a JDBC driver. The adapter requires a supported JDBC driver to be installed and loaded in the packages directory of the Integration Server.

make sure the WmJDBCAdapter package is enabled. create a user-defined package to contain the connection. Install a compatible JDBC driver. Make sure you have webMethods administrator privileges so that you can access the JDBC Adapter¶s administrative screens. . Using the Developer. Before Configuring Install the webMethods Integration Server and the JDBC Adapter on the same machine.€ At a high level how an adapter service uses an adapter connection and a JDBC driver to connect to and perform an operation on a database. Using the Administrator. you must set an environment variable before you can configure the connection. If you use Oracle JDBC OCI drivers.

Sign up to vote on this title
UsefulNot useful