SID:SampleRetrieveECKID: verschil tussen versies

Uit Kennisnet Developers Documentatie
Ga naar: navigatie, zoeken
(Nieuwe pagina aangemaakt met '==Request== <syntaxhighlight lang="xml"> POST https://service.id.school/eck/ws/201703/ HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 S...')
 
(Aangepast n.a.v. laatste release)
Regel 1: Regel 1:
 
==Request==
 
==Request==
<syntaxhighlight lang="xml">
+
<syntaxhighlight lang="xml" line>
POST https://service.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/retrieveEckId"
+
SOAPAction: "http://ketenid.nl/eck/schemas/v1_0/retrieveEckId"
Content-Length: 1082
+
Content-Length: 1346 
Host: service.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/retrieveEckId</a:Action> 
    <wsa:Action>
+
      <a:MessageID>urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</a:MessageID> 
      http://id.school/eck/schemas/v1_0/retrieveEckId
+
      <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:692d9bd9-8a14-487d-9461-1606b57fbbe6</wsa:MessageID>
+
   </soapenv:Header>
    <wsa:To>
+
   <soapenv:Body>
      https://service.id.school/eck/ws/201703/
+
       <v1:retrieveEckIdRequest>
    </wsa:To>
+
         <v1:stampseudonym>https://ketenid.nl/sppilot/5ee21873be1c1f93525bbb48b4a780e8982f397fbfce3c7c3e8c40c340ef96c484546c89118f6691144889186a5c1e03d643512951ccc5146ccfd2ff893cb422</v1:stampseudonym>
   </soapenv:Header>
+
         <v1:chainId>http://purl.edustandaard.nl/begrippenkader/e7ec7d3c-c235-4513-bfb6-e54e66854795</v1:chainId>
   <soapenv:Body>
+
         <v1:sectorId>http://purl.edustandaard.nl/begrippenkader/512e4729-03a4-43a2-95ba-758071d1b725</v1:sectorId>
       <v1:retrieveEckIdRequest>
+
       </v1:retrieveEckIdRequest>
         <v1:stampseudonym>
+
   </soapenv:Body>
          https://id.school/sppilot/83f4980640a326a76d4aa0b66529759fb8642174677e2957ef252f23437a65533aaa0a4bbad22e461b727b69b6fb832c366227a64097637ca3481db00fb034f8
 
        </v1:stampseudonym>
 
         <v1:chainId>
 
          http://purl.edustandaard.nl/begrippenkader/e7ec7d3c-c235-4513-bfb6-e54e66854795
 
        </v1:chainId>
 
         <v1:sectorId>
 
          http://purl.edustandaard.nl/begrippenkader/2a1401e9-c223-493b-9b86-78f6993b1a8d
 
        < /v1:sectorId>
 
       </v1:retrieveEckIdRequest>
 
   </soapenv:Body>
 
 
</soapenv:Envelope>
 
</soapenv:Envelope>
 
</syntaxhighlight>
 
</syntaxhighlight>

Versie van 12 feb 2018 om 12:36

Request

 1 POST https://service-s.ketenid.nl/eck/ws/201703 HTTP/1.1  
 2 Accept-Encoding: gzip,deflate  
 3 Content-Type: text/xml;charset=UTF-8  
 4 SOAPAction: "http://ketenid.nl/eck/schemas/v1_0/retrieveEckId"  
 5 Content-Length: 1346  
 6 Host: service-s.ketenid.nl  
 7 Connection: Keep-Alive  
 8 User-Agent: Apache-HttpClient/4.1.1 (java 1.5)  
 9   
10 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"  
11 xmlns:v1="http://ketenid.nl/eck/schemas/v1_0" xmlns:a="http://www.w3.org/2005/08/addressing">  
12    <soapenv:Header>  
13       <a:Action soapenv:mustUnderstand="1">http://ketenid.nl/eck/schemas/v1_0/retrieveEckId</a:Action>  
14       <a:MessageID>urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</a:MessageID>  
15       <a:To soapenv:mustUnderstand="1">https://service-s.ketenid.nl/eck/ws/201703</a:To>  
16       <a:From a:IsReferenceParameter="true">  
17          <a:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</a:Address>  
18       </a:From>  
19       <a:ReplyTo a:IsReferenceParameter="true">  
20          <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>  
21       </a:ReplyTo>  
22    </soapenv:Header>  
23    <soapenv:Body>  
24       <v1:retrieveEckIdRequest>  
25          <v1:stampseudonym>https://ketenid.nl/sppilot/5ee21873be1c1f93525bbb48b4a780e8982f397fbfce3c7c3e8c40c340ef96c484546c89118f6691144889186a5c1e03d643512951ccc5146ccfd2ff893cb422</v1:stampseudonym>  
26          <v1:chainId>http://purl.edustandaard.nl/begrippenkader/e7ec7d3c-c235-4513-bfb6-e54e66854795</v1:chainId>  
27          <v1:sectorId>http://purl.edustandaard.nl/begrippenkader/512e4729-03a4-43a2-95ba-758071d1b725</v1:sectorId>  
28       </v1:retrieveEckIdRequest>  
29    </soapenv:Body>  
30 </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://id.school/eck/schemas/v1_0/SchoolID/retrieveEckIdResponse
      </Action>
      <MessageID xmlns="http://www.w3.org/2005/08/addressing">
         urn:uuid:18137f40-e7af-4e07-9d7c-8787ac273e21
      </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">
         uuid:692d9bd9-8a14-487d-9461-1606b57fbbe6
      </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>
      <retrieveEckIdResponse xmlns="http://id.school/eck/schemas/v1_0">
         <eckId>
            https://id.school/pilot/7d5bc8a34baf86928eebdb739cd823f7f4682793a446ee11946aaa91097314cd609eb0cffd81265876b48896bb4614e0f047e78d1ab395066d1fde624902fb7e
         </eckId>
      </retrieveEckIdResponse>
   </soap:Body>
</soap:Envelope>