SID:SampleRetrieveECKID: verschil tussen versies

Uit Kennisnet Developers Documentatie
Naar navigatie springen Naar zoeken springen
(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">
 
<soapenv:Header>
xmlns:v1="http://id.school/eck/schemas/v1_0">
 
 
<a:Action soapenv:mustUnderstand="1">http://ketenid.nl/eck/schemas/v1_0/retrieveEckId</a:Action>
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
 
 
<a:MessageID>urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</a:MessageID>
<wsa:Action>
 
 
<a:To soapenv:mustUnderstand="1">https://service-s.ketenid.nl/eck/ws/201703</a:To>
http://id.school/eck/schemas/v1_0/retrieveEckId
 
  +
<a:From a:IsReferenceParameter="true">
</wsa:Action>
 
 
<a:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</a:Address>
<wsa:From>
 
<wsa:Address>
+
</a:From>
  +
<a:ReplyTo a:IsReferenceParameter="true">
http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567
 
</wsa:Address>
+
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</wsa:From>
+
</a:ReplyTo>
 
</soapenv:Header>
<wsa:MessageID>uuid:692d9bd9-8a14-487d-9461-1606b57fbbe6</wsa:MessageID>
 
<wsa:To>
+
<soapenv:Body>
 
<v1:retrieveEckIdRequest>
https://service.id.school/eck/ws/201703/
 
  +
<v1:stampseudonym>https://ketenid.nl/sppilot/5ee21873be1c1f93525bbb48b4a780e8982f397fbfce3c7c3e8c40c340ef96c484546c89118f6691144889186a5c1e03d643512951ccc5146ccfd2ff893cb422</v1:stampseudonym>
</wsa:To>
 
 
<v1:chainId>http://purl.edustandaard.nl/begrippenkader/e7ec7d3c-c235-4513-bfb6-e54e66854795</v1:chainId>
</soapenv:Header>
 
 
<v1:sectorId>http://purl.edustandaard.nl/begrippenkader/512e4729-03a4-43a2-95ba-758071d1b725</v1:sectorId>
<soapenv:Body>
 
<v1:retrieveEckIdRequest>
+
</v1:retrieveEckIdRequest>
 
</soapenv:Body>
<v1:stampseudonym>
 
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 11:36

Request

 1POST https://service-s.ketenid.nl/eck/ws/201703 HTTP/1.1  
 2Accept-Encoding: gzip,deflate  
 3Content-Type: text/xml;charset=UTF-8  
 4SOAPAction: "http://ketenid.nl/eck/schemas/v1_0/retrieveEckId"  
 5Content-Length: 1346  
 6Host: service-s.ketenid.nl  
 7Connection: Keep-Alive  
 8User-Agent: Apache-HttpClient/4.1.1 (java 1.5)  
 9  
10<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"  
11xmlns: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>