cancel
Showing results for 
Search instead for 
Did you mean: 

.MDEF file

jose_augastine3
Active Participant
0 Kudos

Experts

I am getting .MDEF file. Can File Adapter process this file ?

The MDEF file format is a complex binary file format for meter data.

http://www.fairoakslabs.com/meterdoc/

Thanks in advance

J Augastine

Accepted Solutions (0)

Answers (1)

Answers (1)

anupam_ghosh2
Active Contributor
0 Kudos

Hi J Augastine ,

I guess you need to write java code to read MDEF file. This file is of type binary, java can read binary file content. Before implementing it in PI just you need to try reading the contents of the file and printing in normal text using eclipse or NWDS. Thus you will come to know the format of data you are going to receive. The way how to use java to read binary file is given here

http://www.javacommerce.com/displaypage.jsp?name=notes/chap86/ch86_1.sql&id=18218

Now if you are able to read the contents of the file, then you can put it in xml message format using java mapping. This you can follow from following link

About MDEF file format you can know more from the following link

http://www.caiso.com/docs/1999/03/30/1999033011291818524.pdf

If I can have a small sample MDEF file, I can try reading it using java.

Hope this helps.

___________________________________________________

Just published an article with complete solution to decode MDEF Files , here is the link http://wiki.sdn.sap.com/wiki/x/SQxeDw

regards

Anupam

Edited by: anupamsap on Dec 14, 2011 9:25 AM