<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Writing BizTalk context properties to a message from a WCF service using behaviors</title>
	<atom:link href="http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/</link>
	<description>.NET, BizTalk and integration focused scribbles</description>
	<lastBuildDate>Tue, 01 Jun 2010 22:09:55 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: vaibhav</title>
		<link>http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/comment-page-1/#comment-565</link>
		<dc:creator>vaibhav</dc:creator>
		<pubDate>Wed, 19 May 2010 16:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/#comment-565</guid>
		<description>Hi,

I am working on Adding Custom behavior extension using wcf-custom adapter(basichttp) in send port. I have to add custom http header to all out going messages.

Can you please suggest me how to debug my .cs file that contains a class that inherits Ibehaviorextension,Iendpointextension….etc…

I have added a classlibrary which implements those interfaces, to add headers but how to debug?

Send port sends input message to my wcf behavior (which is .cs file). So how do I debug my .cs file?, What goes exactly in my configuration file? 


My dead line is few days ahead, urgent please suggest me ASAP something so that I can continue my work.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am working on Adding Custom behavior extension using wcf-custom adapter(basichttp) in send port. I have to add custom http header to all out going messages.</p>
<p>Can you please suggest me how to debug my .cs file that contains a class that inherits Ibehaviorextension,Iendpointextension….etc…</p>
<p>I have added a classlibrary which implements those interfaces, to add headers but how to debug?</p>
<p>Send port sends input message to my wcf behavior (which is .cs file). So how do I debug my .cs file?, What goes exactly in my configuration file? </p>
<p>My dead line is few days ahead, urgent please suggest me ASAP something so that I can continue my work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vaibhav</title>
		<link>http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/comment-page-1/#comment-558</link>
		<dc:creator>vaibhav</dc:creator>
		<pubDate>Sun, 16 May 2010 20:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/#comment-558</guid>
		<description>Hi,
I am working on send custom pipeline using wcf-basichttp adapter.

I have created a soap envelope with header and body.Along with that I need to add few values like Serial number, Targetnumber, ..ect.. to the  HTTP header.

But I am using WCF-BasichttpAdapter so can any one suggest me how to add custom HTTP header in send pipeline or retrieve HTTP header values in receive pipeline?.

Can I use “Header” property of WCF adapter to add CUSTOM HTTP Header Values?
http://msdn.microsoft.com/en-us/library/bb245991(BTS.10).aspx

Very urgent, Any Help would be appreciated, 
Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am working on send custom pipeline using wcf-basichttp adapter.</p>
<p>I have created a soap envelope with header and body.Along with that I need to add few values like Serial number, Targetnumber, ..ect.. to the  HTTP header.</p>
<p>But I am using WCF-BasichttpAdapter so can any one suggest me how to add custom HTTP header in send pipeline or retrieve HTTP header values in receive pipeline?.</p>
<p>Can I use “Header” property of WCF adapter to add CUSTOM HTTP Header Values?<br />
<a href="http://msdn.microsoft.com/en-us/library/bb245991(BTS.10).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb245991(BTS.10).aspx</a></p>
<p>Very urgent, Any Help would be appreciated,<br />
Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Cline</title>
		<link>http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/comment-page-1/#comment-396</link>
		<dc:creator>Ben Cline</dc:creator>
		<pubDate>Sun, 11 Oct 2009 05:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/#comment-396</guid>
		<description>Thanks for this post, it helped me install a custom extension on BizTalk 2006 R2 SP1.</description>
		<content:encoded><![CDATA[<p>Thanks for this post, it helped me install a custom extension on BizTalk 2006 R2 SP1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Access Distinguished Property (Created in Custom Pipeline) In Orch &#124; keyongtech</title>
		<link>http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/comment-page-1/#comment-332</link>
		<dc:creator>Access Distinguished Property (Created in Custom Pipeline) In Orch &#124; keyongtech</dc:creator>
		<pubDate>Sun, 18 Jan 2009 17:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/#comment-332</guid>
		<description>[...] was unable to access the same inside the orchestration. Actually I followed the process in the link http://www.richardhallgren.com/writi...ing-behaviors/ to develop the application.  Could you please help me in solving this?  Regards, [...]</description>
		<content:encoded><![CDATA[<p>[...] was unable to access the same inside the orchestration. Actually I followed the process in the link <a href="http://www.richardhallgren.com/writi...ing-behaviors/" rel="nofollow">http://www.richardhallgren.com/writi&#8230;ing-behaviors/</a> to develop the application.  Could you please help me in solving this?  Regards, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giri</title>
		<link>http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/comment-page-1/#comment-291</link>
		<dc:creator>Giri</dc:creator>
		<pubDate>Wed, 29 Oct 2008 13:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardhallgren.com/writing-biztalk-context-properties-to-a-message-from-a-wcf-service-using-behaviors/#comment-291</guid>
		<description>Hi Richard,

Thanks for sharing the information. It&#039;s really useful. I tried with the instructions you have given and got the expected results.

When I exposed an orchestration as a wcf service, then also I was able to see the &quot;WindowsUserName&quot; in the context while debugging (using breakpoint). 

But I was unable to access this property inside the orchestration. I tried by adding the reference to the propertyschema project and tried with below code:
msgResponse.UserName = WCFCustomProperties.PropertySchema.WindowsUserName;

When the orchestration project is compiled it is giving the error     
&quot;illegal use of identifier 
&#039;WCFCustomProperties.PropertySchema.WindowsUserName&#039; in an expression&quot;

Can you please help how to access this promoted property inside an orchestration expression shape.

Thanks
Giri</description>
		<content:encoded><![CDATA[<p>Hi Richard,</p>
<p>Thanks for sharing the information. It&#8217;s really useful. I tried with the instructions you have given and got the expected results.</p>
<p>When I exposed an orchestration as a wcf service, then also I was able to see the &#8220;WindowsUserName&#8221; in the context while debugging (using breakpoint). </p>
<p>But I was unable to access this property inside the orchestration. I tried by adding the reference to the propertyschema project and tried with below code:<br />
msgResponse.UserName = WCFCustomProperties.PropertySchema.WindowsUserName;</p>
<p>When the orchestration project is compiled it is giving the error<br />
&#8220;illegal use of identifier<br />
&#8216;WCFCustomProperties.PropertySchema.WindowsUserName&#8217; in an expression&#8221;</p>
<p>Can you please help how to access this promoted property inside an orchestration expression shape.</p>
<p>Thanks<br />
Giri</p>
]]></content:encoded>
	</item>
</channel>
</rss>
