Biztalk Tracking message Web Api

Tuesday, August 9, 2011
Q:

I am very new to the BizTalk world and got a task to develop web utility which will display the BizTalk Tracked massages.

There is web service and need to search the tracked message for the service and looking for the followings

1. need to search the relevant or all tracked messages by the XML element values of XML web service request/response.

2. XML web service request/response schema based search

3. text from the message body

Thanks in Advance

Ans:


You can look at out-of-box capabilities of Biztalk like BAM, you could leverage and/or gain insight through MSDN
Business Activity Monitoring (inluding BAM API). Other capabilties out-of-box through send/receive ports, see this post for guidance (includes BAM). Alternatives to out-of-box could be BizTalk360 (no API though) or IPM (also no API).

HTH



If everything is going through the Web-service, you can use also (in addition to the BizTalk tracking as Steef-Jan recommend) the WCF logging/tracking capabilities.

Se here how to configure WCF tracing. It doesn't hit the SQL databases (as BizTalk tracing does), it compact.

Service Trace Viewer Tool helps you analyze diagnostic traces that are generated by WCF. In works very well in many cases. It doesn't replace BAM but is a good competitor for the BizTalk tracing.

So, look at this Viewer and it gives you ideas how to do your tracking service.



Q:


I have gone through the BAM API but could not found relevant interfaces for my requirement.

And now we have decided to use the Operations class and direct sql on BizTalkDB.

Does this seems good or you have any specific idea on this, please let me know.

One more Question where(in DB)/How(API) do I get the BizTalk Application names?


Ans:
I do not think it wise to directly query BizTalk database i.e. MessageBox, you can however use query tracking database and view tracked messages, see this post by Thiago or leverage BTSDecompress found on codeplex. To get application names you could use WMI, to find appropiate query you can use WMI Explorer







No comments:

Post a Comment

Post Your Comment...