The Render Web Service

The RenderService class provides the functionality that allows the client application to query task information and submit new tasks. To call any RenderService Web method, the client must first log on and receive a valid ticket.

RenderService Authentication

The ticket information is encapsulated in a custom SoapHeader class called TicketHeader. Although this class defines four pieces of information, not all of this information will be present at the same time. That’s because username and password information is erased immediately after login, and at the same time the corresponding user ID and ticket GUID are inserted. (See Example 18-16.)

Example 18-16. The SOAP authentication header

Public Class TicketHeader     Inherits SoapHeader ...

Get Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.