How to create DataWedge profile programatically

Our company develops enterprise solution where scanning is important part of a process. We consider Motorola TC55 as good option for our users but have to integrate scanning into our app. Use case is following : User will trigger scanning from within our application, we broadcast Intent for DataWedge and then wait for response. As I understood there must be a Profile created in DataWedge for our application. Is it possible to create it programatically? Manual creation of profile is not an option for us as far as our typical customer may have 100s - 1000s users and we can't ask them all to create profile. I also have read about autoimport of configuration file that could be a way but then our application must contain configuration file and deploy it to DataWedge folder. Is this recommeded solution?


Thanks for help!