Many times the data that you want to use is not available directly from the database. Instead it is made available to applications through a web service. InRule provides robust functionality for interacting with web services right from the rule authoring environment. In irAuthor a technical user generally sets up the connection to the web service. Then less technical users can map data into and back out of the web service.
Following is an example showing how a web service is used to set the value of the sales tax amount on an order:
Input mappings that show the subtotal of the order and the State/Province code are used to calculate the sales tax amount:
Output mappings that show the sales tax amount on the order will be set with the return value from the web service: