Skip to Content
avatar image
Former Member

How to handle Zip mode with json file accessing via URL in SAP PI/PO Which adapter need to use?

Dear Experts .

Myscenario is Proxy to SOAP/REST , Wheras i have a static URL which contains the json file with zip mode.

i am able to down load the file in any browser

I am littile bit confised hear to achive the same.

1. Which adapter i need to use for to access url SOAP/REST

2.Can i do the Custom adapter module for the same.

3. if we go for custom adapter module how to indtify the input url in the java code.

4 is ther any standard mechanicasm for achive the same.

Request you to help for the same.




Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Apr 26, 2017 at 09:27 AM

    Hi Ravinder,

    If I have understood properly, then it's a Proxy to REST scenario where you need to push proxy data to the target system in JSON format and the JSON data should be zipped.

    My suggestion is to use REST adapter at the target end and required configuration in the receiver CC to convert the xml into JSON and use of standard module PayloadZipBean(ZipAll) to ZIP the JSON data.

    Please try this and let me know if you face any issue.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Das ,

      Thanks for replay.

      i will give you the full details of my scenario .

      Scenario is like we need to download the file based on the Given url .

      First scenario : We are getting url from the target system where we are sucessfully implemented the scenario PROXY to REST . It's giving the response and we are saving same in to table in ECC system. Now My Chalenge is to dwonload the FIle using above url .


      It's danamic url for every new file.our end it is like static url because we are saving in table in ECC system.

      Using the above url in need to download the zipped file it having the JSON data.

      I developed a scenario PROXY to SAOP with Dynamic URL replacement UDF in Mapping level Using TserverLocation.

      I can to see the URL in the mapping attributes sucessfully.

      Attaching the communiation channel configuration :

      My questions are below .

      1. my scenario is correct or not like PROXY to SAOP.

      2. Can i develope a Custome adapter model for read the JSON data in SOAP response.

      3 . zip file also in can we use standardrd PayloadZip Bean for the same.

      4. how to achive the same scenario

      Please guide us to complete the scenario.