kb:ws:sifarnici_subgroupsavailable

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
Next revisionBoth sides next revision
kb:ws:sifarnici_subgroupsavailable [2016/03/02 12:55] – [Parametri] milanokb:ws:sifarnici_subgroupsavailable [2020/08/06 09:29] – [SOAP Response (primer)] aleksandar
Line 19: Line 19:
 ===== Parametri ===== ===== Parametri =====
  
-^Naziv ^Vrsta ^Opis | +^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
-|groupID |Integer |Identifikacioni broj grupe (kataloga) odgovarajućeg [[:kb:ws:entiteti:katalog|Katalozi ]]entiteta. |+|groupID|Integer|Identifikacioni broj grupe (kataloga) odgovarajućeg [[:kb:ws:entiteti:katalog|Katalozi ]]entiteta.|19-6-11|
  
-==== SOAP Request (primer) ====+\\ 
 + 
 + 
 +==== SOAP zahtev (primer) ====
  
 <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/"> +POST https://ws.melany.rs:8191/Assets/Assets HTTP/1.
-    <SOAP-ENV:Header/> +Accept-Encoding: gzip,deflate 
-    <S:Body> +Content-Type: text/xml;charset=UTF-8 
-        <ns2:SubGroupsAvailable xmlns:ns2="http://services.bort.com/"+SOAPAction: "
-            <sessToken>16030213264130618036</sessToken> + 
-            <groupID>145011</groupID> +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.bort.com/"> 
-        </ns2:SubGroupsAvailable> +   <soapenv:Header/> 
-    </S:Body>+   <soapenv:Body> 
 +      <ser:SubGroupsAvailable> 
 +         <sessToken>20010110584722719004</sessToken> 
 +         <groupID>0</groupID> 
 +      </ser:SubGroupsAvailable> 
 +   </soapenv:Body> 
 +</soapenv:Envelope> 
 + 
 +</code> 
 +==== SOAP odgovor ==== 
 + 
 +<code> 
 +HTTP/1.1 200 OK 
 +Server: GlassFish Server Open Source Edition  4.1.2 
 +X-Powered-By: Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition  4.1.2  Java/Oracle Corporation/1.8) 
 +Server: grizzly/2.3.23 
 +Content-Type: text/xml; charset=utf-8 
 + 
 +<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> 
 +   <S:Body> 
 +      <ns2:SubGroupsAvailableResponse xmlns:ns2="http://services.bort.com/"/> 
 +   </S:Body>
 </S:Envelope> </S:Envelope>
 +
 </code> </code>
 +
  
 ==== SOAP Response (primer) ==== ==== SOAP Response (primer) ====
  
 <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:SubGroupsAvailableResponse xmlns:ns2="http://services.bort.com/">+Server: grizzly/2.3.23 
 +Content-Typetext/xml; charset=utf-
 + 
 +<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> 
 +   <S:Body> 
 +    <ns2:SubGroupsAvailableResponse xmlns:ns2="http://services.bort.com/">
             <return>             <return>
                 <ID>145021</ID>                 <ID>145021</ID>
Line 57: Line 88:
                 <ID>145041</ID>                 <ID>145041</ID>
                 <katID>145011</katID>                 <katID>145011</katID>
-                <naziv>Kaiševi i narukvice</naziv>+                <naziv>Kaiševi i narukvice</naziv>
             </return>             </return>
         </ns2:SubGroupsAvailableResponse>         </ns2:SubGroupsAvailableResponse>
     </S:Body>     </S:Body>
 </S:Envelope> </S:Envelope>
 +
 </code> </code>
  
-\\ 
  
  • kb/ws/sifarnici_subgroupsavailable.txt
  • Last modified: 2020/08/06 09:30
  • by aleksandar