3.1.4.2.1.1 Advertise Message
The HTTP header MUST specify the SOAPACTION header, as specified in [UPNPARCH1], as follows for the Advertise message:
SOAPACTION: "urn:schemas-microsoft-com:service:msremotedexperience:1#Advertise"
"urn:schemas-microsoft-com:service:msremotedexperience:1" is service type which comes from the device description as specified in Appendix B.
"Advertise" is the soap action.
The following XML shows an <Advertise> action sent by the client in a SOAP message.
[SOAP]
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <soapenv:Body> <msrx:Advertise xmlns:msrx="urn:schemas-microsoft-com:service:msremotedexperience:1"> <Nonce xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4"> Nonce ID </Nonce> <HostId xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> HostId </HostId> <ApplicationId xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> ApplicationId </ApplicationId> <ApplicationVersion xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> ApplicationVersion number </ApplicationVersion> <ApplicationData xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> ApplicationData payload </ApplicationData> <HostFriendlyName xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> HostFriendlyName payload </HostFriendlyName> <ExperienceFriendlyName xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> ExperienceFriendlyName payload </ExperienceFriendlyName> <ExperienceIconUri xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> ExperienceIconUri payload </ExperienceIconUri> <ExperienceEndpointUri xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> ExperienceEndpointUri </ExperienceEndpointUri> <ExperienceEndpointData xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> ExperienceEndPointData payload </ExperienceEndpointData> <SignatureAlgorithm xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> SignatureAlgorithm payload </SignatureAlgorithm> <Signature xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> Signature payload </Signature> <HostCertificate xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"> HostCertificate payload </HostCertificate> </msrx:Advertise> </soapenv:Body> </soapenv:Envelope>