biztalk

GCHandle, AppDomains managed code and 3rd party dll

我是研究僧i 提交于 2019-12-23 09:29:22
问题 I have looking at many threads about the exception "cannot pass a GCHandle across AppDomains" but I still don't get it.... I'm working with an RFID Reader which is driven by a DLL. I don't have source code for this DLL but only a sample to show how to use it. The sample works great but I have to copy some code in another project to add the reader to the middleware Microsoft Biztalk. The problem is that the process of Microsoft Biztalk works in another AppDomain. The reader handle events when

Deploying Biztalk Web Service to DMZ

一笑奈何 提交于 2019-12-22 12:53:00
问题 We have a DMZ with an IIS Web Server, and BizTalk 2009 on a LAN. I'd like to know what is the best way to deploy a BizTalk Web Service so that it is publicly accessible on the Internet, but inline with security best practices. Should we deploy the BizTalk-generated Web Service to the IIS box? Should we host the Web Service on the BizTalk box and expose BizTalk to the world (for specific ports and specific external IP's only)? Should we use IIS as a reverse proxy and host the Web Service on

How do I set the MSMQ Message Extension Using BizTalk's MSMQ Adapter?

别说谁变了你拦得住时间么 提交于 2019-12-22 05:09:08
问题 We are using BizTalk Server to send messages via MSMQ. The receiving system requires that each message have the extension property set to a guid (as a byte array). MSDN documents the Extension property of the MSMQMessage here and (in .NET) here. It is simple to set the extension property in .NET: const string messageContent = "Message content goes here"; var encodedMessageContent = new UTF8Encoding().GetBytes(messageContent); // Create the message and set its properties: var message = new

Biztalk - possible to create rule/policy programmatically?

与世无争的帅哥 提交于 2019-12-21 20:51:27
问题 It seems that Biztalk only supports making rules via the Business Rules Composer, a design-time tool. Everywhere I see "programmatic" referring to Biztalk's Business Rules Engine (BRE), I only see that you can execute the rules in .NET, but not actually create them. I have found the Microsoft.RuleEngine namespace, but the documentation is abysmal, with zero examples and I can't even tell if you can use it to create a rule, or just retrieve the rules (one example I found). Is anyone aware of

Setting Key Usage attributes with Makecert

二次信任 提交于 2019-12-21 07:13:29
问题 Is it possible to set Key Usage attributes using makecert, or any other tool I can use to generate my own test certificates? The reason I'm interested is that certificates used for BizTalk Server AS2 transport require a key usage of Digital Signature for signing and Data Encipherment or Key Encipherment for encryption/decryption, and I want to play around with this feature. I see how to set enhanced key usage attributes with makecert, but not key usage. 回答1: You can use the -eku option to

Mocking WebService consumed by a Biztalk Request-Response port

风流意气都作罢 提交于 2019-12-21 04:04:54
问题 I'm using BizUnit to unit-tests my Biztalk orchestrations, but some orchestrations consume a WebService,and testing these seems more like integration testing than unit testing. I'm familiar with using a mocking framework to mock the generated proxy objects, in order to test a web service from a Windows Forms application, but I would like to be able to do it in a more integrated way in a request-response port? How would you approach this problem? 回答1: This goes to the heart of one of my main

Why is the email atachment i sent by BizTalk “body.csv” in OUTLOOK 2016?

你。 提交于 2019-12-20 04:04:55
问题 I created a simple interface that send an email. I have set the filename by msg_out_renamed(MIME.FileName) = FileName; This works fine in my outlook 2013, it shows as "client_inv_20160909090658.csv" . But the receipient who uses Outlook 2016 has it show up as " body.csv ". When he decides to save the attachment the filename in the save as dialog is "client_inv_20160909090658.csv" . Why does this happen and is there a way i can prevent this from happening? 回答1: Change the context property MIME

How to send signed messages in BizTalk Server using WS-Security

只谈情不闲聊 提交于 2019-12-20 02:53:59
问题 I want BizTalk to send signed soap messages using WS-Security without encryption. My orchestration is using a dynamic send port. I have tried both, trying to configure a WCF-WSHttp Send Port like this: (temporarily altered my orchestration to use this port rather than a dynamic port) as well as doing it within my orchestration. However I only manage to get my message send out encrypted, or in plain text without being signed or encrypted. Configuring a Send Port. Result: Message gets encrypted

BizTalk: XSLT versus mapping tool

≡放荡痞女 提交于 2019-12-19 10:31:12
问题 We're doing a mapping process from an XML file generated by a legacy system to EDI 834/837 files. We have BizTalk 2010 and are using the Microsoft built in EDI schemas. The EDI files are fairly complex, and the XML file we are getting is also complex, with a lot of pieces bolted on. I started going through the mapping tool, but it seemed like there was a lot of repitition that I could eliminate by running the XML file through an XSLT. I found the following link, but I'm not happy with just

Biztalk and the best way to call web service

老子叫甜甜 提交于 2019-12-19 04:08:15
问题 I am writing a biztalk orchestration that will need to call a web service, probably multiple web services, and probably more than once. I see two options before me; one, consume the wsdl in a separate code project, and call the web services from code in an expression shape, and two, consume it from Biz, get schemas, etc and call through request/response ports. What is the best practice here? On the one hand, if the wsdl is updated it will be easier to update the code than the schemas and