Python WSRF Programmers' Tutorial
Prev
Next
II. GT4 Core
Table of Contents
3.
Writing a NON-WSRF Stateful Web Service
3.1.
Step 1: Defining the interface in WSDL
3.1.1.
The WSDL code
3.2.
Step 2: Create a New WSRF Site
3.2.1.
wsdl2web.py
3.3.
Step 3: Implement the service
3.4.
Step 4: Deploy the service
3.5.
Barebones MathService client.
4.
Writing a WS-RF Service with Multiple Resources
4.1.
The WS-Resource factory pattern
4.2.
Implementing the WS-Resource factory pattern in pyGridWare
4.3.
Create a New Site
4.4.
Resource Creation, Modification, and Destruction
4.5.
Finished MathService Service
4.6.
MathService.wsdl: WSDL code for a WSRF service
4.7.
Installing the MathService.rpy script
4.8.
The ResourceHome and Persistence
4.9.
Sample Client using an
EndpointReference
5.
Resource Properties
5.1.
A closer look at resource properties
5.1.1.
Standard interfaces
5.2.
Extending The MathPortType: A New WSDL file
5.3.
Create a New Site
5.4.
New MathService.rpy Script
5.5.
Client code
5.5.1.
Invoking
GetResourceProperty
5.5.2.
Invoking
SetResourceProperties
to update
5.5.3.
Invoking
GetMultipleResourceProperties
6.
Lifecycle Management
6.1.
Immediate destruction
6.1.1.
Overview: Directions to add immediate destruction to our service
6.1.2.
Generated WSRF Service:
generated/MathLTService/services/MathLTService/MathService.py
6.1.3.
Sample Client
6.1.4.
Run the client:
6.2.
Scheduled destruction
6.2.1.
Overview: Directions to add scheduled destruction to our service
6.2.2.
Generated Stub Service: pyGridWare.generated.services.math.MathService
6.2.3.
client_set_termination_time.py
6.2.4.
Run the client:
6.3.
Immediate and Scheduled Termination MathService WSDL
7.
Notifications
7.1.
What are notifications?
7.2.
WS-Notifications
7.2.1.
WS-Topics
7.2.2.
WS-BaseNotification
7.2.3.
WS-BrokeredNotification
7.3.
Notifications in GT4
7.4.
Notifying changes in a resource property
7.4.1.
Create a New Site with a NotificationProducer Service
7.4.2.
Generated WSRF Service:
generated.MathNPService.services.MathNPService.MathService.MathServiceWSRF
7.4.3.
Using the NotificationConsumer Client
7.4.4.
Run the client:
7.5.
MathService WSDL NotificationProducer
Prev
Home
Next
Installation
Writing a NON-WSRF Stateful Web Service