Skip to content

a simple client for communicating with sess.sku.ac.ir WSDL-SOAP-based web services of Shahrekord Unievrsity

License

Notifications You must be signed in to change notification settings

SKU-IT/SESS-webservice-client

Repository files navigation

Shahrekord University

SESS Web Service

a simple client for communicating with https://sess.sku.ac.ir WSDL-SOAP-based web services

Methods

First, you should get a key by calling GetKey. Then you should call Login. For every operation you should make a result list on server by SetList and get its elements part by part.

Response of each method is in form of Code&Key[&Res]. Response code 000 means success, while any other response code means occurrence of error. (See Error Codes.)
In each method invocation, except GetKey, you should use MD5(KeyOfPreviosMethodCall + MD5(Password)) as Pass parameter. Calling GetKey doesn't need any Pass parameter.

GetKey

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetKey>
         <tem:UserId>?</tem:UserId>
      </tem:GetKey>
   </soapenv:Body>
</soapenv:Envelope>

Login

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:Login>
         <tem:UserId>?</tem:UserId>
         <tem:Pass>?</tem:Pass>
         <tem:Gate>?</tem:Gate>
      </tem:Login>
   </soapenv:Body>
</soapenv:Envelope>

SetList

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SetList>
         <tem:UserId>?</tem:UserId>
         <tem:Pass>?</tem:Pass>
         <tem:Condition>?</tem:Condition>
      </tem:SetList>
   </soapenv:Body>
</soapenv:Envelope>

GetList

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetList>
         <tem:UserId>?</tem:UserId>
         <tem:Pass>?</tem:Pass>
         <tem:Start>?</tem:Start>
         <tem:Count>?</tem:Count>
      </tem:GetList>
   </soapenv:Body>
</soapenv:Envelope>

Web-services

StdService

Get information about students.

For more details, please review the web-service docs or its WSDL version.

Gates

PersonalInfo

Returns NationalCode, SID, FirstName, LastName, Email, Level, FieldName, CurrentAcadState, Intrant, ExitSemester, and Thesis of students matching condition, in a CSV-like format.

Error Codes

GetKey

Error Code Detail
001 ‫کاربر وجود ندارد یا مجوز اتصال به وب سرویس را ندارد.‬

Login

Error Code Detail
001 ‫وب سرویس یافت نشد.‬
002 ‫کاربر مجوز استفاده از این وب سرویس را ندارد.‬
064 ‫شناسه کاربری یا کلمه رمز غلط است.‬

SetList

Error Code Detail
001 ‫کاربر به این وب سرویس وارد نشده است.‬
002 ‫کاربر مجوز استفاده از این وب سرویس را ندارد.‬
003 ‫عبارت جستجو نباید شامل حروف کنترل باشد.‬
004 ‫متن خطای داخلی‬
064 ‫شناسه کاربری یا کلمه رمز غلط است.‬

GetList

Error Code Detail
001 ‫کاربر به این وب سرویس وارد نشده است.‬
002 ‫کاربر مجوز استفاده از این وب سرویس را ندارد.‬
003 ‫عملیات جستجو انجام نشده است.‬
064 ‫شناسه کاربری یا کلمه رمز غلط است.‬

About

a simple client for communicating with sess.sku.ac.ir WSDL-SOAP-based web services of Shahrekord Unievrsity

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages