简体   繁体   English

WCF-如何在ISO8583中进行序列化和反序列化?

[英]WCF - How to serialize and deserialize in ISO8583?

I'm working on a financial application that use WCF Services to communicate to clients. 我正在使用WCF服务与客户进行通信的金融应用程序上工作。 I want to connect my application to a global bank network in my country and I must use ISO8583 Messages to connect to it. 我想将应用程序连接到我所在国家/地区的全球银行网络,并且必须使用ISO8583消息将其连接到它。 is WCF suitable for this scenario? WCF是否适合这种情况? how can serialize and deserialize messages in ISO8583 in WCF? 如何在WCF中对ISO8583中的消息进行序列化和反序列化?

WCF is totally suitable for this scenario. WCF完全适合这种情况。 You must write a Custom Text Message Encoder to handle ISO8593 encoding. 您必须编写自定义文本消息编码器才能处理ISO8593编码。

Here is an example on how to do it: 这是有关如何执行此操作的示例:

https://msdn.microsoft.com/en-us/library/vstudio/ms751486%28v=vs.100%29.aspx https://msdn.microsoft.com/zh-CN/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 这是使用不同编码 ISO8859的另一个示例,但上下文相同: 从WCF调用使用ISO-8859-1编码的Web服务

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM