Skip to Content

I was struck by the general opinion coming from the Architect Review Meeting while we were defining the Integration architecture for a client : “So in short  SAP PI cannot expose web services that other applications can understand. We need to look for other options to expose the functionality over the intranet.”

The opinion sounded too hard to believe and made me immediately board the train of thoughts – what should be done to ensure inter-operability of SAP with the non-SAP world? Traditionally many architects have been looking at SAP PI as more suitable for SAP-centric Integration than non-SAP-centric one.  How to convince at least the ones around me that SAP PI is capable of providing a completely inter-operable Web-Service Solution ?

 

While working towards getting web services from SAP PI into enterprise-wide SOA platform running on IBM and Oracle products (WebSphere Service Registry and Repository and AmberPoint respectively), I got an opportunity to demystify some less known capabilities and features of SAP PI. The journey was as interesting as a treasure hunt game with the next clue coming only after you  have solved the earlier one. In this series of three blogs, I plan to share my experiences as I progressed in the venture.

 

We are using SAP PI 7.1 here. The Initial procedure ( configuring a SOAP-to-RFC scenario and generating the WSDL from Sender Agreeement ) is no-brainer.

The real challenge lies in meeting the “Thou-shalt-not-bypass-them” pre-requisites for publishing the WSDL.

 

 Clue No. 1. The Service Name in the WSDL published should be a meaningful name

The WSDL generated from Sender Agreement contains a cryptic GUID by default.

Inter-operability requires that the Service name is more meaningful and is able to describe the functionality.

The solution is to choose a meaningful name for the Service Interface in ESR and then update the exchange profile setting the parameter com.sap.aii.ibdir.wsdl.servicename.bitfield as 0. This will bring about the change in the XML tag in the WSDL.

 

You can also set the parameter to accept Sender or Receiver – Party or Service name, or even their combination. The details can be found in SAP Note 1377281.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Trevor Naidoo
    Nice treasure hunting Amit! I look forward to the next installments…

    In my experience, the “SAP PI being most suitable for SAP-centric integration” standpoint is due mainly to ill-advised decision makers (who receive poor advise from people that supposedly know all of SAP PI’s capabilities).

    (0) 
    1. Amit Dingorkar Post author
      Thanks Trevor. I shall come back very soon with the next in the series..

      Agree with you. We need more awareness about SAP, especially among the non-SAP fraternity..
      (0) 

Leave a Reply