Loading file and storing it on startup
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Loading file and storing it on startup




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Loading file and storing it on startup  
rnsdas


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-22-04 10:56 PM

Hello,

I have many orchestrations. Our requirement is that we need to store an XML 
file in the cache at START-UP.The values from this property files would be u
sed throughout all these orchstrations (which are spread across different Pr
ojects).

How do I acheieve it. I mean how do I load an XML file on START-UP? How do I
 parse it and store the values? How do I access these values in my orchestra
tions?

(e.g: For exception handling: we would like to send an error code / error me
ssage pertaining to the type of the exception . This is one of the use of th
e XML property file that we need to do). Can someone throw some light on thi
s pelase ?

Any URL wherein this is explained in details will also be appreciated.

Thanks in advance,
rnsdas





[ Post a follow-up to this message ]



    Re: Loading file and storing it on startup  
Yossi Dahan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-22-04 10:56 PM

As far as I know, under normal circumstances, orchestration instances are
initialized when they are called and terminates shortly after they are
finished their execution, just like any other class.
There is no way to keep information in-memory for orchestration, unless you
want to process a message at a time.

Yossi

"rnsdas" <rnsdas@discussions.microsoft.com> wrote in message
news:3401851B-30ED-4F18-9670-20CFA7DF4CCB@microsoft.com...
> Hello,
>
> I have many orchestrations. Our requirement is that we need to store an
XML file in the cache at START-UP.The values from this property files would
be used throughout all these orchstrations (which are spread across
different Projects).
>
> How do I acheieve it. I mean how do I load an XML file on START-UP? How do
I parse it and store the values? How do I access these values in my
orchestrations?
>
> (e.g: For exception handling: we would like to send an error code / error
message pertaining to the type of the exception . This is one of the use of
the XML property file that we need to do). Can someone throw some light on
this pelase ?
>
> Any URL wherein this is explained in details will also be appreciated.
>
> Thanks in advance,
> rnsdas







[ Post a follow-up to this message ]



    RE: Loading file and storing it on startup  
Gilles [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-22-04 10:56 PM

Hello,

>I have many orchestrations. Our requirement is that we need to store an XML
 file in the cache at START-UP.The values from this property files would
>be used throughout all these orchstrations (which are spread across differe
nt Projects).
>
>How do I acheieve it. I mean how do I load an XML file on START-UP? How do 
I parse it and store the values? How do I access these values in my
>orchestrations?
>
>(e.g: For exception handling: we would like to send an error code / error message p
ertaining to the type of the exception . This is one of the use of the
XML property file that we need to do). Can someone throw some light on this pelase ?
>
>Any URL wherein this is explained in details will also be appreciated.

One possible way would be to add those values to the BTSNTSvc.exe.config fil
e. You would then be able to read it from an orchestration.
Look at http://msdn.microsoft.com/library/e...br />
ame=true to have more details on this file.

Thanks.
-Gilles.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:11 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register