Integration Server 10.5 | Dynamic Server Pages and Output Templates Developer's Guide | Using Dynamic Server Pages (DSPs) | Using the DSP Tags | Invoking Services Using the %invoke% Tag
 
Invoking Services Using the %invoke% Tag
 
What Is Scope?
You use the %invoke% tag to invoke a service in a DSP. When this tag is processed, Integration Server executes the specified service at the point where the tag appears and returns the results of the service to the DSP processor.
The basic format of the %invoke% tag is as follows, where serviceName is the fully qualified name of the service that you want to invoke:
%invoke serviceName%
Block of Code
[%onerror%
Block
of Code
]
%end%
Example
.
.
.
%invoke orders:getShipInfo%
<p>
Date Shipped: %value shipDate%<br>
Carrier: %value carrier% %value serviceLevel%
</p>
%onerror%
%include standarderror.txt%
%endinvoke%
.
.
.