Skip to Content
Author's profile photo Manoj Venkata Aditya Vempati

SOAP with XI 3.0 message protocol

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:


/wp-content/uploads/2014/09/1_549099.png


Target Data Type:


/wp-content/uploads/2014/09/2_549100.png


Source Message Type:


/wp-content/uploads/2014/09/3_549101.png


Target Message Type:


/wp-content/uploads/2014/09/4_549102.png


Outbound Service Interface:


/wp-content/uploads/2014/09/5_549103.png


Inbound Service Interface:


/wp-content/uploads/2014/09/6_549104.png


Message Mapping:


/wp-content/uploads/2014/09/7_549105.png


Operation Mapping:


/wp-content/uploads/2014/09/8_549106.png

Integration Builder Setup:


Sender SOAP communication Channel:


/wp-content/uploads/2014/09/9_549107.png


/wp-content/uploads/2014/09/10_549108.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:


/wp-content/uploads/2014/09/11_549109.png


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


Integrated Configuration:


/wp-content/uploads/2014/09/12_549110.png

/wp-content/uploads/2014/09/13_549111.png

/wp-content/uploads/2014/09/14_549112.png

/wp-content/uploads/2014/09/15_549119.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.


/wp-content/uploads/2014/09/16_549120.png


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


/wp-content/uploads/2014/09/17_549121.png


Navigate to the inbound service interface.


/wp-content/uploads/2014/09/18_549137.png


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


/wp-content/uploads/2014/09/19_549138.png

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


/wp-content/uploads/2014/09/20_549139.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.


/wp-content/uploads/2014/09/21_549140.png

     Target Host: PI host

     Service No: PI port number

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


Execute T-Code SXMSIF in ABAP system


/wp-content/uploads/2014/09/22_549141.png


Create a new entry for outbound service interface.


/wp-content/uploads/2014/09/23_549142.png


Execute T-Code SXMB_ADM in ECC system.


/wp-content/uploads/2014/09/24_549146.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>


/wp-content/uploads/2014/09/25_549147.png

/wp-content/uploads/2014/09/26_549148.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


/wp-content/uploads/2014/09/27_549155.png


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


/wp-content/uploads/2014/09/28_549156.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


/wp-content/uploads/2014/09/29_549157.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


/wp-content/uploads/2014/09/30_549161.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


/wp-content/uploads/2014/09/31_549162.png

/wp-content/uploads/2014/09/32_549163.png


Execute SICF T-Code in ECC system and execute.


/wp-content/uploads/2014/09/33_549170.png


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


/wp-content/uploads/2014/09/34_549171.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.


/wp-content/uploads/2014/09/35_549172.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


/wp-content/uploads/2014/09/36_549173.png


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


/wp-content/uploads/2014/09/37_549174.png

/wp-content/uploads/2014/09/38_549175.png



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


/wp-content/uploads/2014/09/42_549179.png


/wp-content/uploads/2014/09/39_549180.png


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


/wp-content/uploads/2014/09/40_549181.png


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


/wp-content/uploads/2014/09/41_549185.png

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Katan Patel
      Katan Patel

      As you already state, there is a lot of content out there like this.  I struggle to see how this is simpler for a noob.  A noob may not be familiar with the ESR screens or what you have done.

      I also think you maybe potentially be trying to do too much here & with very little context.  Don't stop trying to create new content, but try to be original. 

      Author's profile photo Manoj Venkata Aditya Vempati
      Manoj Venkata Aditya Vempati
      Blog Post Author

      Hi Katan,

      I felt that this doc might help freshers who are in learning stage. An year ago, I used to search SCN for step by step processes if available.

      Hope this content would help those who are new just like me an year ago.