For more information, see the BizTalk hands-on experiment series directory.
Biztalk Development Series
At present, many large enterprises have a high degree of informatization, with dozens or even hundreds of operating systems. Most systems often run independently due to time of construction, development teams, and technology. With the deepening of information construction, the need for interaction between systems becomes increasingly urgent. However, it is impossible to build a team to reconstruct all the systems. Therefore, a middleware that interacts with the system is required. Biztalk is such a middleware. It is essentially a message processing engine that processes message verification, ing, and business processes. The following is a highly general structure of BizTalk runtime. To understand its structure, you can develop related services in a more targeted manner. When BizTalk is running, the adapter can receive data from the port to create a message. The received pipeline processes the message. For example, the content in the upgraded message is copied to the Message context by the message attribute. Messages are stored in the MessageBox database after being processed by the processing pipeline. The next step is to determine the message transmission target. In the BizTalk system, messages can be sent to the Business Process for processing or directly to the sending port. Regardless of the target, BizTalk uses the publish/subscribe mechanism. Each subscriber obtains a copy of the message from the BizTalk message engine. The final message is sent to the target by the sending adapter in the corresponding format after being processed by the sending pipeline.
Major development content of BizTalk Message Biztalk messages refer to XML files, binary files, soap messages, and other formats. However, only XML documents are used within BizTalk. Each message can be considered as a multi-part message, which can be composed of one or Zero messages. All messages cannot be changed in BizTalk, which means that messages cannot be changed after being constructed (this is important in the development process ). Each message in the system has an Attribute Set, including the Message ID, receiving port, and instance id. You can view the message attributes on the console. In actual development, the message format is mainly defined. Due to the unique use of the XML document in BizTalk, The XSD (XML Schema Definition Language) is mainly defined through the schema editor ). We recommend that you be familiar with XSD definitions.
Ing
Ing consists of multiple underlying components and relies on the created architecture. These architectures depend on the XML schema definition (XSD) language. It is more convenient to understand the XSLT language during the development of ing.
Adapter An adapter is a software component that allows you to easily send or receive messages through the BizTalk Server using a transport mechanism that complies with commonly recognized standards: SMTP, POP3, FTP, or Microsoft Message Queue (MSMQ ). Biztalk Server 2006 contains the following types of adapters (also known as "local" or "integrated" adapters ): basic EDI, BizTalk message queue, file, FTP, HTTP, MQSeries, MSMQ, POP3, SMTP, soap, SQL, and Windows SharePoint Services.
Each local adapter is associated with a receiving location for listening to messages from a specific transmission at a specific address. After receiving a message at the receiving location, the message is sent to the adapter. The adapter attaches a data stream to the message (usually in the message body), adds all metadata about the source endpoint of the received data, and then submits the message to the BizTalk message engine.
The adapter provided by BizTalk has basically met the requirements. For special requirements, refer to the SDK documentation for development.
MPs queue
Although the initial message is created by the adapter, most of the processes for receiving the message occur in the receiving pipeline. MPs queue processes the message content and context. The processing of message content usually occurs in the decoding, disassembly, and verification stages, while the processing of message context can occur in all stages.
Biztalk provides a convenient pipeline development method. It receives the message stream by inheriting the interface provided by the BizTalk SDK, and then returns the interface after processing. No need to involve transactions, large messages, and other complex content. Therefore, if you need to develop underlying messages (for example, convert Excel data streams to XML data streams that can be identified by the disassembling tool, and add namespaces for XML messages), most of them are in the pipeline.
Business Process
A business flow is used to represent executable businesses.ProgramFlexible and powerful tools. You can design a stream, interpret and generate data, and call customCodeAnd perform all processing.
Messages, the sending and receiving operations acting on messages, and the port for transmitting messages are basic elements of business processes. Message is a medium for business processes to communicate with the outside world and implement e-commerce.
Business processes are closely related to actual needs, and there are many technologies to understand. There are several technologies to understand: transaction, correlation set, multi-part message, type (port, multi-part message ). You should also be familiar with the various shapes provided by the Business Process designer, which represent the logical flow of the business process.