BizTalk Gurus

Change replyto in WCF Header

rated by 0 users
Not Answered This post has 0 verified answers | 2 Replies | 1 Follower

posted on Wed, Feb 3 2010 4:07 AM

We have a requirement in our project to set the replyto element in the WCF header of a message sent through WCF Send port. I have set the replyto in the expression using the following statements.

MessageOut = MessageIn;

MessageOut(WCF.Action) = "http://tempuri.org/IReceiveMessage/ReceiveMessage";

MessageOut(WCF.ReplyToAddress) = "http://MyChangeXML/service.svc";

MessageOut(WCF.SecurityMode) = "Transport";

MessageOut(WCF.TransportClientCredentialType) = "Windows";

I have used the WCF DYnamic ports example. In the Construct Message of the Orchestration of dynamic port i have set the ReplyToAddress property.

But the message sent to the service has the default replyto set and not the value set by me.

Can anyone please help me out of this issue

All Replies

Top 10 Contributor
238 Posts
xman71 replied on Mon, Feb 22 2010 11:10 AM

Hi,

 

   Based on this MSDN forum thread, it does not seem that you can modify the ReplyToAddress element in an orchestration:

 

http://social.msdn.microsoft.com/forums/en-US/biztalkr2adapters/thread/76876f6f-afd7-4645-b28e-18b0818d3697/

 

   Consult the following MSDN articles to see what WCF properties you can write to in an orchestration:

 

http://technet.microsoft.com/en-us/library/bb246105(BTS.20).aspx

 

http://technet.microsoft.com/en-us/library/bb259987(BTS.20).aspx

 

   Hope this helps,

 

   Daniel.

 

"Google skills are more important than your coding skills."

replied on Fri, Feb 26 2010 2:05 AM

Hi,

Thanks for your response

Is there a way to change the replyto in the header of the message before sending it to the service from the biztalk send port.

Thanks for your help in advance

Page 1 of 1 (3 items) | RSS