Home Page › Forums › BizTalk 2004 – BizTalk 2010 › can call xml file in Orchestration?
- This topic has 6 replies, 1 voice, and was last updated 9 years ago by
community-content.
-
AuthorPosts
-
-
September 17, 2008 at 9:09 AM #20739
Hi,
Would it be possible to call “config.xml” file from orchestration?
I will get item details from input file. I will have vendor info in a config file. I need to access the config file from orchestration to use for mapping. Would it be possible to access some xml file from orch?
Does this do anything wtih Business Rule Eng? I am wondering can i create these config info in business rule eng and use them at mapping time.
Siva
-
September 17, 2008 at 9:49 AM #20741
The short answer is yes. You can call an external assembly that uses the System.Configuration API and do whatever configuration tasks you want. The BRE would be a good choice if you wanted to dynamically configure something based on an incoming message. Can you give some more details on what you want to accomplish? What do you mean by “use them at mapping time”?
-
September 17, 2008 at 10:23 AM #20742
Thank you for your quick reply,
I am working on price and availabilty project. I will get the item number from back end system. Then i use the item# to find out who have it from our DB. These parts are done and work fine.
I have a config file. Which have all of our vendors who support with XML Transaction and their posting url, userid and password. now i need to create vendorRequset using previous input file and config file. If the DB out file and config file have the vendor name, then create request using DB out put file and config file.
Is there any easy way to do? Can i use BRE? or I need to use some .NET component to access the config file?
Siva
-
September 17, 2008 at 10:50 AM #20743
So you are looking up the vendor ID from a DB? Why not store all of the vendor info in the DB and get it in a single lookup? If that’s not feasible, then the BRE would probably be a good model. You could send in an XML containing the vendor ID, and write a rule to fill in all the vendor details based on the ID.
-
September 17, 2008 at 12:18 PM #20745
Thank you for your reply Russell,
I can not modify the DB. so it is not possible to store vendor info in DB.
User may click this app more than 100/sec. Do you think BRE would be better in runtime? Or is it better to call .NET from orchestration to return config msg each time?
Siva
-
September 17, 2008 at 12:48 PM #20746
Microsoft says the BRE is highly optimized and can support lots of users. I’ve never had any performance problems with it. Plus, it is going to be much easier to manage than config files because everything is in one place. If you use config files, you need a copy of the file on each BizTalk server.
-
September 17, 2008 at 12:54 PM #20747
Thank you Russell,
Since i never work with BRE, I am going to learn now and trying to apply to this project.
Once again, Thank you for your help.
Siva
-
-
-
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.