IATA Amadeus EDIFACT到XML解析器 [英] IATA Amadeus EDIFACT to XML Parser

查看:101
本文介绍了IATA Amadeus EDIFACT到XML解析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个项目,我需要从EDIFACT(用于航空业,IATA Amadeus版本)到XML构建解析器,但我不知道从哪里开始.首先,我试图理解该语法,但是它与普通的UN/EDIFACT有很大不同,并且某些消息无法理解和发现.我只想知道从哪里开始,应该怎么做以及使用什么工具,我真的迷失了.

此致

Hi,

I have a project in which i need to build a parser from EDIFACT (used in air industry, IATA Amadeus version) to XML and I don''t know from where to start. First i tried to understand the syntax but it''s so different from normal UN/EDIFACT and some messages can''t be understood and found. I just want to know from where to start, what should I do and what tools to use, I''m really lost.

Regards,

推荐答案

嘿,

根据我的经验,很多edifact格式都是针对特定产品的.
我自己决定,自己构建那些解析器.我通常在dotnet-projects中分两个步骤进行操作:
1)将二进制消息解析为通用类,例如message,segment,composite,element.
2)解析特定于产品/消息的类.

如果愿意,我可以向您发送第1步的C#代码.

另一个想法.也许您不需要阅读edifact.我知道,Amadeus现在有肥皂网络服务.我知道,他们是从edifact消息自动生成那些Web服务的.也许它是供您选择的选项,而不是基础的edifact消息.
Hey,

in my experience, a lot of edifact-formats are very product-specific.
I decided for myself, to build those parsers myself. I usualy do this in two steps in my dotnet-projects:
1) Parse the binary message into generic classes like message, segment, composite, element.
2) Parse the classes product/message-specific.

I can send you some c#-code for step 1 if you like.

Another idea. Maybe you dont need to read edifact. I know, Amadeus have soap-webservices nowadays. I know, they are auto-generating those webservices from edifact-messages. Maybe its an option for you to access those instead of the underlying edifact-messages.


这篇关于IATA Amadeus EDIFACT到XML解析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆