biztalk

How can I return HTTP-400 from a BizTalk Rest service?

早过忘川 提交于 2020-01-11 11:12:11
问题 I am using BizTalk 2013 R2 and I have a RESTFUL service. How can I return a HTTP-400 response to a client? 回答1: Set WCF.OutboundHttpStatusCode property in message assignment shape: MyResponseMessage(WCF.OutboundHttpStatusCode) = "400"; 回答2: Oleg's answer will work if you have an Orchestration If you want a messaging only solution you will have to have a Pipeline Component set the same context property. For this we tend to use the BizTalk Business Rules Engine Pipeline Framework In your

How can I return HTTP-400 from a BizTalk Rest service?

懵懂的女人 提交于 2020-01-11 11:11:45
问题 I am using BizTalk 2013 R2 and I have a RESTFUL service. How can I return a HTTP-400 response to a client? 回答1: Set WCF.OutboundHttpStatusCode property in message assignment shape: MyResponseMessage(WCF.OutboundHttpStatusCode) = "400"; 回答2: Oleg's answer will work if you have an Orchestration If you want a messaging only solution you will have to have a Pipeline Component set the same context property. For this we tend to use the BizTalk Business Rules Engine Pipeline Framework In your

How to use an AppDomain to limit a static class' scope for thread-safe use?

家住魔仙堡 提交于 2020-01-11 02:11:10
问题 I have been bitten by a poorly architected solution. It is not thread safe! I have several shared classes and members in the solution, and during development all was cool... BizTalk has sunk my battle ship. We are using a custom BizTalk Adapter to call my assemblies. The Adapter is calling my code and running things in parallel, so I assume it is using multiple threads all under the same AppDomain. What I would like to do is make my code run under its own AppDomain so the shared problems I

How can I set SB-Messaging adapter credentials securely?

混江龙づ霸主 提交于 2020-01-10 04:39:04
问题 I am developing a solution which involves reading messages from an Azure service bus queue using the BizTalk SB-Messaging adapter. I am using the BizTalk Deployment Framework to deploy the application without user input. Some adapters have an option to acquire credentials for external systems using the Single Sign-On database (option 'Use SSO'). The SB-Messaging adapter doesn't have this feature, and requires that either ACS (Access Control Service) or SAS (Shared Access Secret) credentials

A message received by adapter “HTTP” on receive location “Receive_AS2” with URI “/Contoso/BTSHTTPReceive.dll” is suspended

╄→尐↘猪︶ㄣ 提交于 2020-01-06 10:09:11
问题 I'm developing a demo of EDI over AS2 with asynchronous MDN but receiving this error upon executing Sender.exe, this error is shown in Event Viewer... A message received by adapter "HTTP" on receive location "Receive_AS2" with URI "/Contoso/BTSHTTPReceive.dll" is suspended. Error details: The output message of the receive pipeline "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2EdiReceive, Microsoft.BizTalk.Edi.EdiIntPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

No eventlogs from BizTalk

喜夏-厌秋 提交于 2020-01-06 07:57:07
问题 I've got a new production computer and installed my BizTalk app on there. The problem is that I don't see any messages in the event log, nor from my BizTalk app or BizTalk Server itself. The only message that appears in the event log is the following: The following BizTalk host instance has initialized successfully. BizTalk host name: BizTalkServerApplication Windows service name: BTSSvc$BizTalkServerApplication The source of that message is BizTalk Server . And no messages at all, even no

BizTalk2010 restart Receive location every hour

人走茶凉 提交于 2020-01-06 06:45:38
问题 BizTalk2010 restart Receive location every 3 hour we have a issue with third party sftp codeplex adapter 1.4 (receive location 'freeze' issue). There may be a fix in version 1.5 but for a short term solution is there a way to schedule a restart of one Receive location (Disable\enable) 回答1: You can use Task Scheduler to schedule a PowerShell that enables/disables your Receive Location. Here https://biztalklive.blogspot.com.es/2017/10/powershell-script-to-enable-biztalk.html?m=1 you have a

BizTalk2010 restart Receive location every hour

北城余情 提交于 2020-01-06 06:45:00
问题 BizTalk2010 restart Receive location every 3 hour we have a issue with third party sftp codeplex adapter 1.4 (receive location 'freeze' issue). There may be a fix in version 1.5 but for a short term solution is there a way to schedule a restart of one Receive location (Disable\enable) 回答1: You can use Task Scheduler to schedule a PowerShell that enables/disables your Receive Location. Here https://biztalklive.blogspot.com.es/2017/10/powershell-script-to-enable-biztalk.html?m=1 you have a

Remote WMI call to BizTalk object throws COMException (0x80131904)

时间秒杀一切 提交于 2020-01-06 04:33:10
问题 I'm trying to run an WQL query(SELECT * FROM MSBTS_SendPort) on an BizTalk host but when I run this query in my console application on an remote primary BizTalkHost I get an COMException who says "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'." If I run the same console application on the primary BizTalkHost then everything works. 回答1: I'm issueing an double-hop authentication issue, so therefore what I want will never work. See this link for more information. My workaround for this

BTSTask and BTSControl for BizTalk 2009

懵懂的女人 提交于 2020-01-05 11:14:21
问题 I am using BTSTask and BTSControl to do some deployment operation on a BizTalk 2006. we moved to BizTalk 2009 and these tools seem to not work with BT2009. are there any specific version or new tools for BT2009? 回答1: I would instead look at the BizTalk Deployment Framework. Its built on MSBuild and WIX and does absolutely everything from adding developer tools to quickly deploy things for development to handling patching via WIX. I highly recommend it. 回答2: I did hit the same limitation with