on 06-28-2011 5:43 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.