Forum Replies Created
-
AuthorPosts
-
[quote user="Anonymous"]
Hi,
Is there a script (WMI/SQL) to automatically resume suspended messages in BTS 2006?
I have Orch1 calling Orch 2 asynchronously. When the host instance running Orch2 is stopped the messages get suspended. When i restart the host instance for Orch 2 I need a way to automatically resume all the suspended messages (hundreds of them) instead of resuming them one by one manually from the Admin Console.
Thanks
Bala
[/quote]
This doesn't answer your question about automatically doing it, but you can highlight a range (even all of them); right click, then resume them in one swipe. If you don't have the resume option it might be because you highlighted some that are non-resumable. Just add an additional filter for resumable only. I have resumed thousands at a time this way and it works fine.
Hi Bala,In 2006, you can do "bulk operations" so that if you have 1000 suspended messages, you can select the collection of them (in the Hub, when you see suspended messages, by type, you click on type and see the individual ones … so the "by type" is where you do "bulk operations"). That's one way to easily resubmit.You'll find a few scripts in the SDK for using WMI or the object model, and the Biztalk book has some content on resuming suspended messages (http://book.itzero.com/read/microsoft/0505/Sams.Microsoft.BizTalk.Server.2004.Unleashed.Nov.2004.eBook-LiB_html/0672325985/ch17lev1sec4.html), and you'll find lots of ither scripts here (http://www.gotdotnet.com/codegallery/releases/viewuploads.aspx?id=0690616f-838c-4583-a4c5-cecc5ac04dac).October 6, 2006 at 9:22 AM in reply to: Exposed Orchestration as WS; Can’t send XML with multiple records?? #15978Sorry, multiple actual records. Thanks!
Hi,
Your point 1 is perfectly fitting my needs.
Will start from Monday with testing the secript and setup everything.
Thanks a lot for this flash-speed answer !
Chris
A couple of suggestions from Microsoft:
1. Have a cold stand-by host instance and use a script to detect failure in
first instance and initiate second instance
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS_2004WP/html/922d9b1a-c6f2-4d42-9f7a-2876eac7f50d.asp2. Cluster two Biztalk servers to handle the adapters that can only have one
instance
http://www.microsoft.com/technet/prodtechnol/biztalk/2006/library/bts06clustering/ee66663c-4f4d-4515-9df1-aacf4fc72be4.mspx?mfr=trueThanks I'll do that
October 5, 2006 at 11:07 AM in reply to: Exposed Orchestration as WS; Can’t send XML with multiple records?? #15968Hmm. You have a single record, containing a repeating node, correct? So you should be submitting a single record to the service. Or, are you talking about an envelope schema where you're accepting multipel actual records (e.g. orders) into a service?
I was passing the message in instead of a TypedXmlDocument.
It is working now.
Thanks
Harold
Which "Documentation" are you referring to?
PDF/A is a file format not a protocol, so a pipeline component rather than an adapter would be a better option.
There is an example PDF generator pipeline component on GotDotNet
This shows how to convert an XSL-FO document into a PDF in the pipeline. There is an example mapping a UBL Invoice into XSL-FO and being converted into PDF.
If this is not exactly what you need it may be a good starting point.
October 5, 2006 at 5:56 AM in reply to: Sending a file to FTP server folder in biztalk server 2002 #15963Hi,
Just launch "unpack.cmd" in this directory :"C:\Program Files\Microsoft BizTalk Server 2006\SDK\Tutorial\"
I think doing MS tutorial are the best way to understand and learn BizTalk 2006.
Otherwise, the samples in "C:\Program Files\Microsoft BizTalk Server 2006\SDK\Samples" are very useful.
Regards
I do have the messagepart that holds the text. And I solved this by creating a .net class that takes a XLANGMessage variable in, read the part as a stream into a bytearray, and converting this into a string variable which is returned.
This certanly solved it, but it seems to be to complicated to be the best way to do it. The issue is that since I have to define the message in as XmlDocument, but the pipeline is PassThrough, I end up with data in a XmlDocument that is not valid. As soon I try to access the XmlDocument it failes, because it try to validate the xml, which is incorrect.
So, the only way I foun around this was to read this as a stream.
Tore
I can't say for sure, but the big "wierd" WMI error I've consistantly encountered with installing BizTalk is the undocumented maximum computer name length. You can read the details here:
http://www.timrayburn.net/2006/08/04/BizTalk+2004+Configuration+Error+Number+80004005.aspx
-
AuthorPosts