|
Blogs
Hello, everybody. This is my first blog, finally. I wanna to get some points, and make some friends. You can also visit my msn space: http://shenpng.spaces.live.com. I'm a fun of NetWeaver. As a PI Consultant, I'm also interested in EP,MDM,BI. Recently, we have hunderds of scenarios like jdbc to proxy, proxy to jdbc. on the project. I'm tired to create so many data types.I hate routine works. Then I found that, I could write a program to generate XSD, and import it for data type definition. first, I collect all fields in one txt file for each table. My program will read all txt files in the folder, and generate XSD files like this:
Now import the XSD one by one for data types. You can get what you want.
Here I can generate data types for jdbc receiver and sender, and proxy, and file adapters. Finally, I put my code pieces here(with JDK5 runtime). If you have any question please contact me.
Note: 1, how to use this tool, for example, Txt file sd002, got sd002_snd.xsd. Then you should define data type sd002_snd, and namespace, which should be you are working on, or you can't import the XSD. Shen Peng
| |||||||||||||||||||||||