After you have imported and deployed the sample, you can run it by using the instructions later in this section, see Running the sample.
This section also includes an example input test message and a corresponding expected output message, so that you can confirm that the sample has worked.
If you encounter any problems when you run the sample, see Resolving problems when running samples in the WebSphere Message Broker documentation.
The test message that is used to run this sample is based on the following format:
<ConvertTemp>
<Temp>5</Temp>
<FromUnit>Celsius</FromUnit>
<ToUnit>Fahrenheit</ToUnit>
</ConvertTemp>
This sample uses the SingleWebServiceinMQFlow message flow. The flow uses one input queue called TEST.IN and one output queue called TEST.OUT. These queues are automatically created, under the default queue manager, by the sample wizard when you deploy the sample.
To run the sample:
The sample is complete if all of the previous steps were successful. Look at the Java code in the SingleWebServiceinMQFlow message flow to see how this sample works.
The following message is the expected output message:
<ConvertTempResult>41.0</ConvertTempResult>