Tag Archives: webservice

webservice in abap

一、生成webservice1、向导创建:SE37, Utilities -> More Utilities -> Create Web Service -> From the Funtion Module2、或者: SE80, 在Package的右键菜单中选择:Create -> Enterprise Service / Web Service -> Web Service3、详细配置:SE804、运行环境配置:WSCONFIG5、Web Servie Administration for SOAP Runtime: WSADMIN, 在这里可以做webservice的测试,查看WSDL 二、调用webservice1、创建RFC连接: SM50, 类型为HTTP Connection to External Serv,可以设置登录用户和口令2、创建Logical Port: LPCONFIG, 其中HTTP Destination 选择上一步创建的RFC连接,Path Prefix选择WSDL路径中的后半部分,保存后Active3、修改调用程序使用的Package, 增加两个Use Access, SAI_TOOLS和SAPPINT, Error Severity都选择No Response4、生成代理对象: SE80,在Enterprise Services节点的右键菜单中选择: Create -> [...]