WCF - adapter, problem handling response message from external web service
hi!
we're experiencing problems handle response message web service call biztalk wcf - basichttp adapter.
the error message is:
system.servicemodel.protocolexception: there problem xml received network. see inner exception more details. ---> system.xml.xmlexception: encoding in declaration 'iso-8859-1' not match encoding of document 'utf-8'. @ system.xml.encodingstreamwrapper.throwencodingmismatch(string declenc, string docenc) @ system.xml.encodingstreamwrapper.checkutf8declarationencoding(byte[] buffer, int32 offset, int32 count, supportedencoding e, supportedencoding expectedenc) @ system.xml.encodingstreamwrapper.processbuffer(byte[] buffer, int32 offset, int32 count, encoding encoding) @ system.xml.xmlutf8textreader.setinput(byte[] buffer, int32 offset, int32 count, encoding encoding, xmldictionaryreaderquotas quotas, onxmldictionaryreaderclose onclose) @ system.xml.xmldictionaryreader.createtextreader(byte[] buffer, int32 offset, int32 count, encoding encoding, xmldictionaryreaderquotas quotas, onxmldictionaryreaderclose onclose) @ system.serv
the message never makes pipeline component. can read error message there's som missmatch between declaration of encoding and the actual encoding of message. works ok in soap ui when using wcf-adapter we can't fetch response.
anybody encountered error before or have ideas could use solve it?
thanks!
best regards /jakob
david downing... if answers question, please mark answer. if post helpful, please vote helpful.
BizTalk Server > BizTalk Server Adapters and Adapter Pack
Comments
Post a Comment