XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
sdev kSubject: XML to X12 conversion error
Author: sdev k
Date: 02 Sep 2009 04:58 PM
I am trying to convert the XML file to EDI file, I am getting this error message..
I have followed the link
http://www.stylusstudio.com/edi/XML_to_X12.html#save
for the conversion. Thank you for your help.

[DDEF0037] FATAL ERROR EDI dialect null not supported at this time (check case and/or spelling)

com.ddtek.xmlconverter.adapter.edi.EDIConverterException: [DDEF0037] FATAL ERROR EDI dialect null not supported at this time (check case and/or spelling)

at com.ddtek.xmlconverter.adapter.edi.EDI.errorBuilder(EDI.java:1118)

at com.ddtek.xmlconverter.adapter.edi.EDI.fatal(EDI.java:1001)

at com.ddtek.xmlconverter.adapter.edi.EDI.fatal(EDI.java:995)

at com.ddtek.xmlconverter.adapter.edi.Handler.startElement(Handler.java:80)

Postnext
Alberto MassariSubject: XML to X12 conversion error
Author: Alberto Massari
Date: 03 Sep 2009 07:50 AM
Hi,
I have tested the X12 document found at that web page, and it does convert fine in both directions. Which version of Stylus Studio are you using? If you have modified the x12-sample.txt, can you post it to this thread?

Thanks,
Alberto

Postnext
sdev kSubject: XML to X12 conversion error
Author: sdev k
Date: 03 Sep 2009 09:31 AM
Originally Posted: 03 Sep 2009 09:32 AM
I am using Stylus Studio Enterprise Suite Release 2008. I tried the book.xml from
C:\Stylus Studio 2008 XML Enterprise Suite Release 2\examples\query

its giving me same error message.

Postnext
Alberto MassariSubject: XML to X12 conversion error
Author: Alberto Massari
Date: 03 Sep 2009 09:52 AM
Hi,
you cannot convert an arbitrary XML document to X12; the XML document must adhere to a specific schema to have the informations needed to build a fully compliant EDI message.
If you need to create an EDI message from scratch (instead of editing an existing one, like the web page you were referring to was doing) you should first create the XML Schema for that specific message using the "X12 to XML Schema" document wizard, then use it (for instance, as the target schema in Mapper) to populate the proper fields. The resulting XML document can then be converted into EDI.

Hope this helps,
Alberto

Postnext
sdev kSubject: XML to X12 conversion error
Author: sdev k
Date: 03 Sep 2009 10:11 AM
Can please give me a sample XML file, I don have x12-sample.txt. If you could provide me help link or blog that gives me info on how to convert XML to EDI? would be helpful. Thank You.

Posttop
Alberto MassariSubject: XML to X12 conversion error
Author: Alberto Massari
Date: 03 Sep 2009 10:22 AM
Hi,
the x12-sample.txt is referenced in the same web page you listed in your post. Its direct URL is http://www.stylusstudio.com/edi/x12-sample.txt

You can find several pages on how to work with EDI and XML in Stylus Studio at http://www.stylusstudio.com/edi/ including video tutorials showing the operations step by step.

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.