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.