EDIFACT ORDERS 91-1

135 views
Skip to first unread message

Robert Koziol

unread,
Mar 16, 2021, 4:56:52 PM3/16/21
to Smooks Users
Hi all,

I am trying to parse EDIFACT ORDERS 91-1 with Smooks framework (I assume so since my message contains UNH+1+ORDERS:1:911:UN segment). I am not able to find any mapping model for this old EDI flavour. Looking in maven repo I can find D93A as the earliest version.

Does it mean I need to write one myself?

BR

Claude Mamo

unread,
Mar 17, 2021, 5:05:34 AM3/17/21
to smook...@googlegroups.com
Welcome to the forum Robert! Yeah, 91-1 isn't currently supported. I opened the 91-1 directory archive and its structure looks very different from the newer directories that the cartridge supports. There are a couple of ways how to go about this.
  • As suggested, you could write the schema for this version yourself. In Smooks 2, the schema is written in DFDL.
  • Fork the EDI cartridge repo and modify the schema generator to generate schemas for the 91-1 version (PRs are welcome).
  • Create a feature request in the EDI cartridge and hopefully someone will pick it up
  • Sponsor the development of this feature (most likely the quickest way to get this implemented)
Claude

--
You received this message because you are subscribed to the Google Groups "Smooks Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smooks-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smooks-user/b964b14f-c699-4f99-a07e-3a76452c7a00n%40googlegroups.com.

Robert Koziol

unread,
Mar 21, 2021, 5:59:29 PM3/21/21
to smook...@googlegroups.com
Hi Claude,

Thanks for your prompt reply. I am using smooks with WSO2 6.6.0. As far as I know smooks 1.5.1 is used there. I will try to write my own schema then. I will share results when I am done.

BR

You received this message because you are subscribed to a topic in the Google Groups "Smooks Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/smooks-user/sYrgs_FtHZs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to smooks-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smooks-user/CADvAAug057T_pT0wtBLspac7YwwYkh4ALxn_uN%2B2TzWMCEwd9w%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages