SID:SampleRetrieveECKID: verschil tussen versies

Uit Kennisnet Developers Documentatie
Ga naar: navigatie, zoeken
(Aangepast n.a.v. laatste release)
(Wijzigingen n.a.v. laatste release)
 
Regel 34: Regel 34:
  
 
==Response==
 
==Response==
<syntaxhighlight lang="xml">
+
<syntaxhighlight lang="xml" line>
 
<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">
+
       <Action xmlns="http://www.w3.org/2005/08/addressing">http://ketenid.nl/eck/schemas/v1_0/EckIDPort/retrieveEckIdResponse</Action>
        http://id.school/eck/schemas/v1_0/SchoolID/retrieveEckIdResponse
+
       <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:fec01859-902f-4afc-8273-2575bcd190c9</MessageID>
      </Action>
+
       <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</To>
       <MessageID xmlns="http://www.w3.org/2005/08/addressing">
+
       <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</RelatesTo>
        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">
 
       <From xmlns="http://www.w3.org/2005/08/addressing">
         <Address>
+
         <Address>http://www.w3.org/2005/08/addressing/anonymous?oin=00000003272448340000</Address>
            http://www.w3.org/2005/08/addressing/anonymous?oin=00000003272448340000
 
        </Address>
 
 
       </From>
 
       </From>
 
   </soap:Header>
 
   </soap:Header>
 
   <soap:Body>
 
   <soap:Body>
       <retrieveEckIdResponse xmlns="http://id.school/eck/schemas/v1_0">
+
       <retrieveEckIdResponse xmlns="http://ketenid.nl/eck/schemas/v1_0">
         <eckId>
+
         <eckId>https://ketenid.nl/pilot/97b60d516b4a495944114126f68a2a8d3b98ef5db4751c1536c5687f11864d3cade62adad1bce8dce4e1788c045ea727823a8364564ef69285de33a5930f43aa</eckId>
            https://id.school/pilot/7d5bc8a34baf86928eebdb739cd823f7f4682793a446ee11946aaa91097314cd609eb0cffd81265876b48896bb4614e0f047e78d1ab395066d1fde624902fb7e
 
        </eckId>
 
 
       </retrieveEckIdResponse>
 
       </retrieveEckIdResponse>
 
   </soap:Body>
 
   </soap:Body>

Huidige versie van 12 feb 2018 om 12:45

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

 1 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 2    <soap:Header>
 3       <Action xmlns="http://www.w3.org/2005/08/addressing">http://ketenid.nl/eck/schemas/v1_0/EckIDPort/retrieveEckIdResponse</Action>
 4       <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:fec01859-902f-4afc-8273-2575bcd190c9</MessageID>
 5       <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</To>
 6       <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</RelatesTo>
 7       <From xmlns="http://www.w3.org/2005/08/addressing">
 8          <Address>http://www.w3.org/2005/08/addressing/anonymous?oin=00000003272448340000</Address>
 9       </From>
10    </soap:Header>
11    <soap:Body>
12       <retrieveEckIdResponse xmlns="http://ketenid.nl/eck/schemas/v1_0">
13          <eckId>https://ketenid.nl/pilot/97b60d516b4a495944114126f68a2a8d3b98ef5db4751c1536c5687f11864d3cade62adad1bce8dce4e1788c045ea727823a8364564ef69285de33a5930f43aa</eckId>
14       </retrieveEckIdResponse>
15    </soap:Body>
16 </soap:Envelope>