Adapter Configuration
This section provides step-by-step instructions for creating, configuring and testing a BizTalk Messaging port using an /n software BizTalk Adapter. It is assumed that you are familiar with Microsoft BizTalk Server and the concepts of the transfer protocol used by the /n software BizTalk Adapters.
Adapter Installation
After you run the setup application, all of the necessary files and registry keys will be installed on your system. The setup application will also attempt to register the new adapters within BizTalk, and will also attempt to refresh the registries of any previous installation. However, if an error occurs during this process, it will be necessary to manually complete this step for each adapter that you wish to use.
- Click the Start menu, select Programs, Microsoft BizTalk Server, and then BizTalk Server Administration.
- In the BizTalk Administration Console, expand the appropriate BizTalk Group node and expand Platform Settings node.
- Select the Adapters node to bring up the list of installed adapters.
- If the adapter you installed was not successfully added to the list by the setup application, right click the Adapters node, click New, and then click Adapter.
- In the Add Adapter dialog box, select the adapter you wish to add from the drop-down menu.
- Enter a name for the adapter's transport type in the top text field. This name is arbitrary and does not affect the behavior of the adapter itself. It will be the name that shows up in the "Transport Type" drop down box when configuring a new port.
- Enter any comment you wish to describe the adapter's transport type.
- Click OK.
The adapter will now appear in the list of adapters in the BizTalk Administration console.
Configuring a Send Port
- Click the Start menu, select Programs, Microsoft BizTalk Server, and then BizTalk Server Administration.
- In the BizTalk Administration Console, expand the appropriate BizTalk Group node and expand the Applications node.
- Expand the node for the appropriate application.
- Right-click Send Ports and select New.
- Select Static One-way Send Port.
- Enter a name for the port at the top of the configuration window, and expand the drop-down Transport Type menu. Select the name you gave to the adapter when you installed it.
- Press the Configure button. This will bring up the property page for the adapter.
- Fill out the relevant fields on the property page. Please refer to the section on the adapter in this help file for a description of the various properties and their function.
- Click "OK". The URI should now contain a value.
- Select a pipeline to use in processing the data, and click "OK". Your port is now configured.
Configuring a Receive Location
Configuring a receive port is very similar to configuring a send port, however a receive can receive data from multiple receive locations. You will first need to add a receive port, and then add and configure a receive location for it.
- Click the Start menu, select Programs, Microsoft BizTalk Server, and then BizTalk Server Administration.
- In the BizTalk Administration Console, expand the appropriate BizTalk Group node and expand the Applications node.
- Expand the node for the appropriate application.
- Right-click Receive Ports and select New.
- Select Static One-way Receive Port.
- Enter a name for the port at the top of the port configuration window. Click "OK" to close the window.
- Right-click Receive Locations and click "New".
- Select Static One-way Receive Location.
- Select the appropriate Receive Port of which the new Receive Location will be a member.
- Enter a name for the location at the top of the receive location properties window, and expand the drop-down Transport Type menu. Select the name you gave to the adapter when you installed it.
- Press the Configure button. This will bring up the property page for the adapter.
- Fill out the relevant fields on the property page. Please refer to the section on the adapter in this help file for a description of the various properties and their function.
- Click "OK". A value will be generated and used to fill out the URI field.
- Select a handler to host the adapter. Note: the AS2 receive adapter is hosted out of process, so the handler you choose must be an isolated host, and must be a member of the BizTalk Isolated Host Users group.
- Select a pipeline to use in processing the data, and click "OK". Your port is now configured.
- SPECIAL CONFIGURATION FOR THE AS2 ADAPTER: since this adapter must receive requests over HTTP, an HTTP receive application (normally just an ASPX page or module) must be setup under IIS, or any other viable ASP.NET web server, to forward AS2 requests to BizTalk. A sample is included in the aspx subfolder of the installation directory. This sample can be used as is, or be modified to suit your site requirements.
The adapters are now ready for binding to a BizTalk orchestration. You may refer to the sample orchestrations for demonstrations of how to use the ports you have just created.
Pipeline Installation
After you run the setup application, all of the necessary files will be installed on your system. The setup application will also attempt to register the new pipeline components within BizTalk. However, if an error occurs during this process, it will be necessary to manually complete this step for each pipeline component that you wish to use.
- Click the Start menu, select Programs, Microsoft Visual Studio (which ever version you have installed, 2003 or later), then select the Microsoft Visual Studio icon.
- In Visual Studio, click File, select New, and finally Project.
- Click BizTalk Projects in the Project types pane. Select Empty BizTalk Server Project in the Templates pane. Click OK once you have named the project.
- In the Solution Explorer pane, right click on the project, and select Add and then click New Item.
- Select Pipeline Files in the Categories pane, and select either the Send or Receive Pipeline. Once you have named this pipeline, click Add. Repeat the last two steps for any other desired pipelines.
- Scroll over the Toolbox, and when it appears, right click inside of it and click on Choose Items.
- Select the BizTalk Pipeline Components tab. Check the desired Assembler/Disassembler to add to the toolbox. Click OK.
- Drag the desired Assembler/Disassembler into the Pipeline and drop in the appropriate Assemble/Disassemble box.
- Set any properties in the Properties pane.
- When all pipeline components in the project are configured correctly, right click on the project from the Solution Explorer and click Build.
- Right click on the project from the Solution Explorer and click Deploy.
- The host instance of BizTalk Server must be restarted for the Pipelines to properly be installed.
The pipeline will now appear in the list of pipelines in the BizTalk Administration console.
Configuring a Send Port
- Click the Start menu, select Programs, Microsoft BizTalk Server, and then BizTalk Server Administration.
- In the BizTalk Administration Console, expand the appropriate BizTalk Group node and expand the Applications node.
- Expand the node for the appropriate application.
- Right-click Send Ports and select New.
- Select Static One-way Send Port.
- Enter a name for the port at the top of the configuration window, and expand the drop-down Transport Type menu. Select the name you gave to the adapter when you installed it.
- Press the Configure button. This will bring up the property page for the adapter.
- Properly configure the adapter as needed.
- Click on the drop-down list of pipelines. Select the name you gave to the pipeline when you created it.
- Click the ellipsis ("...") on the side of the pipeline selection box.
- Fill out the relevant fields on the property page. Please refer to the section on the pipeline in this help file for a description of the various properties and their function.
- Click "OK". Your port is now configured.
Configuring a Receive Location
Configuring a receive port is very similar to configuring a send port, however a receive can receive data from multiple receive locations. You will first need to add a receive port, and then add and configure a receive location for it.
- Click the Start menu, select Programs, Microsoft BizTalk Server, and then BizTalk Server Administration.
- In the BizTalk Administration Console, expand the appropriate BizTalk Group node and expand the Applications node.
- Expand the node for the appropriate application.
- Right-click Receive Ports and select New.
- Select Static One-way Receive Port.
- Enter a name for the port at the top of the port configuration window. Click "OK" to close the window.
- Right-click Receive Locations and click "New".
- Select Static One-way Receive Location.
- Select the appropriate Receive Port of which the new Receive Location will be a member.
- Enter a name for the location at the top of the receive location properties window, and expand the drop-down Transport Type menu. Select the name you gave to the adapter when you installed it.
- Press the Configure button. This will bring up the property page for the adapter.
- Properly configure the adapter as needed.
- Select a handler to host the adapter. Click on the drop-down list of pipelines. Select the name you gave to the pipeline when you created it.
- Click the ellipsis ("...") on the side of the pipeline selection box.
- Fill out the relevant fields on the property page. Please refer to the section on the pipeline in this help file for a description of the various properties and their function.
- Click "OK". Your port is now configured.