« /dev/null Adapter on GitHub | Main | get-myprocess »
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.
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:
null
GetConfigSchema()
public string GetConfigSchema(ConfigType configType) { return @"<schema xmlns='http://www.w3.org/2001/XMLSchema'/>";}
I’ve updated the ZIP file with the code snapshot.
Tomas Restrepo is a software developer located in Colombia, South America. His interests include .NET, Connected Systems, PowerShell and lately dynamic programming languages. More...
email: tomas@winterdom.com msn: tomasr@passport.com
Copyright © 2002-2008, Tomas Restrepo.
Powered by: newtelligence dasBlog 2.2.8279.16125