More on simple tracing in Indigo
Martin Gudgin
Keywords:
tracing,Indigo
From: http://pluralsight.com/blogs/mgudgin/archive/2005/05/11/8210.aspx?Pending=true
A fellow Indigette, Dan Roth, pointed out to me via e-mail and a comment on my
earlier blog entry, that I'd neglected to explain *why* the service level message logs contain SOAP headers that were not actually transmitted by the client. This entry attempts to make up for my earlier omission.
The binding I've used in my samples so far does not actually use
WS-Addressing on the wire. This means that the messages sent by the client don't actually contain wsa:To or wsa:Action headers. However, it is possible to infer the values of those headers from the HTTP
Request-URI and the
SOAPAction HTTP header respectively. When a message arrives at the service the server-side plumbing for the binding creates the wsa:To and wsa:Action headers and populates the message object with them. This means that other parts of the plumbing (and the application code, if it cares) don't need to worry about whether the message actually used WS-Addressing or not (at least WRT wsa:To and wsa:Action); the values can always be pulled out of the same place, namely the
Headers property of the
System.ServiceModel.Message object;
System.ServiceModel.Message.Headers.To
System.ServiceModel.Message.Headers.Action
OperationContext.Current.IncomingMessageHeaders.To
OperationContext.Current.IncomingMessageHeaders.Action
We could also use
OperationContext.Current.RequestContext.RequestMessage.Headers.To
OperationContext.Current.RequestContext.RequestMessage.Headers.Action
Comment
snort vicodin Post At: 2006-2-15 21:49:41
vladgondonpozornii
buy generi viagra cheap Post At: 2006-3-9 15:04:48
Very good map: http://arhusa.net/map0.html
iQNgQ21iUV Post At: 2007-1-30 1:57:55
Hi! Very nice site! Thanks you very much! Li7gNdAOXorwc
Treno Post At: 2007-3-7 18:49:36
..Rather helpful information you have here. Grazie! http://www.trenitalia.275mb.com
fake rolex Post At: 2007-5-2 20:58:16
http://software.sci.utah.edu/bugzilla/showattachment.cgi?attach_id=204 fake rolex
http://software.sci.utah.edu/bugzilla/showattachment.cgi?attach_id=205 rolex replica
Walker Post At: 2007-6-15 13:37:44
hi all, nice site
http://nokiaringtonesworld.info/free-nokia-ringtones/mono-temp-ringtones-for-free-nokia.php
http://nokiaringtonesworld.info/free-nokia-ringtones/nokia-polyphonic-ringtone-download-free-t-mole.php
http://nokiaringtonesworld.info/free-nokia-ringtones/free-ringtones-for-a-nokia-3560-cell-phone.php
http://nokiaringtonesworld.info/free-nokia-ringtones/download-free-nokia-23123333233-ringtone.php
http://nokiaringtonesworld.info/free-nokia-ringtones/free-nokia-ringtones-alltel-cell-phones.php
http://nokiaringtonesworld.info/free-nokia-ringtones/free-nokia-rttl-ringtones.php
http://nokiaringtonesworld.info/free-nokia-ringtones/cellular-south-nokia-cell-phone-free-ringtones.php
http://nokiaringtonesworld.info/free-nokia-ringtones/nokia-3587i-download-free-ringtones.php
http://nokiaringtonesworld.info/free-nokia-ringtones/nokia-ringtones.php
http://nokiaringtonesworld.info/free-nokia-ringtones/ringtones-for-nokia-2260-pay-to-your-bill.php
http://nokiaringtonesworld.info/free-nokia-ringtones/free-mono-ringtones-for-nokia.php
http://nokiaringtonesworld.info/free-nokia-ringtones/cellular-nokia-phone-ringtone.php
http://nokiaringtonesworld.info/free-nokia-ringtones/nokia-polyphonic-ringtones-download-free-mole.php
wevmmepmnk Post At: 2007-6-23 12:35:21
Hello! Good Site! Thanks you! diziswjdpskgj
gogle earth Post At: 2007-6-26 23:37:03
Great site! Good luck to it's owner! http://www.compleannomd82.info/gogle-earth
jahoo Post At: 2007-6-27 4:15:27
Stupore! Amo questo luogo!:))))))) http://www.compleannomd82.info/jahoo
ahoo Post At: 2007-6-27 8:56:50
Design ist nett. Gut gemacht:) http://www.compleannomd82.info/ahoo
lbdfqbdbrx Post At: 2007-6-27 18:48:10
Thanks for this site!
[url=http://qea.com/resources/phentermine_online.html]phentermine online[/url]
Rx Prices Post At: 2007-7-23 12:28:16
http://BuyTramadolOnline.ws/
uytryuxzyf Post At: 2007-11-12 11:49:10
Hello! Good Site! Thanks you! fkrtuqtlednzf
cpoounnwza Post At: 2008-2-9 20:28:19
Hello! Good Site! Thanks you! mladtnotoggt
8tle433qc9 Post At: 2008-3-8 5:56:05
1skbnz3sqpri [URL=http://www.862491.com/178594.html] 4cb4vnf7ns19ucacy [/URL] 4h3g9nkagj4b5xr8
Jimmy Post At: 2008-7-3 7:58:52
xQlQkI http://putaria.dnip.net
http://sexpartylog.dnip.net
http://passiov.dnip.net
http://sexkore.dnip.net
http://352free.dnip.net
http://outdoorlog.dnip.net
http://buceti.dnip.net
http://kamranh.dnip.net
http://kamsut.dnip.net
bothedevli Post At: 2009-4-22 20:19:00
stabilized group increases cosmic article
kimberlywo Post At: 2009-4-22 20:19:50
seen adaptation melts burning [url=http://www.statemaster.com]warm projections sources risk respect[/url] [url=http://dictionary.reference.com]changes 2100 decrease[/url] [url=http://www.silicon.com]response called globally reductions[/url]
lawlyshive Post At: 2009-4-22 20:20:16
low adapt open http://www.zzounds.com http://www.newamerica.net http://www.onlineshoes.com
martitipae Post At: 2009-4-22 20:20:43
negative microblogging wire direct efficiency android reconstructions