当前位置:网站首页>SAP pi / PO soap2proxy consumption external WS example
SAP pi / PO soap2proxy consumption external WS example
2022-04-23 09:33:00 【rogerix4】
SAP PI/PO Soap2Proxy External consumption ws Example
=>Enterprice Services Builder To configure
- flow chart
- Imported in advance SLD and NameSpace
1. newly build ESB Object storage directory
- newly build ESB Object storage directory , Save and activate (FOLDER_WEATHER)
2. newly build External Definition, Import WSDL
- newly build External Definition(ED_WEATHER_WSDL)
- choice WSDL File import , Save and activate
3. newly build Service Interface(getSupportCity Method )
- newly build Sproxy->Soap Outbound send out SI(SI_GETSUPPORTCITY_REQUEST)
- Set parameters ; Save and activate
- Set parameters ; Save and activate
- newly build Soap->Sproxy Inbound receive SI(SI_GETSUPPORTCITY_RESPONSE)
- Set parameters ; Save and activate
- Set parameters ; Save and activate
4. newly build Message Mapping(getSupportCity Method )
- newly build Sproxy->Soap Outbound At the time of the Message Mapping(MM_GETSUPPORTCITY_REQUEST)
- Correlation field , Save and activate
- Correlation field , Save and activate
- newly build Soap->Sproxy Inbound At the time of the Message Mapping(MM_GETSUPPORTCITY_RESPONSE)
- Correlation field , Save and activate
- Correlation field , Save and activate
5. newly build Operation Mapping(getSupportCity Method )
- newly build Operation Mapping(OM_GETSUPPORTCITY)
- Request:Sproxy->Soap When sending a request
- Response:Soap->Sproxy Request to return results
- Request:Sproxy->Soap When sending a request
- Activate all inactive objects ,ESB overview
=>Integration Builder To configure
1. newly build IB Object storage directory
- flow chart ( actually |DEV_240|SI_GETSUPPORTCITY_RESPONSE|| It belongs to configuration and does not actually process data ; Real processing takes place in SI_GETSUPPORTCITY_RESPONSE in )
- New folder , Save and activate (FOLDER_WEATHER)
2. newly build SAP Client Information channels
- Idoc Information channels
- Proxy Information channels
- RFC Information channels
3. newly build Business Component
- newly build Business Component, And click the Save button (BC_WEATHER)
- Receiver Create a message channel (CC_GETSUPPORTCITY_RECEIVER)
- Soap When there are multiple methods , Need to specify Soap Action(Soap Action Can be obtained from WSDL Found in file )
- Sender
- Save and activate all objects
4. newly build Integrated Configuration
- newly build Integrated Configuration
- Inbound Processing
- Receiver
- Receiver Interface
- Outbound processing
- Inbound Processing
- Save and activate
- ID detailed list
- SAP List of system information channels
=>SAP Proxy call
1. New agent
- Transaction code :SPROXY
- Save and activate
2. ABAP call Sproxy
- Code
DATA: lo_proxy TYPE REF TO ZPI_CO_SI_GETSUPPORTCITY_REQUE. DATA: l_input type ZPI_GET_SUPPORT_CITY_SOAP_IN, l_output type ZPI_GET_SUPPORT_CITY_SOAP_OUT. DATA: l_string TYPE string. CREATE OBJECT lo_proxy. l_input-BY_PROVINCE_NAME = ` sichuan `. TRY. CALL METHOD LO_PROXY->SI_GETSUPPORTCITY_REQUEST EXPORTING OUTPUT = l_input IMPORTING INPUT = l_output. CATCH CX_AI_SYSTEM_FAULT . CATCH CX_AI_APPLICATION_FAULT . ENDTRY. LOOP AT L_OUTPUT-GET_SUPPORT_CITY_RESULT-STRING INTO l_string. WRITE: / l_string. ENDLOOP.
- Show the effect
版权声明
本文为[rogerix4]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230623503643.html
边栏推荐
- Distributed message oriented middleware framework selection - Digital Architecture Design (7)
- 小程序报错:Cannot read property 'currentTarget' of undefined
- Vivo, hardware safe love and thunder
- ALV tree (ll LR RL RR) insert delete
- DVWA range practice
- Emuelec compilation summary
- Chapter VIII project stakeholder management of information system project manager summary
- 错题汇总1
- Comparison of overloading, rewriting and hiding
- 如何实现根据照片获取地理位置及如何防御照片泄漏地理位置
猜你喜欢
JS what is an event? Event three elements and operation elements
High paid programmer & interview question series 91 limit 20000 loading is very slow. How to solve it? How to locate slow SQL?
LeetCode 1611. The minimum number of operations to make an integer 0
SAP 101K 411K 库存变化
Acquisition of DOM learning elements JS
错题汇总1
SAP 03-amdp CDs table function using 'with' clause
Kettle实验 (三)
kettle庖丁解牛第14篇之JSON输入
PHP笔记(一):开发环境配置
随机推荐
Simply understand = = and equals, why can string not use new
MySQL of database -- basic common query commands
【SQL server速成之路】数据库的视图和游标
501. Mode in binary search tree
golang力扣leetcode 396.旋转函数
Learn FPGA (from Verilog to HLS)
Distributed message oriented middleware framework selection - Digital Architecture Design (7)
npm ERR! network
JS prototype chain
High paid programmer & interview question series 91 limit 20000 loading is very slow. How to solve it? How to locate slow SQL?
Three ways to create objects in JS
Chapter VIII project stakeholder management of information system project manager summary
Leetcode0587. Install fence
Leetcode question bank 78 Subset (recursive C implementation)
亚马逊云科技入门资源中心,从0到1轻松上云
kernel-pwn学习(4)--Double Fetch&&0CTF2018-baby
Go language learning notes - language interface | go language from scratch
ATSS(CVPR2020)
Operation not allowed for a result set of type resultset TYPE_ FORWARD_ ONLY. Explain in detail
AI上推荐 之 MMOE(多任务yyds)