<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	>
<channel>
	<title>Comments on: Processing UN/EDIFACT message Interchanges&#8230;</title>
	<atom:link href="http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/</link>
	<description>The official blog</description>
	<lastBuildDate>Thu, 03 Nov 2011 16:34:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Fred</title>
		<link>http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/comment-page-1/#comment-717</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Tue, 22 Feb 2011 23:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smooks.org/?p=441#comment-717</guid>
		<description>First, I&#039;m totally new to Smooks as well as maven.  Although I have a pretty good background in EDIFACT and other formats, I&#039;m struggling with the java-binding example that comes with the install of Smooks 1.4.

According to the README file, I should be able to run mvn clean install from the java-binding directory followed by mvn exec:java.

Running mvn clean install gives me the following:

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -&gt; [Help 1]
[ERROR]   
[ERROR]   The project org.milyn:milyn-smooks-example-unedifact-java-binding:1.0 (/usr/local/smooks-1.4/examples/unedifact/java-binding/pom.xml) has 2 errors
[ERROR]     &#039;groupId&#039; is missing. @ [unknown-group-id]:unedifact-examples:[unknown-version], /usr/local/smooks-1.4/examples/unedifact/pom.xml, line 18, column 202
[ERROR]     &#039;version&#039; is missing. @ [unknown-group-id]:unedifact-examples:[unknown-version], /usr/local/smooks-1.4/examples/unedifact/pom.xml, line 18, column 202
... [remaining lines deleted] ...

From this, I&#039;m guessing that something is missing in the maven repository but I&#039;m confused as to figure out what.

If anyone can get me in the right direction, I would be very grateful.

Thanks</description>
		<content:encoded><![CDATA[<p>First, I&#8217;m totally new to Smooks as well as maven.  Although I have a pretty good background in EDIFACT and other formats, I&#8217;m struggling with the java-binding example that comes with the install of Smooks 1.4.</p>
<p>According to the README file, I should be able to run mvn clean install from the java-binding directory followed by mvn exec:java.</p>
<p>Running mvn clean install gives me the following:</p>
<p>[INFO] Scanning for projects&#8230;<br />
[ERROR] The build could not read 1 project -&gt; [Help 1]<br />
[ERROR]<br />
[ERROR]   The project org.milyn:milyn-smooks-example-unedifact-java-binding:1.0 (/usr/local/smooks-1.4/examples/unedifact/java-binding/pom.xml) has 2 errors<br />
[ERROR]     &#8216;groupId&#8217; is missing. @ [unknown-group-id]:unedifact-examples:[unknown-version], /usr/local/smooks-1.4/examples/unedifact/pom.xml, line 18, column 202<br />
[ERROR]     &#8216;version&#8217; is missing. @ [unknown-group-id]:unedifact-examples:[unknown-version], /usr/local/smooks-1.4/examples/unedifact/pom.xml, line 18, column 202<br />
&#8230; [remaining lines deleted] &#8230;</p>
<p>From this, I&#8217;m guessing that something is missing in the maven repository but I&#8217;m confused as to figure out what.</p>
<p>If anyone can get me in the right direction, I would be very grateful.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Fennelly</title>
		<link>http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/comment-page-1/#comment-197</link>
		<dc:creator>Tom Fennelly</dc:creator>
		<pubDate>Wed, 29 Sep 2010 06:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smooks.org/?p=441#comment-197</guid>
		<description>Not yet, but this is something we are looking at for Smooks v1.5.  See this blog post: http://blog.smooks.org/2010/09/18/unedifact-editor-for-eclipse/</description>
		<content:encoded><![CDATA[<p>Not yet, but this is something we are looking at for Smooks v1.5.  See this blog post: <a href="http://blog.smooks.org/2010/09/18/unedifact-editor-for-eclipse/" rel="nofollow">http://blog.smooks.org/2010/09/18/unedifact-editor-for-eclipse/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/comment-page-1/#comment-192</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Wed, 29 Sep 2010 02:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smooks.org/?p=441#comment-192</guid>
		<description>Is there a way to generate an xsd for the output of the mapping? 

I can generate the XML from the EDIFACT, but I&#039;d like to pass this message in a SOAP message and need to create a WSDL, XSD etc.</description>
		<content:encoded><![CDATA[<p>Is there a way to generate an xsd for the output of the mapping? </p>
<p>I can generate the XML from the EDIFACT, but I&#8217;d like to pass this message in a SOAP message and need to create a WSDL, XSD etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Fennelly</title>
		<link>http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/comment-page-1/#comment-153</link>
		<dc:creator>Tom Fennelly</dc:creator>
		<pubDate>Tue, 07 Sep 2010 15:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smooks.org/?p=441#comment-153</guid>
		<description>Mats... can you zip your example and post it to the dev mailing list please: http://www.smooks.org/mediawiki/index.php?title=Mailing_Lists</description>
		<content:encoded><![CDATA[<p>Mats&#8230; can you zip your example and post it to the dev mailing list please: <a href="http://www.smooks.org/mediawiki/index.php?title=Mailing_Lists" rel="nofollow">http://www.smooks.org/mediawiki/index.php?title=Mailing_Lists</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mats</title>
		<link>http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/comment-page-1/#comment-152</link>
		<dc:creator>Mats</dc:creator>
		<pubDate>Tue, 07 Sep 2010 14:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smooks.org/?p=441#comment-152</guid>
		<description>Ok, the XML tags are filtered, one more try with the pom info:

      plugin
        groupId org.milyn groupId
        artifactId maven-ejc-plugin artifactId
        version 1.4-20100808.081120-26 version
        configuration
          ediMappingModel urn:org.milyn.edi.unedifact:d03b-mapping:1.0-SNAPSHOT ediMappingModel
		  packageName se.tullverket.edifact packageName
        configuration
        executions
          execution
            goals
              goal generate goal
            goals
          execution
        executions
        dependencies
          dependency
            groupId org.milyn.edi.unedifact groupId
            artifactId d03b-mapping artifactId
            version 1.0-SNAPSHOT version
          dependency
        dependencies
      plugin</description>
		<content:encoded><![CDATA[<p>Ok, the XML tags are filtered, one more try with the pom info:</p>
<p>      plugin<br />
        groupId org.milyn groupId<br />
        artifactId maven-ejc-plugin artifactId<br />
        version 1.4-20100808.081120-26 version<br />
        configuration<br />
          ediMappingModel urn:org.milyn.edi.unedifact:d03b-mapping:1.0-SNAPSHOT ediMappingModel<br />
		  packageName se.tullverket.edifact packageName<br />
        configuration<br />
        executions<br />
          execution<br />
            goals<br />
              goal generate goal<br />
            goals<br />
          execution<br />
        executions<br />
        dependencies<br />
          dependency<br />
            groupId org.milyn.edi.unedifact groupId<br />
            artifactId d03b-mapping artifactId<br />
            version 1.0-SNAPSHOT version<br />
          dependency<br />
        dependencies<br />
      plugin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mats</title>
		<link>http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/comment-page-1/#comment-151</link>
		<dc:creator>Mats</dc:creator>
		<pubDate>Tue, 07 Sep 2010 13:59:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smooks.org/?p=441#comment-151</guid>
		<description>This is exactly what we need in our next project! I checked out the examples and tested &quot;ect-unedifact&quot; as described. Then I found the slide &quot;UN/EDIFACT Interchange Processing with Smooks v1.4&quot; where you also have an example on how to use EJC to generate the Java object model from the mapping model:

      
        org.milyn
        maven-ejc-plugin
        1.4-20100808.081120-26
        
          urn:org.milyn.edi.unedifact:d03b-mapping:1.0-SNAPSHOT
		  se.tullverket.edifact
        
        
          
            
              generate
            
          
        
        
          
            org.milyn.edi.unedifact
            d03b-mapping
            1.0-SNAPSHOT
          
        
      

But when I try to build this I get: 
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Invalid EDI mapping model config specified for org.milyn.edisax.EDIParser.  Unable to access URI based mapping model [src/main/resour
ces/edi-model.xml].
Failed to access data stream for resource [src/main/resources/edi-model.xml]. Tried (in order):
        File System: C:\project\Tester\EDIFACT EJC\src\main\resources\edi-model.xml
        File System: C:\project\Tester\EDIFACT EJC\src\main\resources\edi-model.xml
        Classpath: /src/main/resources/edi-model.xml

[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalStateException: Invalid EDI mapping model config specified for org.milyn.edisax.EDIParser.  Unable to access URI based mapp
ing model [src/main/resources/edi-model.xml].
        at org.milyn.edisax.EDIParser.getMappingConfigData(EDIParser.java:279)

It&#039;s looks like the urn and the dependecy to the local repo are not used? Or am I doing something wrong here..?
(The mapping model exists in my local repo as &quot;d03b-mapping-1.0-SNAPSHOT.jar&quot;)

Thanks for any help
/Mats</description>
		<content:encoded><![CDATA[<p>This is exactly what we need in our next project! I checked out the examples and tested &#8220;ect-unedifact&#8221; as described. Then I found the slide &#8220;UN/EDIFACT Interchange Processing with Smooks v1.4&#8243; where you also have an example on how to use EJC to generate the Java object model from the mapping model:</p>
<p>        org.milyn<br />
        maven-ejc-plugin<br />
        1.4-20100808.081120-26</p>
<p>          urn:org.milyn.edi.unedifact:d03b-mapping:1.0-SNAPSHOT<br />
		  se.tullverket.edifact</p>
<p>              generate</p>
<p>            org.milyn.edi.unedifact<br />
            d03b-mapping<br />
            1.0-SNAPSHOT</p>
<p>But when I try to build this I get:<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[ERROR] FATAL ERROR<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Invalid EDI mapping model config specified for org.milyn.edisax.EDIParser.  Unable to access URI based mapping model [src/main/resour<br />
ces/edi-model.xml].<br />
Failed to access data stream for resource [src/main/resources/edi-model.xml]. Tried (in order):<br />
        File System: C:\project\Tester\EDIFACT EJC\src\main\resources\edi-model.xml<br />
        File System: C:\project\Tester\EDIFACT EJC\src\main\resources\edi-model.xml<br />
        Classpath: /src/main/resources/edi-model.xml</p>
<p>[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Trace<br />
java.lang.IllegalStateException: Invalid EDI mapping model config specified for org.milyn.edisax.EDIParser.  Unable to access URI based mapp<br />
ing model [src/main/resources/edi-model.xml].<br />
        at org.milyn.edisax.EDIParser.getMappingConfigData(EDIParser.java:279)</p>
<p>It&#8217;s looks like the urn and the dependecy to the local repo are not used? Or am I doing something wrong here..?<br />
(The mapping model exists in my local repo as &#8220;d03b-mapping-1.0-SNAPSHOT.jar&#8221;)</p>
<p>Thanks for any help<br />
/Mats</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SOPERA Blog &#187; EDI and EDIFACT support in SOPERA DI</title>
		<link>http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/comment-page-1/#comment-104</link>
		<dc:creator>SOPERA Blog &#187; EDI and EDIFACT support in SOPERA DI</dc:creator>
		<pubDate>Tue, 13 Jul 2010 10:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smooks.org/?p=441#comment-104</guid>
		<description>[...] the same time the framework we were using for parsing EDI messages in SOPERA DI EDI components made significant progress in the areas mentioned above, therefore we are now taking advantage of this improvements as well as [...]</description>
		<content:encoded><![CDATA[<p>[...] the same time the framework we were using for parsing EDI messages in SOPERA DI EDI components made significant progress in the areas mentioned above, therefore we are now taking advantage of this improvements as well as [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Fennelly</title>
		<link>http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/comment-page-1/#comment-102</link>
		<dc:creator>Tom Fennelly</dc:creator>
		<pubDate>Tue, 06 Jul 2010 13:15:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smooks.org/?p=441#comment-102</guid>
		<description>Hi Jeroen.

Can we move this discussion to the dev mail list please: http://smooks.org/mediawiki/index.php?title=Mailing_Lists

Before leaving here... I downloaded that zip and had a quick look inside... it&#039;s a different structure to the others we&#039;ve been testing against.</description>
		<content:encoded><![CDATA[<p>Hi Jeroen.</p>
<p>Can we move this discussion to the dev mail list please: <a href="http://smooks.org/mediawiki/index.php?title=Mailing_Lists" rel="nofollow">http://smooks.org/mediawiki/index.php?title=Mailing_Lists</a></p>
<p>Before leaving here&#8230; I downloaded that zip and had a quick look inside&#8230; it&#8217;s a different structure to the others we&#8217;ve been testing against.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeroen</title>
		<link>http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/comment-page-1/#comment-101</link>
		<dc:creator>Jeroen</dc:creator>
		<pubDate>Mon, 05 Jul 2010 22:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smooks.org/?p=441#comment-101</guid>
		<description>Hi Tom,

I already tried it using a newly created zip (using 7zip) but that didn&#039;t help. I also tried with a zipfile created using the jar tool but also no good. I still got the exception &quot;invalid compression method&quot;

But using the following test I got no exception:

	public static void main(String[] args) throws IOException {
		ZipInputStream zin = new ZipInputStream(new FileInputStream(new File(&quot;s93a.zip&quot;)));
		ZipEntry ze = null;
		while ((ze = zin.getNextEntry()) != null) {
			System.out.println(&quot;Unzipping &quot; + ze.getName());
			for (int c = zin.read(); c != -1; c = zin.read()) {
//				System.out.write(c);
			}
			zin.closeEntry();
		}
		zin.close();
	}

So I&#039;m still stuck :(

Regards,

Jeroen</description>
		<content:encoded><![CDATA[<p>Hi Tom,</p>
<p>I already tried it using a newly created zip (using 7zip) but that didn&#8217;t help. I also tried with a zipfile created using the jar tool but also no good. I still got the exception &#8220;invalid compression method&#8221;</p>
<p>But using the following test I got no exception:</p>
<p>	public static void main(String[] args) throws IOException {<br />
		ZipInputStream zin = new ZipInputStream(new FileInputStream(new File(&#8221;s93a.zip&#8221;)));<br />
		ZipEntry ze = null;<br />
		while ((ze = zin.getNextEntry()) != null) {<br />
			System.out.println(&#8221;Unzipping &#8221; + ze.getName());<br />
			for (int c = zin.read(); c != -1; c = zin.read()) {<br />
//				System.out.write(c);<br />
			}<br />
			zin.closeEntry();<br />
		}<br />
		zin.close();<br />
	}</p>
<p>So I&#8217;m still stuck <img src='http://blog.smooks.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Regards,</p>
<p>Jeroen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Fennelly</title>
		<link>http://blog.smooks.org/2010/06/28/processing-unedifact-message-interchanges/comment-page-1/#comment-100</link>
		<dc:creator>Tom Fennelly</dc:creator>
		<pubDate>Mon, 05 Jul 2010 14:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smooks.org/?p=441#comment-100</guid>
		<description>Hi Jeroen.

Thanks for trying this out and letting us know what happened.  As yet, we haven&#039;t tried all of the zip files, so I&#039;m not overly surprised at there being an issue (or two :) ).  We need to get through them all and iron out the creases.

We&#039;ll give d93a.zip a try and see what we get, but it actually sounds as though it&#039;s an issue with Java (the ZipInputStream) and the d93a.zip zip file.  Would you mind writing a simple java class that uses the ZipInputStream class to read the zip... and see what happens?  Or... unzip and rezip the zip file and try it again... see can it work with the rezipped version.</description>
		<content:encoded><![CDATA[<p>Hi Jeroen.</p>
<p>Thanks for trying this out and letting us know what happened.  As yet, we haven&#8217;t tried all of the zip files, so I&#8217;m not overly surprised at there being an issue (or two <img src='http://blog.smooks.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).  We need to get through them all and iron out the creases.</p>
<p>We&#8217;ll give d93a.zip a try and see what we get, but it actually sounds as though it&#8217;s an issue with Java (the ZipInputStream) and the d93a.zip zip file.  Would you mind writing a simple java class that uses the ZipInputStream class to read the zip&#8230; and see what happens?  Or&#8230; unzip and rezip the zip file and try it again&#8230; see can it work with the rezipped version.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

