Quantcast
Channel: SCN : Document List - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 571

SOAP with XI 3.0 message protocol

$
0
0

Hello Everybody,


In this document I would like to explain how to configure and test SOAP adapter with XI 3.0 message protocol to process proxy messages.


Many have already discussed this on SDN. I would like make this simpler for newbies in the form of a simple POC (Proxy - Proxy).


ESR setup:


Source Data Type:


1.png


Target Data Type:


2.png


Source Message Type:


3.png


Target Message Type:


4.png


Outbound Service Interface:


5.png


Inbound Service Interface:


6.png


Message Mapping:


7.png


Operation Mapping:


8.png

Integration Builder Setup:


Sender SOAP communication Channel:


9.png


10.png


Module Name: sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

Parameter Name: generateSysAck                 Parameter Value: true

Parameter Name: ignoreDuplicate                 Parameter Value: true



Receiver SOAP communication Channel:


11.png


Target URL: "http://<TargetHost>:<port>/sap/xi/engine?type=entry"


Integrated Configuration:


12.png

13.png

14.png

15.png


Configurations in ECC system:


Execute SLDCHECK T-code and check if it takes you to PI SLD webpage. If not request basis team to configure this.


Execute SPROXY T-Code in ECC system. You should be able to see ESR content there. Else, request basis team to maintain connections.


Navigate to the outbound service interface in SPROXY T-Code.


16.png


Share this service interface details with an Abaper and request him/her to generate and activate the proxy.


17.png


Navigate to the inbound service interface.


18.png


Share this service interface details with an Abaper and request him/her to generate and activate the proxy.


19.png

 

Execute SM59 in ECC system and create Type G RFC destination to PI system.


20.png

     Target Host: PI host

     Service No: PI port number

     Path Prefix: /XISOAPAdapter/MessageServlet?ximessage=true


Execute T-Code SM59 in ECC system and create Type H destination to PI system.


21.png

     Target Host: PI host

     Service No: PI port number

     Path Prefix: /sap/xi/engine?type=entry


Execute T-Code SXMSIF in ABAP system


22.png


Create a new entry for outbound service interface.


23.png


Execute T-Code SXMB_ADM in ECC system.


24.png


Execute Integration Engine Configuration --> Edit --> Change Selected Config Data --> Role of Business System --> Select “Application System” --> Corresponding Integ. Server -->dest://<Type H RFC destination created previously>


25.png

26.png


Execute Integration Engine Configuration --> Change Configuration (F9) --> Ctrl+F1 --> New Entry (F5) --> Category: RUNTIME --> Parameters: CENTRAL_SYSTEM --> Subparameter: SLD --> Current Value: is.<PI sys no>.<PI host> --> Save


27.png


Execute Integration Engine Configuration --> Change Configuration (F9) --> Ctrl+F1 --> New Entry (F5) --> Category: RUNTIME --> Parameters: ENGINE_TYPE --> Current Value: LOC --> Save


28.png


Execute Integration Engine Configuration --> Change Configuration (F9) --> Ctrl+F1 --> New Entry (F5) --> Category: RUNTIME --> Parameters: IS_URL --> Current Value: dest://<Type H RFC Destination crated in SM59> --> Save


29.png


Execute Integration Engine Configuration --> Change Configuration (F9) --> Ctrl+F1 --> New Entry (F5) --> Category: RUNTIME --> Parameters: IS_URL --> Subparameter : Sender ID created in SXMSIF --> Current Value: dest://<Type G RFC Destination crated in SM59> --> Save


30.png


Execute T-Code SMICM --> Shift+1 or click on Services -->Configure permanent HTTP Service Port (this port number has to be used to configure target url in receiver soap channel)


Reference: http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4c/5bdafa97817511e10000000a42189b/content.htm


31.png

32.png


Execute SICF T-Code in ECC system and execute.


33.png


Expand default_host --> sap --> xi and right click on engine_test (XI Test Handler) and select Test Service.


34.png


This will open "http://<ECC Host>:<ECC Port>/sap/xi/engine_test?sap-client=<ECC Client>" in the browser. It should ask for user credentials. Provide ECC credentials. You should get below response. If not, request basis team to fix this.


35.png


Testing:


Execute SPROXY T-Code in ECC system and navigate to outbound service interface --> Right Click --> Display Proxy --> Test (F8) --> Execute (F8) --> XML Editor (Ctrl+F2) --> Input Values


36.png


Execute (F8) --> Trigger Commit (if required).


37.png

38.png



Execute SXI_MONITOR T-Code in ECC system and verify if proxy is successfully sent to PI system.


42.png


39.png


Verify in PI Java Stack monitoring if message is received and is delivered to target ECC system.


40.png


Execute SXI_MONITORING T-Code in ECC system and verify if message is successfully received into it.


41.png


Viewing all articles
Browse latest Browse all 571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>