how to consume a webservice via ABAP proxy

简介: how to consume a webservice via ABAP proxy

The function module being exposed as web service looks like below:

image.png


wsdl: http://x3d:50024/sap/bc/srt/wsdl/flv_10002A111AD1/bndg_url/sap/bc/srt/rfc/sap/zsd_add/700/zadd/zb_add?sap-client=700


SE80, click create button:

image.png


select “Service Consumer”:


 image.pngimage.png

input WSDL url:


image.png

There is a pop up window. Maintain user and password accordingly.


image.png

Activate the proxy class, the status should be Active:

image.png


search the just created consumer proxy ZCO_ZSD_ADD in SOAMANAGER:

image.png

Create a new logical port:


  image.pngimage.pngimage.png

Click the ping button to ensure the logical port works correctly:


image.png

Create a test report like below:

image.png

Or you can directly test the ABAP consumer proxy class in SE24:


specify the default logical port, and click button “Create Instance”:

image.png

specify 3 and 4 as input para1 and input para2:


image.png

execute and get expected result 7:

image.png

相关文章
How to create and consume web service in CRM
The following steps demonstrates how to expose a function module as a web service in CRM.
115 0
How to create and consume web service in CRM
|
Java 网络架构 Spring
Mule ESB-3.Build a webservice proxy
自从引入ESB后,系统之间不再直接依赖,我负责的这块,主要是解决Webservice的问题,使系统A不再直接依赖系统B的Webservice。 我们选择的产品是Mule ESB,所以自然要使用Mule 创建一个Webservice代理,即系统A请求到ESB,ESB请求系统B。 准备工作: 通过我的博客《Mule ESB-Basic Studio Tutorial
1472 0
|
Web App开发 测试技术 网络架构
Mule ESB 学习笔记(11)Web Service Proxy(这里是一个可以正常运行的例子)
一、WebSevice Proxy 简介      WebService Proxy 是ESB中最常见的使用场景之一,即通过 ESB 直接转发 WebService Client 的 SOAP 请求,并将 WebServcie Provider 的 SOAP 响应转发给 WebService Client ,此时的ESB就是一个WebService Proxy
2166 0
|
5月前
|
XML Java 应用服务中间件
WebService - Axis2基于JAX-WS开发WebService并发布多个WebService
WebService - Axis2基于JAX-WS开发WebService并发布多个WebService
39 0
|
5月前
|
Java 应用服务中间件 Spring
WebService - Axis2使用services.xml进行开发server与client(未与Spring整合)
WebService - Axis2使用services.xml进行开发server与client(未与Spring整合)
52 0
|
5月前
|
Java 应用服务中间件 Spring
WebService - CXF开发Server和Client(main方法测试)
WebService - CXF开发Server和Client(main方法测试)
40 0
|
Java Android开发
哇!eclipse+webservice开发实例居然这样写(有源码可用)
哇!eclipse+webservice开发实例居然这样写(有源码可用)
108 0
哇!eclipse+webservice开发实例居然这样写(有源码可用)
|
Java 应用服务中间件 Apache
webservice开发不得不知的细节,Error creating bean with name ‘org.apache.cxf.jaxws.EndpointImpl---1987203924‘
webservice开发不得不知的细节,Error creating bean with name ‘org.apache.cxf.jaxws.EndpointImpl---1987203924‘
125 0