Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Running Services | Running a Service
 
Running a Service
When you run a service, you can select the launch configuration that Designer uses to run the service. If a launch configuration does not exist for a service, Designer creates a launch configuration and immediately prompts you for input values and then runs the service. Designer saves the launch configuration in your workspace.
Note:
If a flow service expects an XML document as input, you must create a launch configuration and debug the service.
*To run a service
1. In Package Navigator view, select the service you want to run.
2. In Designer: Run > Run As > Run Service
3. If multiple launch configurations exist for the service, use the Select Launch Configuration dialog box to select the launch configuration that you want Designer to use to run the service.
4. If the launch configuration is set up to prompt the user for input values or there is no launch configuration, in the Enter Input for serviceName dialog box, specify input values for the service.
If the service has no input parameters, Designer displays the No input dialog box stating a message to that effect. If you do not want Designer to display this message when the service is run again, select the Do not show this dialog again check box. You can reverse this selection by selecting Always show the No input dialog on the Run/Debug preferences page.
5. Click OK. For more information about supplying input values, see Entering Input for a Service.
Note:
If you type in input values, Designer discards the values you specified after the run. If you want to save input values, create a launch configuration. For instructions, see Creating a Launch Configuration for Running a Service.
Designer runs the service and displays the results in the Results view. If the launch configuration specifies an XML file to use as input, Designer submits the file to the server, which parses it into a node object and then passes it to the selected service.