SID:SampleRetrieveBatch: verschil tussen versies

Uit Kennisnet Developers Documentatie
Naar navigatie springen Naar zoeken springen
(Nieuwe pagina aangemaakt met '==Request== This request retrieves the results of [SID:SampleSubmitECKIDBatch|ECK ID Batch request] <syntaxhighlight lang="xml"> POST https://service-t.id.school/e...')
 
(Wijzigingen n.a.v. laatste release)
 
(4 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 1: Regel 1:
==Request==
==Request==
This request retrieves the results of [SID:SampleSubmitECKIDBatch|ECK ID Batch request]
This request retrieves the results of [[SID:SampleBatchECKID|"Batch creation of ECK iD request"]]. The result of the erroneous stampseudonyms are highlighted in the response.


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml" line>
POST https://service-t.id.school/eck/ws/201703/ HTTP/1.1
POST https://service-s.ketenid.nl/eck/ws/201703 HTTP/1.1
Accept-Encoding: gzip,deflate
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://id.school/eck/schemas/v1_0/retrieveBatch"
SOAPAction: "http://ketenid.nl/eck/schemas/v1_0/retrieveBatch"
Content-Length: 748
Content-Length: 1008
Host: service-t.id.school
Host: service-s.ketenid.nl
Connection: Keep-Alive
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)


<soapenv:Envelope  
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"  
xmlns:v1="http://ketenid.nl/eck/schemas/v1_0" xmlns:a="http://www.w3.org/2005/08/addressing">
  xmlns:v1="http://id.school/eck/schemas/v1_0">
  <soapenv:Header>
  <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <a:Action soapenv:mustUnderstand="1">http://ketenid.nl/eck/schemas/v1_0/retrieveBatch</a:Action>
    <wsa:Action>
      <a:MessageID>urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</a:MessageID>
      http://id.school/eck/schemas/v1_0/retrieveBatch
      <a:To soapenv:mustUnderstand="1">https://service-s.ketenid.nl/eck/ws/201703</a:To>
    </wsa:Action>
      <a:From a:IsReferenceParameter="true">
    <wsa:From>
        <a:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</a:Address>
      <wsa:Address>
      </a:From>
        http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567
      <a:ReplyTo a:IsReferenceParameter="true">
      </wsa:Address>
        <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
    </wsa:From>
      </a:ReplyTo>
    <wsa:MessageID>uuid:b69c9bac-3d1c-44f9-b57e-c9c3595f5c4e</wsa:MessageID>
    <wsa:To>https://service-t.id.school/eck/ws/201703/</wsa:To>
   </soapenv:Header>
   </soapenv:Header>
   <soapenv:Body>
   <soapenv:Body>
       <v1:retrieveBatchRequest>
       <v1:retrieveBatchRequest>
         <v1:batchIdentifier>2017060112552627cb1432728b4f6489b4dbc5c18a4e09</v1:batchIdentifier>
         <v1:batchIdentifier>201802061608189ab1f2fe2c934f479edc365c54ca02ce</v1:batchIdentifier>
       </v1:retrieveBatchRequest>
       </v1:retrieveBatchRequest>
   </soapenv:Body>
   </soapenv:Body>
Regel 36: Regel 34:


==Response==
==Response==
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml" line highlight="23,27">
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
   <soap:Header>
       <Action xmlns="http://www.w3.org/2005/08/addressing">http://id.school/eck/schemas/v1_0/SchoolID/retrieveBatchResponse</Action>
       <Action xmlns="http://www.w3.org/2005/08/addressing">http://ketenid.nl/eck/schemas/v1_0/EckIDPort/retrieveBatchResponse</Action>
       <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:a281bd18-c241-426b-9dfe-3cbc3127b60b</MessageID>
       <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:cb5b6835-5cff-4d6e-9814-75233bd05ca9</MessageID>
       <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</To>
       <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</To>
       <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</RelatesTo>
       <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</RelatesTo>
Regel 48: Regel 46:
   </soap:Header>
   </soap:Header>
   <soap:Body>
   <soap:Body>
       <retrieveBatchResponse xmlns="http://id.school/eck/schemas/v1_0">
       <retrieveBatchResponse xmlns="http://ketenid.nl/eck/schemas/v1_0">
         <success>
         <success>
             <index>8</index>
             <index>1</index>
             <value>https://id.school/pilot/d9077719252c8046d0936b07025aed696753dbf3d57ad427bae81daf6cc7bfc930f523570a541472d1ab03fa349551df7ff65e32af57aa95bf36a24ec6065fb6</value>
             <value>https://ketenid.nl/pilot/97b60d516b4a495944114126f68a2a8d3b98ef5db4751c1536c5687f11864d3cade62adad1bce8dce4e1788c045ea727823a8364564ef69285de33a5930f43aa</value>
        </success>
        <success>
            <index>4</index>
            <value>https://ketenid.nl/pilot/1499a726d94b83f3d9a2cf6b0587d0b65853b5e1ffaf5aae2e092630ab228f67bc14ebe5cb125656f7b97c547995a077a0b0f9901d2896bf3635461d38ec169b</value>
         </success>
         </success>
        <failed>
            <index>1</index>
            <errorMessage>Genereren niet succesvol</errorMessage>
        </failed>
         <failed>
         <failed>
             <index>2</index>
             <index>2</index>
Regel 62: Regel 60:
         </failed>
         </failed>
         <failed>
         <failed>
             <index>4</index>
             <index>3</index>
             <errorMessage>Genereren niet succesvol</errorMessage>
             <errorMessage>Genereren niet succesvol</errorMessage>
         </failed>
         </failed>

Huidige versie van 12 feb 2018 om 13:06

Request

This request retrieves the results of "Batch creation of ECK iD request". The result of the erroneous stampseudonyms are highlighted in the response.

POST https://service-s.ketenid.nl/eck/ws/201703 HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://ketenid.nl/eck/schemas/v1_0/retrieveBatch"
Content-Length: 1008
Host: service-s.ketenid.nl
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v1="http://ketenid.nl/eck/schemas/v1_0" xmlns:a="http://www.w3.org/2005/08/addressing">
   <soapenv:Header>
   <a:Action soapenv:mustUnderstand="1">http://ketenid.nl/eck/schemas/v1_0/retrieveBatch</a:Action>
      <a:MessageID>urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</a:MessageID>
      <a:To soapenv:mustUnderstand="1">https://service-s.ketenid.nl/eck/ws/201703</a:To>
      <a:From a:IsReferenceParameter="true">
         <a:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</a:Address>
      </a:From>
      <a:ReplyTo a:IsReferenceParameter="true">
         <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
      </a:ReplyTo>
   </soapenv:Header>
   <soapenv:Body>
      <v1:retrieveBatchRequest>
         <v1:batchIdentifier>201802061608189ab1f2fe2c934f479edc365c54ca02ce</v1:batchIdentifier>
      </v1:retrieveBatchRequest>
   </soapenv:Body>
</soapenv:Envelope>

Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
      <Action xmlns="http://www.w3.org/2005/08/addressing">http://ketenid.nl/eck/schemas/v1_0/EckIDPort/retrieveBatchResponse</Action>
      <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:cb5b6835-5cff-4d6e-9814-75233bd05ca9</MessageID>
      <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</To>
      <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</RelatesTo>
      <From xmlns="http://www.w3.org/2005/08/addressing">
         <Address>http://www.w3.org/2005/08/addressing/anonymous?oin=00000003272448340000</Address>
      </From>
   </soap:Header>
   <soap:Body>
      <retrieveBatchResponse xmlns="http://ketenid.nl/eck/schemas/v1_0">
         <success>
            <index>1</index>
            <value>https://ketenid.nl/pilot/97b60d516b4a495944114126f68a2a8d3b98ef5db4751c1536c5687f11864d3cade62adad1bce8dce4e1788c045ea727823a8364564ef69285de33a5930f43aa</value>
         </success>
         <success>
            <index>4</index>
            <value>https://ketenid.nl/pilot/1499a726d94b83f3d9a2cf6b0587d0b65853b5e1ffaf5aae2e092630ab228f67bc14ebe5cb125656f7b97c547995a077a0b0f9901d2896bf3635461d38ec169b</value>
         </success>
         <failed>
            <index>2</index>
            <errorMessage>Genereren niet succesvol</errorMessage>
         </failed>
         <failed>
            <index>3</index>
            <errorMessage>Genereren niet succesvol</errorMessage>
         </failed>
      </retrieveBatchResponse>
   </soap:Body>
</soap:Envelope>