4.2 Simple Message Including MSMQ Element

The following is a simple message that includes the MSMQ element and a slightly more complex message payload.

 POST /msmq/private$/simpleq HTTP/1.1
 Host: machine2
 Content-Type: multipart/related; boundary="MSMQ - SOAP boundary, 26500"; 
 type=text/xml
 Content-Length: 1273
 SOAPAction: "MSMQMessage"
 Proxy-Accept: NonInteractiveClient
  
 --MSMQ - SOAP boundary, 26500
 Content-Type: text/xml; charset=UTF-8
 Content-Length: 775
  
 <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:</action>
       <to>http://machine2/msmq/private$/simpleQ</to>
       <id>uuid:20503@caf195ea-615c-4264-ae08-11a4e60194c0</id>
     </path>
     <properties se:mustUnderstand="1">
       <expiresAt>20380119T031407</expiresAt>
       <sentAt>20070719T031140</sentAt>
     </properties>
     <Msmq xmlns="msmq.namespace.xml">
       <Class>0</Class>
       <Priority>3</Priority>
       <Correlation>AAAAAAAAAAAAAAAAAAAAAAAAAAA=</Correlation>
       <App>0</App>
       <BodyType>0</BodyType>
       <HashAlgorithm>32772</HashAlgorithm>
       <SourceQmGuid>caf195ea-615c-4264-ae08-11a4e60194c0</SourceQmGuid>
       <TTrq>20070723T031140</TTrq>
     </Msmq>
   </se:Header>
 <se:Body></se:Body>
 </se:Envelope>--MSMQ - SOAP boundary, 26500
 Content-Type: application/octet-stream
 Content-Length: 223
 Content-Id: body@caf195ea-615c-4264-ae08-11a4e60194c0
  
 <?xml version="1.0"?>
 <Order xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
 xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <orderId>3</orderId>
   <orderTime>2007-07-18T20:11:40.2614595-07:00</orderTime>
 </Order>--MSMQ - SOAP boundary, 26500--