Re: How to config/costom a WS Security to SOAP header

Home Page Forums BizTalk 2004 – BizTalk 2010 How to config/costom a WS Security to SOAP header Re: How to config/costom a WS Security to SOAP header

#21192

 Hello,

I found that disable timestamp in Binding will resolve the security hearder problem.

I found some code for .NET as following, but not know how to add this to BizTalk. Please help me on this.

BindingElementCollection elements = MyClient.Endpoint.Binding.CreateBindingElements();
elements.Find<SecurityBindingElement>().IncludeTimestamp = false;
MyClient.Endpoint.Binding = new CustomBinding(elements);