BizTalk™ Unleashed
by Susie Adams, Clifford R. Cannon, Dilip Hardas, Cuneyt Havlioglu, Akhtar Hossein, Charles Kaiman, Tom Lake, Bill Martschenko, Rand Morimoto, Robert Oikawa, Rick Pearson, Kevin Price, Stephen Tranchida, Larrry Wall
Parser Implementation
In this section, we implement the parser design from the preceding section using C++ and ATL. Unlike the functoid implementation earlier, there is not a method for implementing the parser using Visual Basic. The COM interface uses types, such as IStream, not accessible from Visual Basic.
The parser implementation comprises the following items:
BizTalk channel configuration
A COM coclass implementing IBizTalkParserComponent
The COM coclass provides the following:
Identification— Given a data stream, test whether it is the input format for the parser.
Properties— Get organization identifiers, codepages, and other properties.
Group separation— Identify grouping boundaries.
Document separation— Identify document boundaries.
We will ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access