edi

how to transfer a file through SFTP in java? [duplicate]

这一生的挚爱 提交于 2019-11-27 05:14:36
问题 This question already has an answer here: How to retrieve a file from a server via SFTP? 16 answers How to transfer a file through SFTP in java? I want sample code for SFTP client. I want to embed the SFTP server in my application and the client should able to send a file to my application. PS: This was asked for SFTP client. And This question is not a duplicate of other two questions. Find the below link to implement SFTP. https://codetransient.wordpress.com/2019/06/22/sftp-secured-file

Date Range Validation in BizTalk EDI Schema

烂漫一生 提交于 2019-11-26 18:36:01
问题 I need to validate the date range in an element in a BizTalk schema. I have received dates with start dates before end dates (20130521-20130501). I know I could easily parse and validate this string using XSLT and C# in a map, however, I need the validation to be part of the schema so that if a transaction with a date in this format is received, BizTalk will reject the EDI transaction and produce a 999 rejection back to the sender. I have read numerous posts that advise against using regex

Is there any good open source EDIFACT parser in Java? [closed]

筅森魡賤 提交于 2019-11-26 13:44:57
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Parsing EDIFACT can be a daunting undertaking. Is there any good open source library that can help? 回答1: www.smooks.org - A template-based text parser. They have suitable EDI examples that I was looking to use to implement for Walmart 810s before they dumped my products. 回答2: try: http://bots.sourceforge.net not

How to load a flat file with header and detail data into a database using SSIS package?

半世苍凉 提交于 2019-11-26 11:25:31
问题 I have to load a flat file that has different header and detail with variable number of columns. These have parent child relations. How to load the data into SQL Server? The file looks like this: DEP*0116960*20110511***01*061000104*DA*1000022220940 AMT*3*13006.05 QTY*41*3 QTY*42*5 BAT*20110511**STAWRRY11051101 AMT*2*9332.33 QTY*42*2 BPR*I*4799*C*CHK*PBC*01*011500010*DA*394001464351 REF*CK*0000001002 BPR*I*4533.33*C*CHK*PBC*01*011500010*DA*394001464351 REF*CK*0000001001 BAT*20110511*