Portal
Klicken Sie hier, um die vollständige Vorgangsliste anzuzeigen.
login
überprüft User
Rückgabewerte:
1-STATUS_LOGINFEHLER
2-STATUS_IST_ADMIN
3-STATUS_IST_USER
7-STATUS_DATENBANKFEHLER
10-STATUS_KEINE_ERLAUBNIS_FUER_ANWENDUNG
17-STATUS_IST_KOORDINATOR
120-STATUS_LOGIN_BEREITS_ANGEMELDET
Test
Klicken Sie auf die Schaltfläche 'Aufrufen', um den Vorgang mit dem HTTP POST-Protokoll zu testen.SOAP 1.1
Es folgt ein Beispiel für eine SOAP 1.1-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /portal.asmx HTTP/1.1
Host: securelohn.brz.de
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "BRZPostfachServer/login"
<?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:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="BRZPostfachServer" xmlns:types="BRZPostfachServer/encodedTypes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<tns:login>
<kundenNr xsi:type="xsd:string">string</kundenNr>
<betriebsNr xsi:type="xsd:string">string</betriebsNr>
<anwendung xsi:type="xsd:string">string</anwendung>
<user xsi:type="xsd:string">string</user>
<password xsi:type="xsd:string">string</password>
</tns:login>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?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:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="BRZPostfachServer" xmlns:types="BRZPostfachServer/encodedTypes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<tns:loginResponse>
<loginResult href="#id1" />
</tns:loginResponse>
<types:LoginDO id="id1" xsi:type="types:LoginDO">
<status xsi:type="xsd:string">string</status>
<rUserTyp xsi:type="xsd:string">string</rUserTyp>
<session_id xsi:type="xsd:string">string</session_id>
<session_timeout xsi:type="xsd:string">string</session_timeout>
<nachricht xsi:type="xsd:string">string</nachricht>
</types:LoginDO>
</soap:Body>
</soap:Envelope>
SOAP 1.2
Es folgt ein Beispiel für eine SOAP 1.2-Anforderung und -Antwort. Die angezeigten Platzhalter müssen durch tatsächliche Werte ersetzt werden.
POST /portal.asmx HTTP/1.1
Host: securelohn.brz.de
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="BRZPostfachServer" xmlns:types="BRZPostfachServer/encodedTypes" xmlns:rpc="http://www.w3.org/2003/05/soap-rpc" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body soap12:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<tns:login>
<kundenNr xsi:type="xsd:string">string</kundenNr>
<betriebsNr xsi:type="xsd:string">string</betriebsNr>
<anwendung xsi:type="xsd:string">string</anwendung>
<user xsi:type="xsd:string">string</user>
<password xsi:type="xsd:string">string</password>
</tns:login>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="BRZPostfachServer" xmlns:types="BRZPostfachServer/encodedTypes" xmlns:rpc="http://www.w3.org/2003/05/soap-rpc" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body soap12:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<tns:loginResponse>
<rpc:result xmlns="">loginResult</rpc:result>
<loginResult soapenc:id="id0" xsi:type="types:LoginDO">
<status xsi:type="xsd:string">string</status>
<rUserTyp xsi:type="xsd:string">string</rUserTyp>
<session_id xsi:type="xsd:string">string</session_id>
<session_timeout xsi:type="xsd:string">string</session_timeout>
<nachricht xsi:type="xsd:string">string</nachricht>
</loginResult>
</tns:loginResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
Folgendes ist eine Beispielanforderung und -antwort für HTTP GET. Die angezeigten Platzhalter müssen durch richtige Werte ersetzt werden.
GET /portal.asmx/login?kundenNr=string&betriebsNr=string&anwendung=string&user=string&password=string HTTP/1.1 Host: securelohn.brz.de
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <LoginDO xmlns="BRZPostfachServer"> <status>string</status> <rUserTyp>string</rUserTyp> <session_id>string</session_id> <session_timeout>string</session_timeout> <nachricht>string</nachricht> </LoginDO>
HTTP POST
Folgendes ist eine Beispielanforderung und -antwort für HTTP POST. Die angezeigten Platzhalter müssen durch richtige Werte ersetzt werden.
POST /portal.asmx/login HTTP/1.1 Host: securelohn.brz.de Content-Type: application/x-www-form-urlencoded Content-Length: length kundenNr=string&betriebsNr=string&anwendung=string&user=string&password=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <LoginDO xmlns="BRZPostfachServer"> <status>string</status> <rUserTyp>string</rUserTyp> <session_id>string</session_id> <session_timeout>string</session_timeout> <nachricht>string</nachricht> </LoginDO>