<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Washing the SOAP from Messages</title>
	<link>http://kennyw.com/indigo/132</link>
	<description>Kenny Wolf's Thoughts of the Moment</description>
	<pubDate>Tue, 06 Jan 2009 04:52:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Sandy</title>
		<link>http://kennyw.com/indigo/132#comment-87364</link>
		<author>Sandy</author>
		<pubDate>Wed, 06 Feb 2008 22:18:32 +0000</pubDate>
		<guid>http://kennyw.com/indigo/132#comment-87364</guid>
		<description>But what if the message contains security tokens? This will happen when the POX service acts as an intermediary and has to route incoming messages from clients to target services.  So if the security tokens are removed from the headers then would not the target service fail?</description>
		<content:encoded><![CDATA[<p>But what if the message contains security tokens? This will happen when the POX service acts as an intermediary and has to route incoming messages from clients to target services.  So if the security tokens are removed from the headers then would not the target service fail?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Things, by Mark Baker &#187; Blog Archive &#187; links for 2006-08-02</title>
		<link>http://kennyw.com/indigo/132#comment-3788</link>
		<author>Web Things, by Mark Baker &#187; Blog Archive &#187; links for 2006-08-02</author>
		<pubDate>Wed, 02 Aug 2006 05:22:45 +0000</pubDate>
		<guid>http://kennyw.com/indigo/132#comment-3788</guid>
		<description>[...] Washing the SOAP from Messages &#8220;the &#8216;To&#8217; is sent as the HTTP Request-Uri&#8221; Yeah! &#8220;and the &#8216;Action&#8217; is sent out as [&#8230;] SOAP-Action&#8221; Boo! Action should be the HTTP Request-method (via Nick Gall) (tags: rest http soap) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Washing the SOAP from Messages &#8220;the &#8216;To&#8217; is sent as the HTTP Request-Uri&#8221; Yeah! &#8220;and the &#8216;Action&#8217; is sent out as [&#8230;] SOAP-Action&#8221; Boo! Action should be the HTTP Request-method (via Nick Gall) (tags: rest http soap) [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenny</title>
		<link>http://kennyw.com/indigo/132#comment-3775</link>
		<author>Kenny</author>
		<pubDate>Tue, 01 Aug 2006 17:47:20 +0000</pubDate>
		<guid>http://kennyw.com/indigo/132#comment-3775</guid>
		<description>The case you describe is also possible, if a little trickier. What you'd need to do is write an IClientMessageInterceptor that removes the Action on the outgoing Message and adds an HttpRequestMessageProperty whose Method is GET, POST, etc.  For example:

string action = OperationContext.Current.OutgoingMessageHeaders.Action;
OperationContext.Current.OutgoingMessageHeaders.Action = null;

HttpRequestMessageProperty httpRequestProperty = new HttpRequestMessageProperty();
httpRequestProperty.Method = "GET"; // do your custom mapping from Action-&gt;Verb here

OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] = httpRequestProperty;

On the server-side you can write an IDispatchOperationSelector to map from verb-&gt;Action for dispatch purposes (see the RSS Toolkit for an example of this)</description>
		<content:encoded><![CDATA[<p>The case you describe is also possible, if a little trickier. What you&#8217;d need to do is write an IClientMessageInterceptor that removes the Action on the outgoing Message and adds an HttpRequestMessageProperty whose Method is GET, POST, etc.  For example:</p>
<p>string action = OperationContext.Current.OutgoingMessageHeaders.Action;<br />
OperationContext.Current.OutgoingMessageHeaders.Action = null;</p>
<p>HttpRequestMessageProperty httpRequestProperty = new HttpRequestMessageProperty();<br />
httpRequestProperty.Method = &#8220;GET&#8221;; // do your custom mapping from Action->Verb here</p>
<p>OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] = httpRequestProperty;</p>
<p>On the server-side you can write an IDispatchOperationSelector to map from verb->Action for dispatch purposes (see the RSS Toolkit for an example of this)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Baker</title>
		<link>http://kennyw.com/indigo/132#comment-3774</link>
		<author>Mark Baker</author>
		<pubDate>Tue, 01 Aug 2006 15:55:26 +0000</pubDate>
		<guid>http://kennyw.com/indigo/132#comment-3774</guid>
		<description>That's progress, but ...

" is sent out as either the SOAP-Action"

'Action' should go in the HTTP Request-Method if you're trying to do POX.  i.e. it should only be GET, POST, etc..</description>
		<content:encoded><![CDATA[<p>That&#8217;s progress, but &#8230;</p>
<p>&#8221; is sent out as either the SOAP-Action&#8221;</p>
<p>&#8216;Action&#8217; should go in the HTTP Request-Method if you&#8217;re trying to do POX.  i.e. it should only be GET, POST, etc..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco</title>
		<link>http://kennyw.com/indigo/132#comment-3642</link>
		<author>Francesco</author>
		<pubDate>Fri, 28 Jul 2006 15:33:20 +0000</pubDate>
		<guid>http://kennyw.com/indigo/132#comment-3642</guid>
		<description>Nice info. This is now on http://www.netfxguide.com/guide/wcf.aspx.</description>
		<content:encoded><![CDATA[<p>Nice info. This is now on <a href="http://www.netfxguide.com/guide/wcf.aspx." rel="nofollow">http://www.netfxguide.com/guide/wcf.aspx.</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
