SID:SampleRetrieveECKID: verschil tussen versies

Uit Kennisnet Developers Documentatie
Naar navigatie springen Naar zoeken springen
(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 12:45

Request

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/retrieveEckId"  
Content-Length: 1346  
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/retrieveEckId</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:retrieveEckIdRequest>  
         <v1:stampseudonym>https://ketenid.nl/sppilot/5ee21873be1c1f93525bbb48b4a780e8982f397fbfce3c7c3e8c40c340ef96c484546c89118f6691144889186a5c1e03d643512951ccc5146ccfd2ff893cb422</v1:stampseudonym>  
         <v1:chainId>http://purl.edustandaard.nl/begrippenkader/e7ec7d3c-c235-4513-bfb6-e54e66854795</v1:chainId>  
         <v1:sectorId>http://purl.edustandaard.nl/begrippenkader/512e4729-03a4-43a2-95ba-758071d1b725</v1:sectorId>  
      </v1:retrieveEckIdRequest>  
   </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/retrieveEckIdResponse</Action>
      <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:fec01859-902f-4afc-8273-2575bcd190c9</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>
      <retrieveEckIdResponse xmlns="http://ketenid.nl/eck/schemas/v1_0">
         <eckId>https://ketenid.nl/pilot/97b60d516b4a495944114126f68a2a8d3b98ef5db4751c1536c5687f11864d3cade62adad1bce8dce4e1788c045ea727823a8364564ef69285de33a5930f43aa</eckId>
      </retrieveEckIdResponse>
   </soap:Body>
</soap:Envelope>