设为首页 收藏本站
查看: 845|回复: 0

[经验分享] Configuring on SAP XI

[复制链接]

尚未签到

发表于 2015-9-17 10:48:25 | 显示全部楼层 |阅读模式
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.
  
http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/bluearro.pngTo convert XI messages to a TN5250 service call you will need to:

  • Retrieve the WSDL file of an ApplinX procedure group.
  • Tasks performed from the Design: Integration Builder tool:

    • Create an external definition.
    • Create a message interface. (For each Web method you will need to create a separate message interface.)
    • Activate your settings.

  • Tasks performed from the Configuration: Integration Builder tool:

    • Define a service.
    • Define a communication channel.
    • Define the receiver determination.
    • Define the interface determination.
    • Define the receive agreement.
    • 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
  • The ApplinX 2380 HTTP Interface

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).
http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/bluearro.pngTo retrieve the WSDL file using the ApplinX Web interface

  • 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.
  • Click the requested application. A list of Procedure Groups (Web Services) for the application appears.
  • Click [wsdl(wrapped)] next to the name of the relevant procedure group. The WSDL file will be opened as an xml file.
  • Save the file with a suitable name, with the .wsdl extension.

http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/uparrow.png

Creating an External Definition
http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/bluearro.pngTo create an External Definition

  • Open the Design Integration Builder.
  • In the node of your product namespace, right-click the External Definition node, and select New....
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/newexternaldefinition.png
    The Create Object: External Definition screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/externaldefinition5.png
  • Enter a suitable name and click Create to create the External Definition. The Edit External Definition screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/editexternaldefinition.png
  • Ensure that the selected category is "wsdl".
  • Click on the Import external definitions button. The Open dialog box is displayed.
  • Browse and locate the WSDL file retrieved in Retrieving the WSDL File of an ApplinX Procedure Group.
  • Save the External Definition.

http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/uparrow.png

Creating a Message Interface
  For each Web Method, it is necessary to create a separate Message Interface.
http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/bluearro.pngTo create a Message Interface

  • Open the Design Integration Builder.
  • Right-click the Message Interfaces node, and select New....
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/newmessageinterface.png
    The Create Object: Message Interface screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/messageinterface.png
  • Enter a suitable name and click Create to create the Message Interface. The Edit Message Interface screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/editmessageinterface.png
  • Ensure that "Inbound" is the Category selected.
  • Ensure that "Synchronous" is the Mode selected.
  • Click on the Display Input Help icon to browse and select the input message.
  • Click on the Display Input Help icon to browse and select the output message.
  • Save the Message Interface.

http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/uparrow.png

Defining a Service
http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/bluearro.pngTo define a service

  • Open the Configuration Integration Builder.
  • Expand the Service without party node, right-click the Business Service node, and select New....
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/BusinessServiceNew.png
    The Business Service screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/BusinessService.png
  • Enter a suitable name for the service and click Create. The Edit Service screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/EditService.png
  • In the Receiver tab, Inbound Interfaces, click the Insert Line Below Selection icon http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/insertlinebelowselection.png icon. An empty row will be added.
  • Click the Display List of Permitted Values iconhttp://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/DisplayList.png to display the Select Interface screen.
  • Select the message interface that you defined in Creating an External Definition. Click OK.
  • Save your definitions.

http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/uparrow.png

Defining a Communication Channel
  
http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/bluearro.pngTo define a communication channel

  • In the Edit Service screen, click the Create Object icon in order to create a new communication channel.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/createobject.png
    The Communication Channel is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/CommunicationChannel.png
  • Enter a name for the communication channel and click Create. The Edit Communication Channel screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/editcommunicationchannel.png
  • In the Parameters tab, Adapter Type, click the Display Input Help iconhttp://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/DisplayList.png to display the list of adapters.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/Listofadapters.png
  • Select TN5250 and click OK. The contents of the Parameters tab change accordingly.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/Parameters5.png
  • Select the Message Protocol as 5250.
  • 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).
  • 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.
  • Set the adapter to Active to enable messages to be exchanged.
  • Save your changes.
Note:
You need to define a separate communication channel for each ApplinX Web method that you want to use.

http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/uparrow.png

Defining the Receiver Determination
http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/bluearro.pngTo define the receiver determination

  • In the Configuration Integration Builder, right-click Receiver Determination and select New....
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/newreceiverdetermination.png
    The Receiver Determination screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/ReceiverDetermination.png
  • In the Service field, click the Display List of Permitted Values iconhttp://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/DisplayList.png to display the list of services.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/Listofservices.png
  • Select the service that is to provide the data to ApplinX.
  • Enter the name of the message interface that you defined in Creating a Message Interface.
  • Enter the namespace that you used when creating the message interface.
  • Click Create. The Edit Receiver Determination screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/editreceiverdetermination.png
  • In the Configured Receivers area, click on the Insert Line Below Selection http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/insertlinebelowselection.png icon. An empty row will be added.
  • In the Services cell, click on the http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/DisplayList.png icon and select the service you defined in Defining a New Service.
  • Click Save.

http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/uparrow.png

Defining the Interface Determination
http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/bluearro.pngTo define the interface determination

  • In the Configuration Integration Builder, right-click Interface Determination and select New....
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/newinterfacedetermination.png
    The Interface Determination screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/InterfaceDetermination.png
  • In the Service field, click the Display List of Permitted Values iconhttp://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/DisplayList.png to display the list of services.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/Listofservices.png
  • Select the service that is to provide the data to ApplinX and click OK.
  • Enter the name of the message interface that you defined in Creating a Message Interface.
  • Enter the namespace that you used when creating the message interface.
  • Click the Display List of Permitted Values iconhttp://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/DisplayList.png to display the list of services. Select the service that you defined in Defining a Service.
  • Click Create. The Edit Interface Determination screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/editinterfacedetermination.png
    Click the Display Input Help iconhttp://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/DisplayList.png to display the list of interfaces. Select the relevant interface and click OK.
  • Click Save.

http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/uparrow.png

Defining the Receiver Agreement
http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/bluearro.pngTo define a receiver agreement

  • In the Configuration Integration Builder, right-click Receiver Agreement and select New....
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/newreceiveragreement.png
    The Receiver Agreement screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/ReceiverAgreement.png
  • In the Sender, Service field, click the Display List of Permitted Values iconhttp://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/DisplayList.png to display the list of services. Select the service that you defined in Defining a Service.
  • In the Receiver, Service field, select the service that is to provide the data to ApplinX.
  • Enter the name of the message interface that you defined in Creating a Message Interface.
  • Enter the namespace that you used when creating the message interface.
  • Click Create. The Edit Receiver Agreement screen is displayed.
    http://onexin.iyunv.com/source/plugin/onexin_bigdata/file:///E:/SAPTEAM/XI/Configuring%20on%20SAP%20XI_files/editreceiveragreement.png
  • Enter the Receiver Communication Channel defined in Defining a Communication Channel.
  • Click Save.

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-114859-1-1.html 上篇帖子: 入门培训SAP操作手册 之前台操作 下篇帖子: SAP工作分配
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表