You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Her servis çağırısında soap header'da sizin için tanımlı UserName , Password parametrelerini göndermeniz gerekmektedir.


Fonksiyon

Login2 (Username, Password);
Tanımı: Web Servis'e bağlanmak için gereklidir.

Request Body

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:soap12="https://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<Login xmlns="https://tempuri.org/">
<Username>string</Username>
<Password>string</Password>
</Login>
</soap12:Body>
</soap12:Envelope>

Response Body

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<LoginResponse xmlns="https://tempuri.org/">
<LoginResult>boolean</LoginResult>
</LoginResponse>
</soap:Body>
</soap12:Envelope>

Parametreleri


Parametre

Tip

Zorunlu Alan mı?

Açıklama

Username

String

Evet

Kullanıcı Adı

Password

String

Evet

Şifre





Login işleminden sonra DivaGateway'deki diğer metodlar aşağıda ekran görüntüsünde yer alan örnek kod bloğundaki gibi kullanılabilir.