Tag | BizTalk Posts

I am getting the message: "Unable to set permissions on the shared documents home folder" This is probably happening because the needed membership in the security groups for EDI/SQL roles aren't set up all the way through, it is likely some of it is set up already and some of it isn't -- so when your bts service account is trying to execute EDI, you see this sort of error. To correct this, try these quick few steps first. If all else fails, Microsoft has an online reference: http://msdn2.microsoft.com/... ...
About four years ago I got my first glimpse of BizTalk. When I first saw it, I could see lots of possibilities and real potential if this tool was implemented and used properly. Roughly three years ago I began working in an environment which had a BizTalk solution built. Now, this solution relies heavily on several web sites which use HTTP post methods to do extra transformations of the messages to strings and from strings to XML. Not the best solution, in my opinion, but it works. Well, to say it ...
Ive just been looking over a couple of BizUnit steps and have decided to create a couple of custom versions. The main reason that I have modified them is that I can reduce the length of time taken on my build process if the tests are quicker. The changes I have made are as follows: FilesExist In the standard step the executing thread is put to sleep for the timeout duration before looking for the file. In practice you often have to modify this setting as you learn how long your tests take to execute. ...
Following on from BizTalk in the cloud now we have SQL server in the cloud..... SQL Server Data Services (SSDS) are highly scalable, on-demand data storage and query processing utility services. Built on robust SQL Server database and Windows Server technologies, these services provide high availability, security and support standards-based web interfaces for easy programming and quick provisioning. Get more info here ...
Overview An adapter is a software component that enables you to send and receive messages to and from a line-of-business (LOB) system. The primary design goal of adapters is to facilitate the exchange of business documents between trading partners. The adapters provide the following advantages to clients: Consistent design-time experience. The adapters provide a common and user-friendly design time experience for browsing, searching, and retrieving metadata of LOB artifacts. Varied programming options. ...
Microsoft have announced that their RFID programme has now extended to mobile devices. From the Microsoft beta site the following information has been gleaned: Mobility and Standards Pack - Themes BizTalk RFID on Mobile Devices Support for key industry enablers Run on Handhelds, Forklift readers Better together with BizTalk RFID Server v1 Support for new readers with LLRP Tag Data Translation for richer EPC enabled applications Web Services for Devices for Discovery, Configuration, Initialization ...

Yesterday saw the formation of the SOA and BPM User Group rising from the ashes of the former UK BizTalk User group.

Pop over to http://www.Sbug.org.uk if you wish to join up....

Please note correction to web address....

Came across this great posting by Daniel Probert on BizBert - 13 part series on the BizTalk Mapper. Have a look at the links below. Note: This is the thirteenth in a series of 13 posts about the BizTalk Mapper. The other posts in this series are (links will become active as the posts become active): Understanding the BizTalk Mapper: Part 1 - Introduction Understanding the BizTalk Mapper: Part 2 - Functoids Overview Understanding the BizTalk Mapper: Part 3 - String Functoids Understanding the BizTalk ...
I had a surprise recently about the behaviour of the Table Looping and Looping functoids that I wasn't expecting and involves when the scripting functoid is evaluated. For those of you only interested in the comparison... In the following map, the highlighted scripting functoid will be evaluated once per Client element. In the following map, the highlighted scripting functoid will be evaluated once per element in the Client element. In other words, for every Client element, the scripting functoid ...
I made a little mistake the other day which maybe some of you might experience. I have an MsBuild script which calls BTSTask to add resources to a BizTalk application. For the destination path I was supplying the value below: %BTAD_InstallDir%\Acme.BizT... The result was that when the application was exported to an Msi and then installed on a different server the assemblies were always installed to as follows: c:\Acme.BizTalk.Orchestrati... I hadnt noticed this at first but ...
Continuing the series, this article will discuss how to test processes which are developed in BizTalk. For the sake of clarity by a process I mean an end to end implementation of a use case in BizTalk. This process may include messaging or orchestration elements and a number of ports, possible rules or BAM elements which will combine to implement the process. Im going to try to keep this post quite short as there is plenty of guidance on this area, but there are a few things I do want to say. This ...
Continuing the series on recommendations for testing with BizTalk this post will focus on how to effectively test custom adapters developed by your team and for use within a BizTalk solution. As most of you will be aware adapter development is probably one of the most difficult development tasks in the BizTalk arena because it is often easy to get the functionality of the adapter to work, but once you put it in a production like situation you will often discover a whole new set of problems. Based ...
After doing some stuff recently with the Pipeline Component Test Library by Tomas Restrepo I had a bit of an idea on a different way this library can help you during the development process. On the back of this idea I have created a small tool on codeplex which will help you create sample flat file messages. The rest of this article will describe how this tool can help. Get the tool here: http://www.codeplex.com/Biz... Get Pipeline Test Library Here: http://www.winterdom.com/we... ...
ESB itinerary steps can be specified as Messaging or Orchestration services. Using Messaging steps you can construct an itinerary which does not use any custom send or receive ports or locations – a message can be transformed and sent within the itinerary on-ramp processing. In ESB Guidance, itinerary on-ramps are implemented by two receive ports – OnRamp.Itinerary and OnRamp.Itinerary.Response (for request and request-response messages), each having two receive locations (for SOAP and WCF adapters). ...
OK, So I took over a year break from blogging......I am back....and am looking for your input on what i'll be writing...  I hope to be covering BizTalk, Powershell, IIS, SOA Architecture, and maybe even other things as they come up....Posts coming soon.
Itineraries are at the core of the ESB Guidance offering. They enable the client to define what services its message needs, rather than fixing them at the provider. So in a typical BizTalk service an orchestration will define the steps - e.g. receive, transform, enrich, send. With ESB the client specifies those steps in an itinerary. This has three major benefits. Firstly you can decouple all your service components. Instead of exposing a composite service tailored for each client, the clients do ...
This blog has moved to http://www.douglasmarsh.net You will be redirected in 10 seconds. I ran into an interesting issue a couple of weeks ago and I thought I would share. 1st, the meat of the post. If you have extracted the schemas from an XmlSerializable object and deployed those schemas to BizTalk, you can't use that object (or any of its dependant objects) as a BizTalk message type. Why? Because BizTalk registers XmlSerializable types that are used as messages as schemas. If you have already ...
We're looking at using Microsoft's ESB Guidance package to implement a message bus. The bus will be the core of the client's planned Service Oriented Infrastructure, and all existing apps will route communication through ESB. There'll be a few posts coming up covering what it provides, how to use it and some simple walkthroughs, but I'll start with a basic overview and installation tips. Overview Ignore the name - ESB (Enterprise Service Bus) Guidance is not a set of documents giving you best-practice ...
One of the things Microsoft introduced with BizTalk 2006 is failed message routing. Prior to this, developers had to come up with custom solutions to remove failed messages from the messagebox to prevent them from accumulating. Now all one has to do is enable routing for failed messages on the receive ports and create an orchestration to consume these failed messages. When a message comes into the messagebox, BizTalk tries to find a matching subscription based on the context properties of the message. ...
In one of the previous examples that talked about convoys within BizTalk, I had the following orchestration:In one of the previous examples that talked about convoys within BizTalk, I had the following orchestration: The purpose of this map within the orchestration was to receive a message that followed the Claim schema, transform it into the ClaimValidation schema and set the Status to CONTRACT VALIDATION COMPLETED. It’ll see a bit contrived, but we can move the map so that it’s called on the receive ...
Taking decoupled orchestrations one step further, we’ll use it to do multiple concurrent tasks and then associate the output from those tasks. We’ll borrow our scenario for this example from the health care industry. When a claim is submitted, there are multiple types of validation that happens (and by no means is this a comprehensive list): is this a valid contract? Is the hospital part of the network? Is the procedure performed covered? We’ll take two of those for our scenario. With decoupled orchestrations ...
Very interesting thread: "Am I wrong about WCF usage?" http://forums.microsoft.com... There are the complains about WCF. Why Microsoft looks at the future only with loose-coupled WCF and depreciates the Remoting technology? My experience is from the BizTalk side. It's interesting that we have similar issues. For example, using contracts in the current formats tends to be rigid. What I need in the many cases from the data/message contracts is ...
If we need to pass and process ONE row to the SQL store proc, it is pretty easy. Just map the XML message (inside BizTalk) elements to the service SQL request schema elements. This schema is created by SQL Port wizard when we point it to the SQL store proc. More interesting problem is to pass several rows to the SQL Send port. Here I use the SQL terminology. In Xml terms it means the Xml node with MaxOccurs=unbounded in the Xml document. (We can use the updategramm, but you can see this approach ...
I was stopped by the words "Contract-Driven Messaging" in the article "An XML Guru's Guide to BizTalk Server 2004, Part I" by Aaron Skonnard ("Contract-Driven Messaging" http://msdn.microsoft.com/m... ) What does in mean the "Contract-driven" in the BizTalk? The contract in the BizTalk means the same thing as in WCF, the signatures of the objects (documents, messages). But not only the the objects with entry data but the with context data. For example, the addresses ...
One of the new features in the Visual Studio 2008 release is the XSLT Compiler tool xsltc.exe. The documentation can be found here. This tool will precompile the xslt sheets into an assembly. It has been my experience over the years that the xsl mappings change more often than the message flows. With the xsltc.exe tool the mappings can be changed, compiled and installed without changing the Biztalk orchestrations. First you need to create the xsl DLLs: xsltc.exe /settings:document+,script+ myXsl.xsl ...
I recently put together a glossary of common security-related terms to aid in discussions around "Single Sign-On" scenarios. I've experienced this a few times now -- a level-set on terminology is almost always needed to make security discussions productive from the start. Oftentimes the terms are confused, misused, or ambiguously defined. I have attempted to stay general with the definition of terminology, however, since I'm a Microsoft consultant the examples and products mentioned are Microsoft's. ...
I've been searching for a while now on a way to retrieve message body and context from BizTalk without having to use WMI, simply because I didn't want to write my messages to file, read them back in, parse the context and then delete the generated files again. Interesting blog post I stumbled upon was this: View post But this was not sufficient, because no one managed to get the FULL message context from this method. However, there is a very easy way to do this. First of all, I defined two strings ...
Hi, With the release of .NET framework 3.5, I have been retooling the architecture blueprint for couple months now and finally was able to put something together... Would like to share it with the community. Here is the link to blueprint... http://gajakannan.com/netar... one question, that I am still struggling in my mind is "Business Entities"... Dont know if I should pull into Application Orchestration layer or keep it as part of DAL... There are other technologies that I ignored to show in ...
This blog has moved to http://www.douglasmarsh.net You will be redirected in 10 seconds. Here is an issue with the BizTalk mapper that resulted in a little hair loss recently. I was working on a fairly complex BizTalk map that was using scripting functiods to reference functions in an pre-existing .NET assembly. In a couple of instances, the code in the Helper assembly wasn't quite what needed, so I switched from using the Helper Class function to using inline C#. Once I changed the functiod to use ...
This blog has moved to http://www.douglasmarsh.net You will be redirected in 10 seconds. To all my readers. I apologize for the long hiatus (ok temporary blog abandonment) but life happens. Anyway. I'm making every attempt to do better and keep bring you BizTalk goodness. I have a couple of posts in the works that will be up in next couple of days. Thanks for staying around ...

I just happened to come across this article which is a series of posts about mapping in BizTalk.

http://www.bizbert.com/bizbert/2008/02/07/Understanding+The+BizTalk+Mapper+Part+1+Introduction.aspx

I havent read all of it, but the introduction looks good so im going to read on

This post aims to provide some general guidance on testing for .net components which will be used within a BizTalk project. In terms of .net components I am mainly talking about the following: .net helper classes used by orchestrations .net classes used within Maps I have done seperate posts in this series (or am planning) which covers the following types of .net component which has more specific testing requirements: Custom Pipeline Components Custom Adapters Some recommendations to help you with ...
Continuing the series on testing in BizTalk projects this article is about testing orchestrations. From projects I have seen or through speaking to other developers I have come across the following techniques for testing orchestrations: 1. Testing by debugging them in HAT Im amazed how many times this comes up when I have interviewed people. Ok first thing Debugging != Testing. Secondly the problem here is the "tests" are manual and there for not easily repeatable and prone to error. 2. Manual Testing ...
Continuing the series of articles on testing in BizTalk, this time I am going to talk about our approach to testing pipelines. The traditional way to testing pipelines was to use the pipeline.exe tool in the BizTalk SDK. This allows you to use various ways to call this command line tool to execute your pipeline. The key points of this tool are as follows: It is a command line tool so is a bit fiddly to call from a C# test but can be done by using the Process object It takes input and output documents ...
The next in my series on BizTalk testing will cover testing pipeline components. I will begin this post by discussing some of the traditional ways I have seen pipeline components tested, then continue to 2 more recent techniques which I believe to offer significant advantages. To begin with the traditional techniques are: Traditional Approach 1 - Testing as part of a larger process In this technique the Pipeline component is developed and then deployed along with a BizTalk solution. Tests are then ...
Overview Continuing the series of posts about testing for BizTalk, this post will discuss our approach to testing Maps. Again like with schema the normal approach used for testing maps is to use the Visual Studio menu to test the map with different instances against the map. In my opinion this approach has some limitations: 1. It needs to be done manually and can not easily be automated 2. The output from the map is normally only validated by the developers eye 3. Changes to the map may not be regression ...
Overview In my series of posts about how to improve the quality of BizTalk solutions you deliver I will begin by discussing how we normally test schemas on BizTalk projects I've worked on. Most people seem to simply use the validate instance function within Visual Studio as the main way to test a schema. And although this can do the job I believe the approach has the following limitations: 1. There is a known issue when validate instance sometimes thinks a message is valid when it isnt, see the following ...
I have decided to do a series of blog posts around the approach to testing I normally try to encourage on BizTalk projects where I am involved. My aim is to do some posts based around the following: 1. Development Testing This will cover the following: - Techniques to unit test various artifacts within a BizTalk solution including Schema, Maps, Custom Components (adapters, pipeline components) - Functional testing with BizUnit - Approaches to stub out external systems 2. Integration Testing This ...
Florida has a very active developer community. The biggest problem we seem to have is that all of these different groups usually don't know about each and there hasn't been a "centralized clearinghouse" listing all of the technical communities. Joe Healy, one of our Florida Microsoft Developer Evangelists, maintains a list and earlier this year started putting together one-page flyers for each of the main areas in Florida. I think the eventual plan is that Joe will be updating his site to take advantage ...
Problem If you want to use the standard code coverage that comes with Visual Studio Team Developer to analyse any C# code within your BizTalk solution you will normally come across the problem that when you open the code coverage page within the test run config file the dialog closes itself. This is a bit of a pain in the butt!! Work Around If you want to amend the code coverage page you can do this by temporarily unloading your BizTalk projects within the Solution Explorer. When all of the BizTalk ...
Microsoft EDC 2008 Website is UP. You Can Click Here To Register. EDC will be April 13 and April 14 - In Cairo International Conference Center (Agenda) But Watch out. The Attendance Fee is 100 EGP. There're Invitations Available. An Invitation Code is required to register, and you get that by calling the guy mentioned in the right top part of the registration page, and you can call his mobile phone only on Egypt working hours. I've written about Microsoft EDC 2008 (Egypt Developers Conference 2008) ...
Recently I have done some work with the BizTalk SQL Adapter. I collected the following Links out of the Blogs of Richard Seroter and Stephen Kaufman which are perfect (excellent content) for getting a better understanding of the work with updategrams: http://blogs.msdn.com/richa... http://blogs.msdn.com/richa... http://blogs.msdn.com/skauf... http://blogs.msdn.com/skauf... ...
I recently ran into an error attempting to configure a Biztalk 2006 R2 instance on a virtual machine. I had a virtual services box (where Biztalk was installed) and another virtual SQL box (where the Biztalk configuration was kept). However, I kept getting an error during the configuration deployment step: Exception of type 'System.EnterpriseServices.... was thrown. After googling for a bit, I ran into an excellent article by Wade Wegner explaining that the two virtual machines ...
Ive seen/heard of this scenario far too many times over the last couple of years i've decided to write it up as an anti-pattern like I did with some posts early last year. Name: Dumming down your BizTalk installation Description: This pattern is simple to explain. An organisation begins a project using BizTalk and focuses on their core requirements to deliver orchestrations or messaging components to deliver their required functionality. When they come to setting up their BizTalk environment (dev, ...
Ive never noticed this column before, and am surprised it isnt in the default view, but if you run the standard running instances query in the BizTalk Administration Console it lists the running instances currently within your BizTalk Group. If you want to know which server within your group an instance is currently executing on then you can add additional columns to this query, one of which tells you the server which is currently being used by each instance. See diagram below: What would be nice ...
The other day I asked one of the guys on our team to review some of the BizTalk maps in a migrated BizTalk project. I wanted him to take a look through some complicated maps and identify any inline scripting functoids which we may want to refactor. My issue with the use of some inline scripting functoids is that often they pose a risk because developers sometimes put quite complex logic in them and then do not sufficiently test the map. My preferred approach in such situations is to call an external ...
To answer this question, a more basic question to ask would be what is a BizTalk host, since a host must exist before an instance of it can exisit! This distinction may be confusing to BizTalk newcomers because when navigating through the BizTalk Admin Console, hosts and host instances are viewed separately. In mid-90's techno-speak, (READ: about the time-frame where the development of the BizTalk/Commerce Server got its start) the host would have been thought of as a container for related adapter ...
In my schema file, I have a choice element that only contains a single child element. For example: The above example is actually a crude schema of the where clause of a Sharepoint call to Lists.asmx where in the case I have only 1 item, I want to send a where clause of <Where> <Eq> <FieldRef Name="ItemID"/> <Value Type="Text">99900</Va... </Eq> </Where> And in the case that I have multiple items, I want to send something like: <Where> <Or> <Eq> ...
J'ai eu la chance d'assister à une présentation d'un spécialiste de Microsoft la fin de semaine dernière. La présentation visait à décrire en profondeur ce que permettait le ESB Guidance de Microsoft. Ce dernier est en fait une livraison d'assemblies .NET qui s'intègrent à BizTalk et qui gravite autour. En lien avec tout ce qui est SOA, S+S, SaaS, etc., le ESB (Enterprise Service Bus) est un pattern qui vise à faciliter les échanges entre les différentes entitées d'une architecture orientée service ...
I'll try to post every month some interesting links (to blogsposts, articles, white books and other content) I noticed on the net in the last month during professional daily work or from personal interests (what's the difference anyway). Not always brand new resources but the ones I found of most value and quality. Most links will be in the area of OO design patterns, software architecture, EAI and agile development and can be seen as needed reading material (if time permits) for a role as solution ...