You don’t need to use any service to invoke a processing rule. On TN, just go to the processing rule tab. Select the Create new processing rule option. A new tab will appear in front of you where you can give the processing rule name. There will be four tabs, first tab will be for criteria. If you haven’t specified any sender or receiver, leave them as any. In the document type section select the ‘Selected’ option. Browse by clicking on the browsing button on left. This will display a list of document types. Select the document type that you hv created.
In the third tab Action. There are various options with checkboxes. One of them is for executing a service. You can select a service you want to execute in this option. The service will be executed once this rule is invoked. Also you can change the user status accordingly by checking the third option there and providing the stsatus that you want to display.
When you route a document to TN, if no processing rule is specified for that doc then the default processing rule is selected. You can see this in the transactions section by double clicking on the document typet hat you hv routed to TN. A tab will appear which will show the activity log.
Also one thing to rmmbr, the processing rules are invoked in the order they are listed in the processing rule section. So if the Default rule is above the processing rule u created then the default rule will be executed first.
For more info please refer to the TN user guide.
#Integration-Server-and-ESB#B2B-Integration#webMethods