c# - Biztalk custom pipeline components: XmlSchemaException -
i have custom send pipeline next components:
pre-assemble:
no componentassemble
xml assemblerencode
custom component 1 xml validator custom component 2with configuration, xmlschemaexception in "custom component 2". "the exception message "the element cannot contain white space. content model empty."
execute(ipipelinecontext pcontext, ibasemessage pinmsg) { readonlyseekablestream stream = new readonlyseekablestream(pinmsg.bodypart.getoriginaldatastream()); xdocument doc; //exception on next line: using(xmlreader reader = xmlreader.create(stream)) { reader.movetocontent(); } }
it's weird because when remove illustration "custom component 1" or "xml validator", works ok. exception when have 3 components in place.
any thought may have check create work components?
thank , best regards michael
most component 1 adding xmlelement node invalid value e.g. adding empty value complex type node (record node) (<order><price></price></order> adding empty value after <order> , <price> comes)
. if using map create xml before message comes component 1, might happening there well.
c# biztalk biztalk-2010
No comments:
Post a Comment