biztalk-2010

T-SQL Clear Errors

☆樱花仙子☆ 提交于 2019-12-14 04:23:34
问题 I'm trying to clean up a huge legacy T-SQL stored proc. We call it from BizTalk. BizTalk has a feature to retry a send port (for example 3 times every 5 minutes) when it is in error. For example, the stored proc detects missing data and does this: if @CompanyID is null raiserror( '@CompanyID is missing', 18, 1 ); The "Begin Catch" logic handles certain errors, (i.e. logs them to error tables), and then does a "Return 0". I believe the prior programmer thought this would keep BizTalk from

Why does terminating a suspended (not resumable) service instance return Failed, yet it is terminated

南笙酒味 提交于 2019-12-14 04:18:55
问题 Why does terminating a suspended (not resumable) service instance report failed, yet it is terminated? Using the Microsoft.BizTalk.Operations BizTalkOperations.TerminateInstance() on a "Suspended (resumable)" and a "Suspended (not resumable)" instance (a routing failure report) Checking the return Microsoft.BizTalk.Operations.CompletionStatus, the suspended is "Succeeded", but the suspended not resumable returns "Failed" Yet when I check in the BizTalk Admin and/or BizTalkOperations

BizTalk 2010 Output File Routing Based on Element Value

北城以北 提交于 2019-12-14 03:24:37
问题 I have an XML to XML map which output beautifully. The issue is we want to route the output based on this one element/field coming into the map (there are 2 different values which can populate the same field). The problem is the field repeats in the output so the field can't be promoted in the outbound map. We can only seem to get it to output in both locations if we apply a filter to the Send Ports. I have tried defining a variable based on the field after making the field in the source file

Split Flat Files into smaller files (on row count) using Custom Pipeline

扶醉桌前 提交于 2019-12-14 01:49:17
问题 I am trying to create a custom pipeline component for BizTalk 2010 that splits an incoming flat file into multiple smaller files. I want to split the file (lets say of ~30 000 rows) into files of about 5000 rows each or a bit less (lets say if the file includes 33 000 rows). I have tried using Selvan's great example of a custom dissassembly pipeline to no avail. I have used the Pipeline Component Wizard to generate a pipeline skeleton, but would be very happy with any tips or pointers on how

BizTalk 2010 Dynamic FTP Send Port Output Directory and File Name Issue

一世执手 提交于 2019-12-13 02:06:10
问题 I have a rather complex requirement - that I have to drop a very specifically named file in an FTP location, and the trick here is that I would often have to drop it into a new location and with a new file name each time (both directory name and file name depending on the year, month, date and time). Obviously, for this purpose I chose to use a Dynamic Send Port, which I have configured using a MessageAssignment Shape. A file will be generated each day. I need to drop it in a remote location

Biztalk message agnostic orchestration

强颜欢笑 提交于 2019-12-12 20:24:09
问题 After moving away from Biztalk since BT2006, we're looking at bringing it back into the organization. One of the frustrations I had early on was when dealing wht HL7 and orchestrations, we needed to have a seperate orchestration for each ADT message type, even though the schema for each type is essentially the same, and each orchestration did exactly the same thing. Moving forward into the world of BizTalk 2010, has anything improved here? Is there a pattern I can utilize to use a single

Details about the json:Array feature of Newtonsoft.JSON XML to JSON converter

一世执手 提交于 2019-12-12 03:43:25
问题 Referencing this example of using "json:Array": Converting between JSON and XML I have two questions: Does the namespace have to be "json"? I.e. if ns2 matched back to "xmlns:ns2='http://james.newtonking.com/projects/json'" would that work? Can the namespace be omitted? Can I just put "Array='true'"? I'm about to try to test by trial and error, but thought maybe somebody would know the answer, or someone in the future would like to know. Not that it matters a whole lot, but my XML is being

Developing a Custom Receive Pipeline with Flat File Disassembler

大憨熊 提交于 2019-12-11 23:19:18
问题 I have a .txt file which is in the similar format as below 1115151651515950000055 00012913702613000000000003000 139C0000007000000 1215151651121510000054 00022913803603000000000009000 000279A0000009000 1315115950000065516515 00032813104643000000000007000 000399B0000003000 121515160003290003290000010000000003000 The first 3 lines are body elements but the number of lines in the body part will be unknown(may occur from 1 to unbounded). There is no tag identifier in body part. The last line in

Is domain controller necessary for BizTalk server 2010 in order to run BizTalk WCF published services?

独自空忆成欢 提交于 2019-12-11 19:45:55
问题 I have a BizTalk Server 2010 installed in windows server 2008 R2. When i publish wcf service through wizard and try to run the service on browser, it returns an error : The Messaging Engine failed to register the adapter for "WCF-BasicHttp" for the receive location "/OrderProcessingDescription/OrderProcessService.svc". Please verify that the receive location exists, and that the isolated adapter runs under an account that has access to the BizTalk databases. Also account used in the

BIZTalk210 powerscript to stop and start SEND PORT

▼魔方 西西 提交于 2019-12-11 18:27:03
问题 BIZTalk2010 powerscript to stop and start SEND PORT I got the receive location working ok. BizTalk2010 restart Receive location every hour Now I need to do the same with the send ports. But it does not work. # a. Set Server name in ConnectionString -- # b. Set ($hostname) host name value that is using in SFTP send location # c. Set ($sndLocation) send location name $Catalog.ConnectionString ="xxx" $hostname = "bbb" $sndLocation = "SndPrt_XXXXXXX001" #send location # Function to retrieve the