February 2012 Entries

BizTalk 2010 EDI batching–using an external release trigger

In an earlier post I showed you how to implement basic EDI batching, releasing the batch every time 3 messages were waiting. In the real world, you’re probably going to have some other criteria for releasing the batch; in our case a back-end system notifies BizTalk when all HIPAA 837 claims in a single file are ready to be sent. The MSDN page for this process is actually very easy to follow, but I’ll summarize it here. First, you’ll set up a new receive port and location to receive the trigger file. ......

Android tutorial–Adding images to your custom multi-line ListView

In a previous post I showed how to create a custom Android ListView that was bound to an ArrayList. I've had a few people ask how to include images in the ListView, so here it is. We’ll do this by adding an ImageView to the repeating layout (each row of data) and populating it at the same time the name and other information are populated. First, start with a working version of the previous tutorial. You can download the full Eclipse file here: ListViewBlogPost.zip The first thing we're going to do ......

BizTalk 2006 & 2009 hotfix for EDI leap year date errors

Microsoft has released a hotfix to fix a date problem in BizTalk Server 2006 R2 & 2009 when processing EDI files where a data element contains a leap date. BizTalk Server 2006 and 2010 are not affected. This issue occurs because the EDI interchange cannot validate a data element that contains a leap date value, such as "20120229". This issue can be resolved by either installing the BizTalk Server 2009 cumulative update package 1 (if you’re running 2009…) or the hotfix at the top of KB article ......

Book Review: Kindle Fire: Out Of The Box (O’Reilly)

The Kindle Fire, like a lot of devices these days, does not come with a user manual. Kindle Fire: Out Of The Box covers the basics of setting up and using your Fire. This 76-page book is divided into 6 chapters: Get to Know Your Kindle Fire Set Up Your Fire Books, Newsstand, and Docs Music and Video Apps Web and Email The book is loaded with detailed, annotated screen shots, which makes it easy to figure out exactly what you should be seeing on your Kindle's screen. However, this comes at a price ......

BizTalk 2010 EDI Batching Tutorial

In two previous posts I talked about party configuration and routing of EDI messages: Basic Party Resolution in BizTalk 2010 EDI Party Resolution (& trading partners) in BizTalk 2010 In this post I’ll build off of those examples and set up EDI batching so that we can deliver more than one EDI 810 invoice per file. You’ll need to have worked through the previous two posts to have your BizTalk application ready to follow along with these steps. First, change the File name: of the Contoso Send Port ......

Some non-geek blog lovin’

I promised my wife I’d link to her blog, so here it is:

Running on Veggies: Adventures in Healthy Living

May 2013 edit: The blog has moved to:

Are We Crazy, Or What?

Back to the geeky stuff shortly!

Technorati Tags:

Android–Create a ListView with rounded corners

In a previous post I showed how to create a custom multi-line ListView bound to an ArrayList. Let’s make it a little more visually appealing and give each item some rounded corners. If you followed the previous how-to you wound up with something that looked like this: To put each ListView item (name, address & phone) into its own rounded-corner box, create a new file in your res/drawable directory called border.xml, and paste in the following code: <shape xmlns:android="http://schem... ......

Accessing all context properties in a custom BizTalk pipeline component

Previously I talked about how to create a custom BizTalk pipeline component, and gave a few examples for accessing specific context properties. I wanted to be able to dump all the context properties to disk for examination, so I added a few lines of code and an on/off switch. First, add two properties to your component: private bool _EnableContextTrace; private string _FileTraceLocation; public bool EnableContextTrace { get { return _EnableContextTrace; } set { _EnableContextTrace = value; } } public ......