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
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
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."
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