4.1 Simple SRMP Message
This sample message contains the minimum fields that are necessary to send a message without any receipts expected. This example also includes the HTTP and MIME fields that are necessary to send the message.
-
POST /msmq/private$/simpleq HTTP/1.1 Host: machine2 Content-Type: multipart/related; boundary="MSMQ - SOAP boundary, 53287"; type=text/xml Content-Length: 906 SOAPAction: "MSMQMessage" Proxy-Accept: NonInteractiveClient --MSMQ - SOAP boundary, 53287 Content-Type: text/xml; charset=UTF-8 Content-Length: 619 <se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.xmlsoap.org/srmp/"> <se:Header> <path xmlns="http://schemas.xmlsoap.org/rp/" se:mustUnderstand="1"> <action>MSMQ:mqsender label</action> <to>http://machine2/msmq/private$/simpleq</to> <id>uuid:1@00000000-0000-0000-0000-000000000000</id> </path> <properties se:mustUnderstand="1"> <expiresAt>20070609T164419</expiresAt> <sentAt>20070608T164419</sentAt> </properties> </se:Header> <se:Body></se:Body> </se:Envelope>--MSMQ - SOAP boundary, 53287 Content-Type: application/octet-stream Content-Length: 13 Content-Id: body@ff3af301-3196-497a-a918-72147c871a13 First Message--MSMQ - SOAP boundary, 53287--