Smooks for X12 EDI?

1,205 views
Skip to first unread message

abhishek jain

unread,
Apr 7, 2015, 4:44:52 AM4/7/15
to smook...@googlegroups.com
Hi Friends,
I am implementing Amazon vendor central which used EDI X12 and i came to know of smooks.
After reading doc available i am not sure if we can do it using smooks i mean EDI -> Java and vice versa,
I need some advice on it, can anyone help me please and tell me if this is possible and if possible some code samples for this transformation or point me to some doc,

If this is not possible in smooks some other library one might suggest?
thanks
abhishek jain

Tom Fennelly

unread,
Apr 7, 2015, 11:38:46 AM4/7/15
to smook...@googlegroups.com
Companies have definitely used Smooks to process X12 messages. We were never able to provide something similar to the UNEDIFACT definitions simply because the X12 standard is not open. If you search the email archives you should be able to find individuals that can help with X12.

--
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 post to this group, send email to smook...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smooks-user/67f16a43-b3b0-4219-be85-4d4768de03aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Martin de Jong

unread,
Apr 7, 2015, 11:45:28 AM4/7/15
to smook...@googlegroups.com

HI Abhishek,

 

We have implemented X12 -> Java in one of our mappings.

As stated by Tom, it is definitely possible.

 

We have used the maven-ejc-plugin and defined our own custom ediMappingFile. You can find more information here; http://www.smooks.org/mediawiki/index.php?title=V1.2:ejc

 

Kind regards,

Martin de Jong.

abhishek jain

unread,
Apr 13, 2015, 8:42:56 AM4/13/15
to smook...@googlegroups.com
Hello Martin and Tom,
Thanks for replies,

I am trying to create custom edi mapping files, i am a total newbie to EDIs, Can you please guide me to a document or so for creating such a mapping. I am looking to create x12 850 mapping for amazon vendor central. I have a field specification document from amazon.

Is there a better opensource alternative to smooks for such purpose ?

thanks
abhishek

Tom Fennelly

unread,
Apr 13, 2015, 3:50:37 PM4/13/15
to smook...@googlegroups.com
Hi Abhishek. Afraid I've no experience of X12 myself but perhaps Martin can help. There was also a guy named David M. Llyod (may have the spelling wrong). You could try find him in the email archives.

abhishek jain

unread,
Apr 14, 2015, 1:33:05 PM4/14/15
to smook...@googlegroups.com
Hello Martin,
If possible , can you please help me at it.


thanks
abhishek

Gajendra

unread,
Dec 8, 2016, 9:44:38 AM12/8/16
to Smooks Users
Hi Abhishek,

I have similar issue for X12 EDI 270/271 as i've not found any open xsd to map.
So could you please help me in any way if you have somehow transformed any x12 EDI.

Thank You.

Tom Fennelly

unread,
Dec 15, 2016, 8:41:40 AM12/15/16
to smook...@googlegroups.com
Have you searched the emails on this list and on the old legacy lists? What you need to do is find people that have done this (which there are a few) and contact them directly yourself and hope they have the mappings you can use. X12 is proprietary, so can't be published here.

--
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+unsubscribe@googlegroups.com.

To post to this group, send email to smook...@googlegroups.com.

bha...@webbee.biz

unread,
Jun 2, 2018, 6:12:04 AM6/2/18
to Smooks Users
Hello friends,
 I am looking for edi java parser for x12 850 EDI file, please let me know if we do have available.

Thanks



On Thursday, December 15, 2016 at 7:11:40 PM UTC+5:30, Tom Fennelly wrote:
Have you searched the emails on this list and on the old legacy lists? What you need to do is find people that have done this (which there are a few) and contact them directly yourself and hope they have the mappings you can use. X12 is proprietary, so can't be published here.
On 8 December 2016 at 14:44, Gajendra <gkuma...@gmail.com> wrote:
Hi Abhishek,

I have similar issue for X12 EDI 270/271 as i've not found any open xsd to map.
So could you please help me in any way if you have somehow transformed any x12 EDI.

Thank You.

--
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 post to this group, send email to smook...@googlegroups.com.

Harshil Kapasi

unread,
Sep 10, 2024, 3:45:53 AM9/10/24
to Smooks Users

Hello,
Can anyone please tell me how can i get the X12 schemas for some of the edi versions? For using smooks, i dont want to make custom schemas each time, because the input X12 document can be of many different versions. so i want to have different schemas, for some of the versions which are mainly used

Thanks

Claude

unread,
Sep 11, 2024, 5:48:06 AM9/11/24
to Smooks Users
X12 is definitely popular but the schemas can't be made open-source for reasons listed in this thread. If you want to avoid hand-crafting the schemas, you could generate the DFDL schemas from the X12 implementation guides. It's not trivial to get it right but the X12 guides are much easier to parse than the EDIFACT ones. A less painful alternative is to write a single general-purpose DFDL schema for the EDI cartridge that accepts any segment and data element. It depends on your use-case. For sure, the latter has less in-built validation and it could be harder to navigate the data (e.g., loops).

Claude

Claude Mamo

unread,
Sep 12, 2024, 3:36:54 AM9/12/24
to smook...@googlegroups.com
While we're discussing this topic, if someone from the community is developing an X12 DFDL schema generator and would like to contribute, then please let us know! We can not publish X12 DFDL schemas for copyright reasons but presumably the generator can be published.

Reply all
Reply to author
Forward
0 new messages