Error Sending message to Web Service

Home Page Forums BizTalk 2004 – BizTalk 2010 Error Sending message to Web Service

Viewing 1 reply thread
  • Author
    Posts
    • #23662

      Hi I am getting this error, does any one know how to resolve this issue

      The adapter failed to transmit message going to send port “WcfSendPort_CrmService_CrmServiceSoap” with URL “http://dsfdef/MSCrmServices/2007/CrmService.asmx&#8221;. It will be retransmitted after the retry interval specified for this Send Port. Details:”System.ServiceModel.ProtocolException: The content type text/plain; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 225 bytes of the response were: ‘Server was unable to read request. —> There is an error in XML document (1, 1070). —> There is an error in XML document (1, 1070). —> <Query xmlns=’http://schemas.microsoft.com/crm/2007/WebServices’&gt; was not expected.

      ‘. —> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

       

    • #23666

      Hi,

       

         Your web service is most likely using ISO-8859-1 encoding, which is not supported in the WCF-BasicHttp adapter in BizTalk. Try using the WCF-Custom adapter as the Transport Type, and in the Binding tab in the Transport Properties window, select customBinding as the Binding Type, then, under the Binding panel, click on the textMessageEncoding extension to bring up its properties (in the Configuration panel), and enter ISO-8859-1as the value for the field writeEncoding.

       

         Hopefully, this should solve your issue.

       

         Daniel.

       

      • #26494

        Hello, i having the same issue but i set the write encoding and throws me an error. It cant no be get the schema for the binding type.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.