zoukankan      html  css  js  c++  java
  • Configuring on SAP XI

    Configuring on SAP XI

    The XI adapter for TN5250 is used to connect the Integration Server to back-end applications. It enables messages to be exchanged by converting the XI message format to TN5250 service call and converting the result of the service call back to an XI message. When you wish to create a communication path from the Integration Server or the PCK to a program or subprogram on the remote host, a number of configuration steps are required.

    Start of instruction setTo convert XI messages to a TN5250 service call you will need to:

    1. Retrieve the WSDL file of an ApplinX procedure group.

    2. Tasks performed from the Design: Integration Builder tool:

      1. Create an external definition.

      2. Create a message interface. (For each Web method you will need to create a separate message interface.)

      3. Activate your settings.

    3. Tasks performed from the Configuration: Integration Builder tool:

      1. Define a service.

      2. Define a communication channel.

      3. Define the receiver determination.

      4. Define the interface determination.

      5. Define the receive agreement.

      6. Activate your settings.


    Retrieving the WSDL File of an ApplinX Procedure Group

    A WSDL file can be created either using Eclipse Plug-in for ApplinX or via the http://localhost:2380/applinx address on your browser. The WSDL file contains one or more Web methods for a specific Web service.

    Eclipse Plug-in for ApplinX

    Refer to ApplinX User Guide, the ApplinX Plug-in for Eclipse Appendix for details regarding how to install and work with the plug-in.

    Right-click on a Procedure Group and select Generate WSDL.

    The ApplinX 2380 HTTP Interface

    The WSDL file can be retrieved using the ApplinX Web interface. In other words, you can connect to the ApplinX Server through your browser and retrieve the WSDL file from the server using procedures (Web methods).

    Start of instruction setTo retrieve the WSDL file using the ApplinX Web interface

    1. Type the following http address: http://<ApplinX server:Web interface port>/applinx (for example: http://localhost:2380/applinx) in your browser to connect to the ApplinX server. A list of host applications defined in the ApplinX Server appears.

    2. Click the requested application. A list of Procedure Groups (Web Services) for the application appears.

    3. Click [wsdl(wrapped)] next to the name of the relevant procedure group. The WSDL file will be opened as an xml file.

    4. Save the file with a suitable name, with the .wsdl extension.

    Top of page

    Creating an External Definition

    Start of instruction setTo create an External Definition

    1. Open the Design Integration Builder.

    2. In the node of your product namespace, right-click the External Definition node, and select New....

      graphics/newexternaldefinition.png

      The Create Object: External Definition screen is displayed.

      graphics/externaldefinition5.png

    3. Enter a suitable name and click Create to create the External Definition. The Edit External Definition screen is displayed.

      graphics/editexternaldefinition.png

    4. Ensure that the selected category is "wsdl".

    5. Click on the Import external definitions button. The Open dialog box is displayed.

    6. Browse and locate the WSDL file retrieved in Retrieving the WSDL File of an ApplinX Procedure Group.

    7. Save the External Definition.

    Top of page

    Creating a Message Interface

    For each Web Method, it is necessary to create a separate Message Interface.

    Start of instruction setTo create a Message Interface

    1. Open the Design Integration Builder.

    2. Right-click the Message Interfaces node, and select New....

      graphics/newmessageinterface.png

      The Create Object: Message Interface screen is displayed.

      graphics/messageinterface.png

    3. Enter a suitable name and click Create to create the Message Interface. The Edit Message Interface screen is displayed.

      graphics/editmessageinterface.png

    4. Ensure that "Inbound" is the Category selected.

    5. Ensure that "Synchronous" is the Mode selected.

    6. Click on the Display Input Help icon to browse and select the input message.

    7. Click on the Display Input Help icon to browse and select the output message.

    8. Save the Message Interface.

    Top of page

    Defining a Service

    Start of instruction setTo define a service

    1. Open the Configuration Integration Builder.

    2. Expand the Service without party node, right-click the Business Service node, and select New....

      graphics/BusinessServiceNew.png

      The Business Service screen is displayed.

      graphics/BusinessService.png

    3. Enter a suitable name for the service and click Create. The Edit Service screen is displayed.

      graphics/EditService.png

    4. In the Receiver tab, Inbound Interfaces, click the Insert Line Below Selection icon graphics/insertlinebelowselection.png icon. An empty row will be added.

    5. Click the Display List of Permitted Values icongraphics/DisplayList.png to display the Select Interface screen.

    6. Select the message interface that you defined in Creating an External Definition. Click OK.

    7. Save your definitions.

    Top of page

    Defining a Communication Channel

    Start of instruction setTo define a communication channel

    1. In the Edit Service screen, click the Create Object icon in order to create a new communication channel.

      graphics/createobject.png

      The Communication Channel is displayed.

      graphics/CommunicationChannel.png

    2. Enter a name for the communication channel and click Create. The Edit Communication Channel screen is displayed.

      graphics/editcommunicationchannel.png

    3. In the Parameters tab, Adapter Type, click the Display Input Help icongraphics/DisplayList.png to display the list of adapters.

      graphics/Listofadapters.png

    4. Select TN5250 and click OK. The contents of the Parameters tab change accordingly.

      graphics/Parameters5.png

    5. Select the Message Protocol as 5250.

    6. Enter the Connection Parameters: the IP name or address of the ApplinX server (mandatory) and the corresponding port number (2380 is the default port number).

    7. Define the Application Parameters: the name of the application to connect to, the relevant service in ApplinX and the method.

      Note:
      In order for the method name to be the same as the communication channel name, type * as the method name.

    8. Set the adapter to Active to enable messages to be exchanged.

    9. Save your changes.

    Note:
    You need to define a separate communication channel for each ApplinX Web method that you want to use.

    Top of page

    Defining the Receiver Determination

    Start of instruction setTo define the receiver determination

    1. In the Configuration Integration Builder, right-click Receiver Determination and select New....

      graphics/newreceiverdetermination.png

      The Receiver Determination screen is displayed.

      graphics/ReceiverDetermination.png

    2. In the Service field, click the Display List of Permitted Values icongraphics/DisplayList.png to display the list of services.

      graphics/Listofservices.png

    3. Select the service that is to provide the data to ApplinX.

    4. Enter the name of the message interface that you defined in Creating a Message Interface.

    5. Enter the namespace that you used when creating the message interface.

    6. Click Create. The Edit Receiver Determination screen is displayed.

      graphics/editreceiverdetermination.png

    7. In the Configured Receivers area, click on the Insert Line Below Selection graphics/insertlinebelowselection.png icon. An empty row will be added.

    8. In the Services cell, click on the graphics/DisplayList.png icon and select the service you defined in Defining a New Service.

    9. Click Save.

    Top of page

    Defining the Interface Determination

    Start of instruction setTo define the interface determination

    1. In the Configuration Integration Builder, right-click Interface Determination and select New....

      graphics/newinterfacedetermination.png

      The Interface Determination screen is displayed.

      graphics/InterfaceDetermination.png

    2. In the Service field, click the Display List of Permitted Values icongraphics/DisplayList.png to display the list of services.

      graphics/Listofservices.png

    3. Select the service that is to provide the data to ApplinX and click OK.

    4. Enter the name of the message interface that you defined in Creating a Message Interface.

    5. Enter the namespace that you used when creating the message interface.

    6. Click the Display List of Permitted Values icongraphics/DisplayList.png to display the list of services. Select the service that you defined in Defining a Service.

    7. Click Create. The Edit Interface Determination screen is displayed.

      graphics/editinterfacedetermination.png

      Click the Display Input Help icongraphics/DisplayList.png to display the list of interfaces. Select the relevant interface and click OK.

    8. Click Save.

    Top of page

    Defining the Receiver Agreement

    Start of instruction setTo define a receiver agreement

    1. In the Configuration Integration Builder, right-click Receiver Agreement and select New....

      graphics/newreceiveragreement.png

      The Receiver Agreement screen is displayed.

      graphics/ReceiverAgreement.png

    2. In the Sender, Service field, click the Display List of Permitted Values icongraphics/DisplayList.png to display the list of services. Select the service that you defined in Defining a Service.

    3. In the Receiver, Service field, select the service that is to provide the data to ApplinX.

    4. Enter the name of the message interface that you defined in Creating a Message Interface.

    5. Enter the namespace that you used when creating the message interface.

    6. Click Create. The Edit Receiver Agreement screen is displayed.

      graphics/editreceiveragreement.png

    7. Enter the Receiver Communication Channel defined in Defining a Communication Channel.

    8. Click Save.

  • 相关阅读:
    web服务器资源分类场景实践
    web服务器动静资源分离及负载均衡调制
    四层负载均衡
    集群中nginx服务的健康检查及负载均衡模板更新
    源码安装nginx及增加模块,nginx的秒级升级,秒级回滚
    phpadmin+redis实现图形化管理数据库笔记
    cookie和session
    移动硬盘修复工具哪个好?怎么修复教程
    硬盘 SMART 检测参数详解[转]
    磁盘显示为GPT(保护分区)
  • 原文地址:https://www.cnblogs.com/byfhd/p/779930.html
Copyright © 2011-2022 走看看