Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Building Services | A Process Overview
 
A Process Overview
Building a service is a process that involves the following basic stages:
Stage 1
Creating a new service on webMethods Integration Server.
During this stage, you create the new service on the webMethods Integration Server where you will do your development and debugging. For information about creating a flow service, see Creating a New Flow Service. For information about creating a Java service, see Creating a Java Service.
Stage 2
Adding logic to the new service.
During this stage, you specify the work that you want the service to perform.
If you are building a flow service, you add logic by inserting flow steps into the service. For more information, see Building Flow Services.
If you are building a Java service, you add logic to the source code for the service. For more information, see Building Java Services.
Stage 3
Declaring the service signature.
During this stage, you define the service’s inputs and outputs. For information about this stage, see About the Service Signature.
Stage 4
Mapping pipeline data.
If you are building a flow service, during this stage, you route input and output variables between services that are invoked in the flow. For information about this stage, see Mapping Data in Flow Services.
Stage 5
Specifying the run-time parameters.
During this stage, you assign parameters that configure the run-time environment for this service. For information about this stage, see About Service Run-Time Parameters.
Stage 6
Configure the circuit breaker.
During this stage, you determine whether you need to enable and configure a circuit breaker for the service which can prevent a failure in one part of the system from cascading to the rest of the system. For more information about this stage, see Using a Circuit Breaker with a Service.
Stage 7
Formatting service output.
During this stage you can create an output template to format the service output. For information about this stage, see About Service Output Templates or refer to the Dynamic Server Pages and Output Templates Developer’s Guide.
Stage 8
Debugging.
During this stage you can use the tools provided by Designer to run and debug your flow service. For information about this stage, see Running Services, Debugging Flow Services, and Debugging Java Services.
Note:
You can create templates with a set of pre-defined values for element properties. You can then apply the template when creating new instances of the element instead of setting the properties each time you create an element. For more information about the element property templates, see Using Property Templates with Elements.