1, a description
This article will be published as RFC detailed steps of WebService
It does not describe how to create rfc.
2, WebService create
2.1, create a command call
In the RFC interface Click Utilities -> More Utilities -> Create WEB Services -> from function module
2.2, the definition of Web Service
2.2.1、Service
Enter a name and description of the definition of services, continue
2.2.2、Endpoint Function Module
Enter the RFC name, check the "Map Name", continued
2.2.3、Configure Service
SOAP Appl default, Profile general choice "PRF_DT_IF_SEC_NO", continued
2.2.4、Enter Package/Request
If desired transmission, select development kits, generation request, where the local temporary
2.2.5、Finish
Tip description, then have to perform tcode SOAMANAGER of WEB services Configure Publishing
2.2.6, service activation
Has been to test the link, but this time enter into your browser will be prompted to authenticate users, this is not the real address of webservice
PS: when the parameter varies a function
After changing parameters
Click Modify service service definition to select the next figure - "Check -" syntax
Select YES reactivated, whether observed changes in parameters
3, publish Web Service
3.1, invoking the Web Service Configuration
Input transaction code SOAMANAGER, IE browser activated in SAP, as shown in FIG.
3.2, click on the Configure link
After entering IE, select "Service Management" tab, click on "Web Services Management"
3.3, choose to define the Web Service
Find the web service you just created, click
3.4, create a service
Click the Configure button Service
3.5, and binding name editing services
3.6, security settings
Enter the user name and password, click Next
3.7, SOA agreement
By default, the next step
Below have generated webservice copying the address into your browser
4. Test Web Service
4.1 This web service call in SAP
4.2 SOAMANAGER part
运行SOAMANAGER,按如图条件搜索
点击ZXD01CO_ZWS_XD01
点击创建 选择第一个
最后的 操作设置 注意 soap action。