Charlie Mott

  Home  |   Contact  |   Syndication    |   Login
  20 Posts | 0 Stories | 17 Comments | 0 Trackbacks

News

View Charlie Mott's profile on LinkedIn



Archives

Post Categories

BizTalk

This article discusses, from a BizTalk\BizUnit perspective, implementing the Channel Purger Enterprise Integration Patten to “keep 'left-over' messages on a channel from disturbing tests.” If one test fails, you may see subsequent tests also fail. This is because service instances triggered from the failed test may still be running in BizTalk. These can then produce results that conflict with the expected results of these following tests. This could include: event log messages; files arriving in ......

I’ve published a TechNet wiki page here. This identifies links that show BizTalk implementations of the patterns described in the book Enterprise Integration Patterns.

I look forward to seeing others’ contributions and updates to this wiki page.


Article Source: http://geekswithblogs.net/c... I hit problems in an orchestration consuming WCF services exposed by Microsoft Dynamics AX 2012 (AX6). When attempting to catch a fault response, I was getting the error "received unexpected message type 'http://www.w3.org/2003/05/... In order to fix this, I needed to change the schema for the fault message in the port type that had been created using "Add Generated Items." I changed it to the SOAP 1.2 fault type. Thanks to this ......

Article Source: http://geekswithblogs.net/c... Often it is handy to organise BizUnit tests into test lists. This way longer running tests and edge case tests can be removed from check-in builds keep them running a bit more quickly. However, updating a .vsmdi test lists for each individual test method is time consuming. A better solution is to use the new Category attribute that comes with MSTest in .NET4 (nUnit has supported a categories feature for a while). In the TFS build processes, the ......

I was recently in a position where I had to justify why effort should be spent developing Stubbed Integration Tests for BizTalk solutions. These tests are usually developed using the BizUnit framework. I assumed that most seasoned BizTalk developers would consider this best practice. Even though Microsoft suggest use of BizUnit on MSDN, I've not found a single site listing the justifications for investing time writing stubs and BizUnit tests. The industry average of writing unit testing code is around ......

Article Source: http://geekswithblogs.net/c... What is the best approach for developing a WCF client application that sends messages to the WCF on-ramps exposed by the BizTalk ESB Toolkit? I had considered various approaches: Generate an xml message from a string template using string replacements. Then submit the message to the ESB endpoint using code similar to the Itinerary Test Client provided with the ESB Toolkit. Then for the response use XPath to get the required data. - This is obviously ......

Article Source: http://geekswithblogs.net/c... How do you send "Call Context" information in the header message to Dynamics AX 2012 WCF services from BizTalk? One difference between AX 2009 and AX 2012 services, is that you no longer always need to provide destination endpoint context information. This is described here: In previous releases, each AIF endpoint was associated with a specific company. Microsoft Dynamics AX 2012 does not require that you associate integration ports with a specific ......

source: http://geekswithblogs.net/c... Update (10/06/2011): I no longer recommend the approach below. It is too much of an administrative nightmare to create a wsdl for each possible service method call. See new advise here: http://geekswithblogs.net/c... Question How do you make it easy for client systems to consume the generic WCF services exposed by the ESB Toolkit using messages that conform to agreed schemas\contracts? Usually the developer ......

source: http://geekswithblogs.net/c... Roy Osherove on his blog and in his book gives guidance on the naming of unit test methods. For use with BizUnit end-to-end integration tests, I have extended these recommendations below. Implementing these conventions has the following benefits: Makes it easily to understand the purpose of the test. Make it easier to find specific tests. Gives a visual feel for integration use case test coverage. Hub-and-Spoke Solutions For hub-and-spoke solutions, an ......

Article Source: http://geekswithblogs.net/c... There are various blog articles that give sample .NET code that can be used to validate a message against a schema from a BizTalk orchestration. These include: msdn, haloscan.com, biztalkgurus.com, eggheadcafe.com and Sujan Turlapaty. Many of these blogs have subsequent comments about problems. Under high loads, I too began to see these classes return “false positives” in my test environment. (i.e. An XmlSchemaValidationException is being thrown ......

Article Source: http://geekswithblogs.net/c... The "HTML Generator StyleSheet for BizTalk Maps" originally posted by Steve Hart is now on CodePlex. http://biztalkmapdoc.codepl... I have uploaded a new version that includes the following updates (not all of this was developed by me): output of label data. output of constants used. updated table layout. separate tables for each BizTalk page. I've also included details of how this can be run in an MSBuild process ......

Article Source: http://geekswithblogs.net/c... This article describes an approach to the management of cross reference data for BizTalk. Some articles about the BizTalk Cross Referencing features can be found here: http://home.comcast.net/~sd... http://geekswithblogs.net/m... http://geekswithblogs.net/c... Options Current options to managing this data include: ......

Article Source: http://geekswithblogs.net/c... This article describes our approach to testing BizTalk integration with Dynamics AX 2009. It builds on the "Alternative Bindings" approach as described by Mike Stephenson. Alternative Bindings We are communicating asynchronous with Dynamics. As such, in our developer / unit test bindings, we have replaced use of the AIF Adapter with the MSMQ Adapter. If you are communicating synchronously, you could use the WCF Adapter. Mimic the Dynamics AIF ......

Article Source: http://geekswithblogs.net/c... Ever wondered what the differences are between "id" and "value" cross referencing in BizTalk? Functional The functional difference is documented on msdn. ... The cross reference ID methods can be used to establish and lookup the relationship between the IDs used by the two systems. ... the cross reference value methods can be used to translate the value used by one system to the value used by the other system. I had no idea what this meant. So ......