Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Extract XML from URL

Hi Experts,

We are using PI7.0.

We got a requirement to extract XML from a exchange rate URL on daily basis and send it to ECC from PI.

I followed the below link for the same.

http://scn.sap.com/people/michal.krawczyk2/blog/2010/01/22/pixi-how-to-get-an-xml-file-from-a-web-page-without-own-development

Our PI system is Linux system.

The Shell script is as follows

wget -O <filename> <URL>

The script is placed in the al11 directories in PI. We are doing a trigger from SAP and then placing the dummy file in a path and have configured the file adapter to execute the OS command after message processing.

Below is the path given in Run OS command after message processing.

/usr/sap/cxfer/script/URLExtract.sh

When we are trying to execute the Script from linux physical system, the XML is getting generated. But while running, the PI interface, the XML is not generated. Please help on the same.

Thanks,

Pavithra

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question