You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am mocking WCF soap messages with WireMock. I am also using Unicode encoding. When I set UseTransformer to true, I get "The encoding in the declaration 'utf-16' does not match the encoding of the document 'utf-8'." When I set the Encoding = original.BodyData.Encoding in the ResponseMessageTransformer.TransformBodyAsString, the error goes away. Can you add that line to that file? It would help other people who still have to work with WCF projects.
The text was updated successfully, but these errors were encountered:
I am mocking WCF soap messages with WireMock. I am also using Unicode encoding. When I set UseTransformer to true, I get "The encoding in the declaration 'utf-16' does not match the encoding of the document 'utf-8'." When I set the Encoding = original.BodyData.Encoding in the ResponseMessageTransformer.TransformBodyAsString, the error goes away. Can you add that line to that file? It would help other people who still have to work with WCF projects.
The text was updated successfully, but these errors were encountered: