Update to /dev/null R2 Adapter

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 (1)

MargeJuly 14th, 2010 at 6:56 pm

Is this supported in BTS 2009 yet as I experiencing same behavior, even with the above fix, in BTS 2009?
Thank you

Leave a comment

Your comment