Page History: Web Service: Login Interface
Compare Page Revisions
Page Revision: 2009/10/11 22:49
Web Service: Login Interface
The Jetfire Web Service has a Login service included with it. The Client must log in to gain access to data in a Jetfire subscription. Login includes:
- Login as Guest
- Login as a named user
Login as Guest
The Login as Guest interface sends the following message to the server.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<LoginGuest xmlns="http://Jetfire.ca/WebService">
<subscription>string</subscription>
</LoginGuest>
</soap:Body>
</soap:Envelope>
The required parameters are:
Login as Named User
The Login as Named User interface sends the following message to the server.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Login xmlns="http://Jetfire.ca/WebService">
<user>string</user>
<password>string</password>
<subscription>string</subscription>
</Login>
</soap:Body>
</soap:Envelope>
The required parameters are:
- User name
- Password
- Subscription
Login as Guest with Encryption
Encryption may be used with the Web Service interface. Additional parameters are used as part of login to specify the encryption direction and the encryption seed.
The Login as Guest interface sends the following message to the server.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<LoginGuestWithEncryption xmlns="http://Jetfire.ca/WebService">
<subscription>string</subscription>
<direction>string</direction>
<encryptionKey>string</encryptionKey>
</LoginGuestWithEncryption>
</soap:Body>
</soap:Envelope>
The required parameters are:
- Subscription
- Encryption Direction - the direction of the encryption
- Client to Server
- Server to Client
- Both directions
- Encryption Seed - a four character string used as a seed