SID:SampleRetrieveStempseudonym: verschil tussen versies

Uit Kennisnet Developers Documentatie
Ga naar: navigatie, zoeken
(Wijzigingen n.a.v. laatste release)
Regel 2: Regel 2:
  
 
<syntaxhighlight lang="xml" line>
 
<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/retrieveStampseudonym"
+
SOAPAction: "http://ketenid.nl/eck/schemas/v1_0/retrieveStampseudonym"
Content-Length: 768
+
Content-Length: 1031 
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">
  xmlns:v1="http://id.school/eck/schemas/v1_0">
+
  <soapenv:Header> 
  <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
+
     <a:Action soapenv:mustUnderstand="1">http://ketenid.nl/eck/schemas/v1_0/retrieveStampseudonym</a:Action>
     <wsa:Action>http://id.school/eck/schemas/v1_0/retrieveStampseudonym</wsa:Action>
+
     <a:MessageID>urn:uuid:a61d7a7d-cd0c-4b41-9b14-fa86a5391e08</a:MessageID> 
     <wsa:From>
+
    <a:To soapenv:mustUnderstand="1">https://service-s.ketenid.nl/eck/ws/201703</a:To> 
       <wsa:Address>
+
    <a:From a:IsReferenceParameter="true">
        http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567
+
       <a:Address>http://www.w3.org/2005/08/addressing/anonymous?oin=0000000700019HY34567</a:Address>
      </wsa:Address>
+
     </a:From>
     </wsa:From>
+
     <a:ReplyTo a:IsReferenceParameter="true">
     <wsa:MessageID>uuid:0d9fd98e-7544-4836-bca1-2c57f6503556</wsa:MessageID>
+
      <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address> 
    <wsa:To>https://service.id.school/eck/ws/201703/</wsa:To>
+
    </a:ReplyTo>
   </soapenv:Header>
+
   </soapenv:Header>
   <soapenv:Body>
+
   <soapenv:Body>
     <v1:retrieveStampseudonymRequest>
+
     <v1:retrieveStampseudonymRequest>
       <v1:hpgn>
+
       <v1:hpgn>a3c8147df7da94a1c81fc15e54b9470a164dbe8279f86b1c0cec9dbb5586e89b</v1:hpgn>
        fa4c1c6d8df86b3d41848b81becb2630b611bc7eb99ed98473b7628e2d848f83
+
     </v1:retrieveStampseudonymRequest>
      </v1:hpgn>
+
   </soapenv:Body>
     </v1:retrieveStampseudonymRequest>
 
   </soapenv:Body>
 
 
</soapenv:Envelope>
 
</soapenv:Envelope>
 
</syntaxhighlight>
 
</syntaxhighlight>

Versie van 12 feb 2018 om 12:46

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/retrieveStampseudonym"  
 5 Content-Length: 1031  
 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/retrieveStampseudonym</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:retrieveStampseudonymRequest>  
25       <v1:hpgn>a3c8147df7da94a1c81fc15e54b9470a164dbe8279f86b1c0cec9dbb5586e89b</v1:hpgn>  
26     </v1:retrieveStampseudonymRequest>  
27   </soapenv:Body>  
28 </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/retrieveStampseudonymResponse
      </Action>
      <MessageID xmlns="http://www.w3.org/2005/08/addressing">
         urn:uuid:73fa8de1-f094-40bc-b56f-8a3b74c70249
      </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:0d9fd98e-7544-4836-bca1-2c57f6503556</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>
      <retrieveStampseudonymResponse xmlns="http://id.school/eck/schemas/v1_0">
         <stampseudonym>
            https://id.school/sppilot/83f4980640a326a76d4aa0b66529759fb8642174677e2957ef252f23437a65533aaa0a4bbad22e461b727b69b6fb832c366227a64097637ca3481db00fb034f8
         </stampseudonym>
      </retrieveStampseudonymResponse>
   </soap:Body>
</soap:Envelope>