Home Page › Forums › BizTalk 2004 – BizTalk 2010 › WCF custom adapter exception
- This topic has 1 reply, 1 voice, and was last updated 9 years, 10 months ago by
community-content.
-
AuthorPosts
-
-
May 10, 2010 at 12:26 PM #24665
hello all,
i am trying to call a WCF service using WCF send port with custom binding,i configured a send port and i set all custom bindings and when a message that is registerd to be routed to this send port is received in biztalk the following send port exception is raised
Error details: System.ServiceModel.FaultException: <s:Envelope xmlns:s=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:a=”http://schemas.xmlsoap.org/ws/2004/08/addressing” xmlns:u=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd”><s:Header><a:Action s:mustUnderstand=”1″>http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</a:Action><a:RelatesTo>urn:uuid:a8cc33a5-f4ff-4f8f-a680-bfc5aa7c325c</a:RelatesTo><a:To s:mustUnderstand=”1″>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:To><o:Security s:mustUnderstand=”1″ xmlns:o=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd”><u:Timestamp u:Id=”_0″><u:Created>2010-05-10T17:21:42.064Z</u:Created><u:Expires>2010-05-10T17:26:42.064Z</u:Expires></u:Timestamp></o:Security></s:Header><s:Body><s:Fault><faultcode>a:ActionNotSupported</faultcode><faultstring xml:lang=”en-US”>The message with Action ‘https://myservice url” cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</faultstring></s:Fault></s:Body></s:Envelope>
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)
MessageId: {8561C6DA-4138-4F3D-AFED-1F1153CA4299}
InstanceID: {AE663181-7C4D-4566-9E65-788114D18BB4}
The error says that contract name doesn’t match while the biztalk didn’t give me control to set contract name , it set it by default
any help will be appreciated
Thanks
-
May 12, 2010 at 1:04 PM #24681
Hi,
See if the following blog can help you resolve your issue:
http://stackoverflow.com/questions/1724095/how-to-programmatically-turn-off-security-in-wcf
Daniel.
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.