SID:SampleRetrieveECKID

Uit Kennisnet Developers Documentatie
Versie door Tedjakusuma01 (overleg | bijdragen) op 12 feb 2018 om 11:36 (Aangepast n.a.v. laatste release)
Naar navigatie springen Naar zoeken springen

Nummervoorziening-symbol.png Nummervoorziening: SampleRetrieveECKID

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>