Search code examples
c#wcfserializationiso8583openiso8583.net

WCF - How to serialize and deserialize in ISO8583?


I'm working on a financial application that use WCF Services to communicate to clients. I want to connect my application to a global bank network in my country and I must use ISO8583 Messages to connect to it. is WCF suitable for this scenario? how can serialize and deserialize messages in ISO8583 in WCF?


Solution

  • WCF is totally suitable for this scenario. You must write a Custom Text Message Encoder to handle ISO8593 encoding.

    Here is an example on how to do it:

    https://msdn.microsoft.com/en-us/library/vstudio/ms751486%28v=vs.100%29.aspx

    Here is another example using a different enconding, ISO8859, but it's the same context: Calling a webservice that uses ISO-8859-1 encoding from WCF