Initialization or Termination Logic

Describes service interface code you can add to execute either before or after generated operation code.

You can customize your service interfaces by coding initialization or termination logic. This can be helpful for handling application-level security, for housekeeping tasks, or for executing standard code. Initialization code executes before the first operation of a service, and termination code executes just after completion of the last operation.