Forum Replies Created
-
AuthorPosts
-
thanks 4 the reply. so sorry it should be SOAP receive adapter.
Hi,
@xman71:
you are right. I think a wcf service is the best way to handle this. I`ve createt one and it works fine … but i am not able to get a string from the service. the value of my response string is allways NULL. ??? Any idea?
Greets!
Hi, i DO use the SQL adapter this is not the problem …
Hi!
FYI, I found my answer for this!
The problem was that i constructed my message B inside a Decide-shape, in only one of its branches. Of course I can not use my message B after my decide-shape without doing the construction in all the branches:)
Biztalk aready provides the WMI interface, you just need to use it. Here is a example of C# console app that registers for change events on receive locations and send ports:
http://blogs.msdn.com/chrisromp/archive/2008/04/02/using-wmi-to-monitor-send-ports-and-receive-locations-in-biztalk-server.aspxThere is more info in the documentation:
http://msdn.microsoft.com/en-us/library/aa560069(v=BTS.20).aspxMay 19, 2010 at 5:55 AM in reply to: Using the File Adapter on a Windows 2003 server shared folder #24742I don’t see why this would not work.
What errors are you seeing, does the receive location get disabled?Depends on what you wish to track.
If you only wish to track data from the message you can use TPE to point at any deployed schema.
http://www.novaenterprisesystems.com/Blog/post/BAM-Schema-Binding.aspxIf you wish to gather more detail, look at using the WCF BAM interceptors
http://blogs.msdn.com/keithlim/archive/2007/06/29/bam-interceptor-for-wcf.aspxGreg,
Thanks for your reply. You mean to say we suppose to write custom WMI interface to capture the status of ports. The actual requirement is
I need to write a C# component which will monitor all biztalk receive/send ports and sends notification to support group for every one hour. I thought of reading the status of ports from BizTalkMgmt database in a C# component would work. Please let me know from which table in Mgmt databse we need to capture this information.
Please adivice me to go for better approach.
Thanks in advance.
Not sure if I understand what you are trying to do, can you please explain in more detail.
May 19, 2010 at 5:29 AM in reply to: reading emails using POP3/SMTP adapter and segregate the same in db. #24738Basically you need to set up a receive port with one POP3 receive location for each mailbox. Point these at your mail server using appropriate authentication and mail box id. Set the polling interval.
The POP3 adapter will deliver a message to BizTalk with a number of properties in the message context. http://msdn.microsoft.com/en-us/library/aa560937(BTS.20).aspx
If the message has no attachments you will receive a message with a single part which is the email body. If the email has attachments you will receive a message with the first part being the email body and each subsequent part being one of the attachments.
You need to decide on the format of your SQL table/s and how you will store this info and also creating a stored procedure to insert the data . Then create a schema from this stored procedure.
In an orchestration receive the POP3 message, make this message a .Net message of type System.Xml.Document ( this is BizTalk’s untyped message) .
Create a new SQL message using data from the message and properties from the context and send to a SQL port.
There is a sample POP3 application here that show how to manipulate messages with a variable number of attachments.
http://www.biztalkgurus.com/media/p/15562.aspxFor clustering Biztalk databases, go here: http://msdn.microsoft.com/en-us/library/ee308825(BTS.10).aspx
For multiple MessageBox databases, go here: http://msdn.microsoft.com/en-us/library/aa561513(BTS.20).aspx
You do not need a load balanced device to share the load, most BizTalk databases only allow a single running instance, so clustering is active/passive.
The MessageBox allows multiple databases, but load distribution is managed by BizTalk.The DTA database has a single active instance, although you can create archive databases and use the Purge and Archive SQL Job to move data from the active instance to an archive instance.
What adapter are you using?
You header mentions the HTTP Adapter while your message mentions SOAP exceptions and web services?Yes there will be somewhere in the BizTalkMgmtDb where this information is held.
Don’t know if anyone has gone to the trouble of finding it. Most people would use the ExplorerOM or WMI APIs to find this info.
With the WMI interface you even register for events that notify you of a change to the status.Is the SQL Agent running on the BizTalk database server. There are a number of jobs that cleanup references etc. If these jobs are not running or are failing then you are unable to terminate some instances.
If the SQL Agent is running and all jobs are successfully completing then you may need to get the MessageBoxViewer out of its holster. http://blogs.technet.com/jpierauc/pages/msgboxviewer.aspx
If it is not well-formed then it is not Xml, its just a complicated flat file.
Are you sending or receiving this message.
A common practice is to manipulate the message into / out of actual Xml in a custom Decode/Encode component in the pipeline. This way all processing thru BizTalk uses Xml and typed messages. -
AuthorPosts