Forum Replies Created
-
AuthorPosts
-
October 9, 2006 at 7:51 AM in reply to: SerializationException: The type System.IO.FileStream in Assembly mscorlib … is not marked as serializable. #15986
What type of message is newMsg – Xml Document? Is the file valid Xml?
I’ve seen similar behavior in the past when working with flat files.
Guess you could always move the file load into a custom Send Pipeline Component or maybe out of a Construct shape and into a .net component that returns the message.
Dirk, you might want to try using the RawString class that's found on the BizTalk Documentation for this purpose, instead of using a regular System.String one.
[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
-
AuthorPosts