Update to /dev/null R2 Adapter

Link. October 4, 2008. Comments [0]. Posted in: BizTalk

Antti Somersalo brought to my attention that there was a bug in my R2 version of the /dev/null adapter. The bug manifested itself when you tried to export the bindings of any BizTalk Application that used the adapter in one of its send ports, failing with an ArgumentNullException.

The problem was simple: The adapter management class was returning null from the GetConfigSchema() call. Fixing it was just as simple: Just change the implementation so that it returns an empty Xml schema:

public string GetConfigSchema(ConfigType configType) {
   return @"<schema xmlns='http://www.w3.org/2001/XMLSchema'/>";
}

I’ve updated the ZIP file with the code snapshot.



Comments are closed.

Syndicate

About

Tomas Restrepo is a software developer located in Colombia, South America. His interests include .NET, Connected Systems, PowerShell and lately dynamic programming languages. More...

tomasrestrepo @ twitter My Flickr photostream My saved links on delicious My Technorati Profile

email: tomas@winterdom.com
msn: tomasr@passport.com

View my profile on LinkedIn

MVP logo

Ads


Categories

Statistics

Total Posts: 1050
This Year: 1
This Month: 1
This Week: 0
Comments: 825

Archive

Other

Copyright © 2002-2008, Tomas Restrepo.

Powered by: newtelligence dasBlog 2.2.8279.16125

Sign In