SAP 创建 Web Services

31 篇文章 0 订阅
  sap Web Services 
   Web service 就是一个应用程序,它向外界暴露出一个能够通过Web进行调用的API。也就是说,可以利用编程的方法通过Web来调用这个应用程序。
   Web services是建立可互操作的分布式应用程序的新平台。Web service平台是一套标准,它定义了应用程序如何在Web上实现互操作性。你可以用任何你喜欢的语言,在任何你喜欢的平台上写Web service ,只要我们可以通过Web service标准对这些服务进行查询和访问。

SAP 的Web Service 分为ABAP and Java Web Services。

创建Web Service
方法1.T-Code:SE80 选择Package,然后右击在菜单中选择,Create ® Enterprise Services / Web Services  ® Web Service.
方法2.T-CODE :SE37 选择一个function module,显示,菜单,Utilities ® More Utilities ® Create Web Service ® From the Function Moduleor From the Function Group
方法3.T-CODE:BAPI  BAPI Explorer

在创建Web service 时,首先要创建Virtual interfaces
Virtual interfaces

Using virtual interfaces, you can define several views of an implementation and publish these separately as a Web service. When you create virtual interfaces, you can rename or hide operations and parameters. You can also define standard values for parameters and convert parameter types.
创建Virtual interfaces
T-CODE:SE80    选择Package 右击:Create ® Enterprise Service / Web Service ®Virtual Interface

Release Web Service
T-CODE:WSConfig
选择web service Service Definition ,Variant ,
创建 release web service.
保存后列表中会出现已release 的web service.

生成WSDL
T-CODE:WSADMIN
执行(Ctrl+F8),生成WSDL(Web Services Description Language)(Ctrl+F9)
服务管理
T-CODE:sicf  管理SAP服务(包含web service)   default_host/sap/bc/srt/rfc/sap/
服务监控:
T-Code:smicm 服务监控

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值