SID:SampleBatchECKID: verschil tussen versies

Uit Kennisnet Developers Documentatie
Ga naar: navigatie, zoeken
(Wijzigingen n.a.v. laatste release)
(Wijzigingen n.a.v. laatste release)
 
Regel 47: Regel 47:
  
 
==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">http://id.school/eck/schemas/v1_0/SchoolID/submitEckIdBatchResponse</Action>
+
       <Action xmlns="http://www.w3.org/2005/08/addressing">http://ketenid.nl/eck/schemas/v1_0/EckIDPort/submitEckIdBatchResponse</Action>
       <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:4cd8e96d-3a89-4dd0-ad97-5a9d098a43a0</MessageID>
+
       <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:e9fc4552-ccaf-4c50-a27d-1b962adf0bc8</MessageID>
 
       <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</To>
 
       <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:e8df13ec-37ee-418c-b3a7-b86e2763e5de</RelatesTo>
+
       <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">
 
       <From xmlns="http://www.w3.org/2005/08/addressing">
 
         <Address>http://www.w3.org/2005/08/addressing/anonymous?oin=00000003272448340000</Address>
 
         <Address>http://www.w3.org/2005/08/addressing/anonymous?oin=00000003272448340000</Address>
Regel 59: Regel 59:
 
   </soap:Header>
 
   </soap:Header>
 
   <soap:Body>
 
   <soap:Body>
       <submitBatchResponse xmlns="http://id.school/eck/schemas/v1_0">
+
       <submitBatchResponse xmlns="http://ketenid.nl/eck/schemas/v1_0">
         <batchIdentifier>2017060112552627cb1432728b4f6489b4dbc5c18a4e09</batchIdentifier>
+
         <batchIdentifier>201802061608189ab1f2fe2c934f479edc365c54ca02ce</batchIdentifier>
 
       </submitBatchResponse>
 
       </submitBatchResponse>
 
   </soap:Body>
 
   </soap:Body>

Huidige versie van 12 feb 2018 om 12:58

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/submitEckIdBatch"
 5 Content-Length: 2257
 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/" xmlns:v1="http://ketenid.nl/eck/schemas/v1_0" xmlns:a="http://www.w3.org/2005/08/addressing">
11    <soapenv:Header>
12       <a:Action soapenv:mustUnderstand="1">http://ketenid.nl/eck/schemas/v1_0/submitEckIdBatch</a:Action><a:MessageID>urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</a:MessageID>
13       <a:To soapenv:mustUnderstand="1">https://service-s.ketenid.nl/service/201703</a:To>
14       <a:From a:IsReferenceParameter="true">
15          <a:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</a:Address>
16       </a:From>
17       <a:ReplyTo a:IsReferenceParameter="true">
18          <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
19       </a:ReplyTo></soapenv:Header>
20    <soapenv:Body>
21       <v1:submitEckIdBatchRequest>
22          <!--1 or more repetitions:-->
23          <v1:stampseudonymList>
24             <v1:index>1</v1:index>
25             <v1:stampseudonym>https://ketenid.nl/sppilot/5ee21873be1c1f93525bbb48b4a780e8982f397fbfce3c7c3e8c40c340ef96c484546c89118f6691144889186a5c1e03d643512951ccc5146ccfd2ff893cb422</v1:stampseudonym>
26          </v1:stampseudonymList>
27          <v1:stampseudonymList>
28             <v1:index>2</v1:index>
29             <v1:stampseudonym>wrongpseudonym</v1:stampseudonym>
30          </v1:stampseudonymList>
31          <v1:stampseudonymList>
32             <v1:index>3</v1:index>
33             <v1:stampseudonym>https://ketenid.nl/sppilot/5d948c8f89446126d6ab9adc3c68664382daf09befb8bd6cc98f909641cdcc341bbd1858cf513f67e9d8b4e82b4b4b4c2961da173916149b6b7a66694c1d</v1:stampseudonym>
34          </v1:stampseudonymList>
35          <v1:stampseudonymList>
36             <v1:index>4</v1:index>
37             <v1:stampseudonym>https://ketenid.nl/sppilot/75fff83ca4d30ae5d8a15e98292206b2b3ba9443ab14b3e8aba1fd2d7800d05afcb7cf11acfed32097b5714080133d53e68123f97efa952b3e3c1a353a5755b5</v1:stampseudonym>
38          </v1:stampseudonymList>
39          <v1:chainId>http://purl.edustandaard.nl/begrippenkader/e7ec7d3c-c235-4513-bfb6-e54e66854795</v1:chainId>
40          <v1:sectorId>http://purl.edustandaard.nl/begrippenkader/512e4729-03a4-43a2-95ba-758071d1b725</v1:sectorId>
41       </v1:submitEckIdBatchRequest>
42    </soapenv:Body>
43 </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/submitEckIdBatchResponse</Action>
 4       <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:e9fc4552-ccaf-4c50-a27d-1b962adf0bc8</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       <submitBatchResponse xmlns="http://ketenid.nl/eck/schemas/v1_0">
13          <batchIdentifier>201802061608189ab1f2fe2c934f479edc365c54ca02ce</batchIdentifier>
14       </submitBatchResponse>
15    </soap:Body>
16 </soap:Envelope>