Skip to Content
avatar image
Former Member

How can create rest services in SAP PI 7.4

Dear Experts,

I have a requirement for integration rest service with SAP PI 7.4

My Scenario(Synchronous) :

Sender-Third Party(Rest services , JSON format) -<---------> SAP PI <-------> SAP ECC(proxy).

I have followed this blog (https://blogs.sap.com/2012/01/05/michals-pi-tips-exchange-rates-from-an-xml-file-on-a-web-page-rest-axis/) for configuration of sender SOAP AXIS adapter.

But my question is that:

1. what URL should use in this channel in place of URL parameter.

2. How can create rest web services in pi system that provide to third party team.

3. is SOAP AXIS adapter support JSON format

Please help me it is urgent for me.

Thank you in Advance for advice.

Regards,

Pradeep Kumar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jan 15, 2017 at 09:57 AM

    You are supposed to use Sender Adapter as Rest and Not SOAP AXIS.

    There are many blogs exlpaining Rest , give it a try.

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 15, 2017 at 11:14 AM

    Hi Manoj,

    Actually Rest Adapter is supported SP level 9 in SAP PI 7.4 but in our system has SP 5 that's why system do not have rest adapter.

    Basis team upgrading system but facing some issue in upgradation so i am using SOAP Axis Adapter for rest services andiI have seen many blog where mentioned SOAP AXIS adapter can handle rest services.

    Thanks ,

    BR

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2017 at 12:13 PM

    Hi Manoj,

    When i am testing rest services for SOAP AXIS adapter in SOAP UI then i am getting below mentioned error in communication channel t.

    ab.

    BR,

    Pradeep Kumar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Manoj K

      HI Manoj

      I have similar requirement to expose PI as a REST ful webservice.

      I saw the blogs but could not understand the ESR settings to be done. I am on dual stack PI 7.31 SP14.

      Do i need to create the source MT & DT and do i need to create WSDL to send to Third party along with the endpoint URL?

      how to create the WSDL in this case?

      Kindly provide me the steps for the same.

      Thanks

      Husain