kb:ws:sifarnici_groupsavailable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kb:ws:sifarnici_groupsavailable [2019/06/11 07:21] – [Parametri] aleksandarkb:ws:sifarnici_groupsavailable [2020/08/06 09:25] (current) – [SOAP Request (primer)] aleksandar
Line 23: Line 23:
  
 ^Naziv^Vrsta^Opis^Revizija| ^Naziv^Vrsta^Opis^Revizija|
-|sessToken|String|Jedinstveni niz znakova dobijen metodom [[:kb:ws:autorizacija_gettoken|GetToken]]() koji identifikuje korisničku sesiju.| |+|sessToken|String|Jedinstveni niz znakova dobijen metodom [[:kb:ws:autorizacija_gettoken|GetToken]]() koji identifikuje korisničku sesiju.|19-6-11|
  
 \\ \\
  
  
-==== SOAP Request (primer) ====+==== SOAP zahtev (primer) ====
  
-=====   =====+<code> 
 +POST https://ws.melany.rs:8191/Assets/Assets HTTP/1.1 
 +Accept-Encoding: gzip,deflate 
 +Content-Type: text/xml;charset=UTF-8 
 +SOAPAction: "" 
 + 
 +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.bort.com/"> 
 +   <soapenv:Header/> 
 +   <soapenv:Body> 
 +      <ser:GroupsAvailable> 
 +         <sessToken>20010110584722719004</sessToken> 
 +      </ser:GroupsAvailable> 
 +   </soapenv:Body> 
 +</soapenv:Envelope> 
 + 
 +</code> 
 + 
 + 
 +==== SOAP odgovor ====
  
 <code> <code>
-<?xml version="1.0" encoding="UTF-8"?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> +HTTP/1.1 200 OK 
-    <SOAP-ENV:Header/> +Server: GlassFish Server Open Source Edition  4.1.2 
-    <S:Body> +X-Powered-ByServlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition  4.1.2  Java/Oracle Corporation/1.8) 
-        <ns2:GroupsAvailable xmlns:ns2="http://services.bort.com/"> +Server: grizzly/2.3.23 
-            <sessToken>16030211482864773507</sessToken+Content-Typetext/xml; charset=utf-
-        </ns2:GroupsAvailable+ 
-    </S:Body>+<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> 
 +   <S:Body> 
 +      <ns2:GroupsAvailableResponse xmlns:ns2="http://services.bort.com/"
 +         <return
 +            <fldArtNaz/> 
 +            <fldBojNaz/> 
 +            <fldModNaz/> 
 +            <fldSklNaz/> 
 +            <fldTehNaz/> 
 +            <fldTipNaz/> 
 +            <ID>9917841</ID> 
 +            <naziv>Ciciban</naziv> 
 +            <sifPrfx/> 
 +            <velicFld>0</velicFld> 
 +         </return> 
 +         <return> 
 +            <fldArtNaz/> 
 +            <fldBojNaz/> 
 +            <fldModNaz/> 
 +            <fldSklNaz/> 
 +            <fldTehNaz/> 
 +            <fldTipNaz/> 
 +            <ID>9917861</ID> 
 +            <naziv>Grubin</naziv> 
 +            <sifPrfx/> 
 +            <velicFld>0</velicFld> 
 +         </return> 
 +         <return> 
 +            <fldArtNaz/> 
 +            <fldBojNaz/> 
 +            <fldModNaz/> 
 +            <fldSklNaz/> 
 +            <fldTehNaz/> 
 +            <fldTipNaz/> 
 +            <ID>9917851</ID> 
 +            <naziv>Todor</naziv> 
 +            <sifPrfx/> 
 +            <velicFld>0</velicFld> 
 +         </return
 +      </ns2:GroupsAvailableResponse
 +   </S:Body>
 </S:Envelope> </S:Envelope>
 +
 </code> </code>
  
-\\ 
  
 ==== SOAP Response (primer) ==== ==== SOAP Response (primer) ====
  • kb/ws/sifarnici_groupsavailable.1560237662.txt.gz
  • Last modified: 2019/06/11 07:21
  • by aleksandar