SID:SampleRetrieveStempseudonym: verschil tussen versies

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

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/retrieveStampseudonym"  
Content-Length: 1031  
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/retrieveStampseudonym</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:retrieveStampseudonymRequest>  
      <v1:hpgn>a3c8147df7da94a1c81fc15e54b9470a164dbe8279f86b1c0cec9dbb5586e89b</v1:hpgn>  
    </v1:retrieveStampseudonymRequest>  
  </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://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>