The output template of a service is returned to HTTP clients when that service is called via HTTP.
If a generic service like TN recieve is what the partner calls and your service is called via a routing rule, your service’s template will not be returned.
There are two options:
-
Create a new entry point service that has the desired output template and all it does is call tn receive. It may be a bit tricky based on your routing rules to match an entry point with the desired template, so there is option #2.
-
There is a WmPublic service pub.flow:setResponse which allows for the exact response of the service call to be set. Within your service call the appropriate WmPublic pub.report service to apply the template to the pipeline and call setResponse with the result. This is also make it easy to look at the HTML to be returned within your service.
HTH,
Fred
#Integration-Server-and-ESB#webMethods#webMethods-General