Used Wshttpsbinding of WCF-custom Adapter in the send ports.Getting Multiple headers with name 'NotUnderstood'

458 views Asked by At

Below are the configuration details:

SOAP Action:

enter image description here

Error Details:

A message sent to adapter "WCF-Custom" on send port "SendSIMONMessage" with URI "https://simon-qa.dhec.sc.gov/hl7engine_qa/CDC/V1/IISService.svc" is suspended. Error details: System.ServiceModel.MessageHeaderException: Multiple headers with name 'NotUnderstood' and namespace 'http://www.w3.org/2003/05/soap-envelope' found. at System.ServiceModel.Channels.MessageHeaders.FindNonAddressingHeader(String name, String ns, String[] actors) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CopyHeadersToContext(Message wcfMessage, IBaseMessageContext btsMessageContext) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CreateBizTalkMessage(IBaseMessageFactory messageFactory, IAdapterConfigInboundMessageMarshalling marshallingConfig, Message wcfMessage, TLConfig tlConfig, RLConfig rlConfig) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result) MessageId: {53B82908-5706-4132-8FE6-0A2EC68D80DC} InstanceID: {A2072008-0388-4B4C-B25E-A8D73274EBE3}

Can some one please help?

1

There are 1 answers

0
Vikas Bhardwaj On

You should use customBinding on WCF-Custom send port for Soap12. Within customBinding, Change following property textMessageEncoding->messageVersion to Soap12. You should also generate binding file using service wsdl by using Consume WCF Service wizard. it should generate appropriate binding to use. You don't have to use generated orchestration depending on your design