Biztalk hands-on Experiment (14th) as2 transmitting non-EDI messages

Source: Internet
Author: User
Tags biztalk
1 course Introduction

This course completes the XML file transmission process through the as2 protocol, and receives the MDN confirmation information synchronously after transmission. Familiarize yourself with the basic development and configuration methods of the as2 transmission solution through this course.

2. Preparations

In order to simulate the actual B2B interaction process, this experiment requires two BizTalk Server 2010 virtual machines (with the help of two students ). Contoso uses BizTalk as the message sender and fabrikam uses BizTalk as the message receiver.

3. Demo 3.1 configure fabrikam iis3.1.1 click IIS manager, select handler ings in Features Views, and select Add script ing in actions in the window on the right, as shown in. Click OK to save.

3.1.2 return to features view, click ISAPI and CGI restrictions, and confirm that the newly created ing is in the ISAPI and CGI constraints. Note: by default, description is [no description] and must be manually added.

3.1.3 open application pools of IIS and add an application pool named btsapppool. Shows the Configuration:

3.1.4 select the application pool from the application pool list, select advanced settings in the actions window on the right, and set "enable 32-bit applications" to true in the pop-up window, identity is administrator. Click OK to save.

3.2 configure the fabrikam receiving port to receive as2 messages 3.2.1 create a BizTalk application and add a reference to the BizTalk EDI application

3.2.2 right-click the IIS default site and choose new application. Configure as shown in the pop-up window

3.2.3 create the interface port receiveas2msg and the receiving location on the BizTalk console. Select HTTP as the receiving adapter and configure it in the HTTP adapter properties configuration window.

Virtual directory and ISAPI extensions:/fabrikam/btshttpreceive. dll

Clear: Return correlation handle on success

Selected: suspend failed requests

3.2.4 click OK And save. The receiving and sending pipelines are as2receive and as2send respectively.

3.3 configure the fabrikam message sending port 3.3.1 create a static one-way sending port and sendxmlpayload In the BizTalk application, as shown in the Configuration:

Select File as the adapter and use passthrutramsmit as the sending pipeline.

3.3.2 click the filtering menu on the left and configure the filtering conditions as follows:

BTS. inclueportname = receiveas2msg

And

Ediintas. isas2payloadmessage = true

3.4 configure fabrikam partner 3.4.1 click BizTalk console-> Parties to create contoso and fabrikam partners

3.4.2 press Ctrl and select contoso_profile and fabrikam_profile to create an agreement. In the protocol type, select as2.

3.4.3 set the values of the AS2-From and the AS2-To on the tabs contoso-> fabrikam, fabrikam-> contoso.

3.4.4 Click OK to save. 3.4.5 start the BizTalk application and instance (if the instance has been started, restart it)

* ******* [This completes the configuration of the receiver fabrikam ]***********

3.5 configure the contoso interface port. before receiving the configuration in XML file 3.5.1, create a BizTalk application and add references to the BizTalk EDI application.

3.5.2 create a receiving port in the BizTalk application: receivexmlfile and the receiving location, as shown in the following figure:

3.6 configure the contoso sending port and send the message to fabrikam3.6.1 create a static one-way sending port: sendtofab_recevmdn, as shown in the configuration.

3.6.2 configure this sending port to subscribe to messages from the quota exmlfile Port

Subscription condition: BTS. receiveportname = receivexmlfile

3.7 configure the contoso partner and as2 protocol 3.7.1 refer to 3.4.1-3.4.3 configure the partner and as2 protocol 3.7.2 in the contoso-> fabrikam option page for configuration in the acknodgdgements (mdns) window as shown in

Select process inbound MDN into MessageBox for routing/delivery options"

Selected: Request MDN

In disposition-Notification-to, enter contoso

3.7.3 select sendtofab_recevmdn in the send ports window

3.7.4 Click OK to save. 3.7.5 start the BizTalk application and instance (if the instance has been started, restart it)

* ******* [Configure contoso of the sender now ]***********

3.8 test 3.8.1 put the XML file in the contoso receiving folder 3.8.2 the corresponding file can be seen in the input folder of fabrikam, and the returned MDN message can be seen in the MDN folder of contoso, the following is a message example of MDN.

3.8.3 as2 header reference

Biztalk hands-on Experiment (14th) as2 transmitting non-EDI messages

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.