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 ...
Get BizTalk™ Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.