Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

4 Protocol Examples

Messages may have no relation to the underlying transport connection. By inserting the PacketRoutable element into the SOAP header, packet routing would be used instead of circuit routing to deliver the message. Treating the message as a packet enables optimizations such as coalescing messages together or load balancing across multiple back ends to improve reliability, scalability, and performance. The following is an example of a SOAP message that contains the PacketRoutable element in the SOAP header.

 <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" 
         <a:Action s:mustUnderstand="1">
         <ActivityId CorrelationId="592d7dfd-aafe-4df8-adfc-003db32efc7
 c" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostic
         <a:To s:mustUnderstand="1">http://localhost:8080/service1
         <MyOperation xmlns="http://tempuri.org/">
             <myValue>Some Value</myValue>
© 2016 Microsoft