I've just been looking at the UPNP specs, and lo and behold, UPNP now
mandates SOAP.

http://www.upnp.org/download/UPnPDA10_20000613.htm

Looks to me from the examples that UPNP devices talk rpc/enc, maybe 0.9 or
1.0 soap at that. Which means if they shipped in any quantity, they would
ensconce rpc/enc as the most widely spread, maybe even widely used soap
option.

POST path of control URL HTTP/1.1
HOST: host of control URL:port of control URL
CONTENT-LENGTH: bytes in body
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:serviceType:v#actionName"

<s:Envelope
    xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";
    s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
  <s:Body>
    <u:actionName xmlns:u="urn:schemas-upnp-org:service:serviceType:v">
      <argumentName>in arg value</argumentName>
      other in args and their values go here, if any
    </u:actionName>
  </s:Body>
</s:Envelope>

...the spec looks a bit like SOAP came along half way through it; anyone
know any more about the history?

-steve

Reply via email to