xml-responses.js 1.2 KB

12345678910111213141516171819
  1. 'use strict';
  2. const oadrResponse1Xml = `<ns2:oadrPayload xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:ns2="http://openadr.org/oadr-2.0b/2012/07" xmlns:ns3="http://docs.oasis-open.org/ns/emix/2011/06/siscale" xmlns:ns4="http://www.w3.org/2005/Atom" xmlns:ns5="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:ns6="urn:ietf:params:xml:ns:icalendar-2.0" xmlns:ns7="http://docs.oasis-open.org/ns/energyinterop/201110" xmlns:ns8="urn:ietf:params:xml:ns:icalendar-2.0:stream" xmlns:ns9="http://docs.oasis-open.org/ns/emix/2011/06" xmlns:ns10="http://www.opengis.net/gml/3.2" xmlns:ns11="http://docs.oasis-open.org/ns/energyinterop/201110/payloads" xmlns:ns12="http://www.w3.org/2009/xmldsig11#" xmlns:ns13="http://openadr.org/oadr-2.0b/2012/07/xmldsig-properties" xmlns:ns14="urn:un:unece:uncefact:codelist:standard:5:ISO42173A:2010-04-07">
  3. <ns2:oadrSignedObject>
  4. <ns2:oadrResponse ns7:schemaVersion="2.0b">
  5. <ns7:eiResponse>
  6. <ns7:responseCode>200</ns7:responseCode>
  7. <ns7:responseDescription>OK</ns7:responseDescription>
  8. <ns11:requestID/>
  9. </ns7:eiResponse>
  10. <ns7:venID>D8:1D:4B:20:5A:65:4C:50:32:FA</ns7:venID>
  11. </ns2:oadrResponse>
  12. </ns2:oadrSignedObject>
  13. </ns2:oadrPayload>`;
  14. module.exports = {
  15. oadrResponse1Xml,
  16. };