BizTalk Server General - Access message body from outside Biztalk

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > October 2005 > Access message body from outside Biztalk





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Access message body from outside Biztalk
Chris Holliday

2005-10-05, 9:01 pm

I have an application monitoring dashboard that checks the various stages of
my workflow and reports back details of the process. I would like to pull a
message body from Biztalk like HAT does from a .NET application. I would
like to use some promoted message properties like the HAT>Find Message
feature to isolate the correct message. Google has yielded very little in
the way of a starting point.

Anyone done this or have a good place to start?

Thanks,

C.


Vishal Chowdhary

2005-10-05, 9:01 pm

Which version of BTS are you using?

If I understand correctly, you need two things --

1. Query for a particular message like the FMV does -- no explicit support
for that, you have to query the db directly.
2. Get the tracked message body for the particular guid --- Can do it
through WMI call in BTS 2004.

In BTS2006 we introduce a new set of OperatiosnOM APIs that will give you
access to the
tracked message body for a particular message.

Let me know if that helps.


Thanks.


chris.holliday@gmail.com

2005-10-05, 9:01 pm

Thanks for the reply. I am using 2004. Any good starting point on
finding the message guid in a direct query? Which database? Which Proc?


Also, do you happen to know of any examples of using WMI to pull a
message body?

Again, thanks.

C.

Vishal Chowdhary

2005-10-05, 9:01 pm

>>> I am using 2004. Any good starting point on finding the message guid in
a direct query? Which database? Which Proc?

You should try using the query builder and see how it queries the
MessageFacts view to retrieve message details.
You could also run the SQl profiler to look for exact SQl queries but I
dont think that would be necessary.
[vbcol=seagreen]
message body?
have a look at this post --
http://geekswithblogs.net/gwiele/ar...3/16/26469.aspx
you will get an idea. and the wmi schema file in the bts directory will
give you all the class
names and stuff.


regds.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com