Skip to Content

Download file (currency exchange rates) from url is not working with AXIS

Hi ,

I have scenario like: download file from url : http://<xxxxxxx>.com (which is having currency exchange rates) and place it on a folder.

I tried using AXIS with HttpGetter Handler, but it is failing with error : 'error during receive: java.net.SocketTimeoutException: Read timed out'

I tried the same scenario with below approach and its working.

successful Approach:

----------------------------------------------

1st scenario: File (dummy) to File (dummy).

On Receiver file adapter written a script with command : 'wget http://www.<url>.com'.

After I get file, I placed on a PI folder.

2nd scenario:

file to SAP

Picked the above file and sent to SAP.

-------------------------------------------------

But I need to try this using AXIS way.My config screen is below.

Please help.

Capture.JPG (104.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Aug 17, 2015 at 08:20 AM

    Hi SP,

    Please check and use the Https:// XXXXXXXXXX or remove the http:// and use from www.XXXXX

    Regards

    Srinivas

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 17, 2015 at 08:57 AM

    Hi Srinu,

    PLease check your configuration according Michal's PI tips: Exchange Rates from an XML file on a web page - REST, AXIS also let you know there is an standard program in SAP to do it directly from ECB:Update Foriegn Exchange Rates from Internet on daily basis

    cheers,

    Roberto.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member sp md

      Please re-check your "Task Class" in the CC, is wrong:

      Wrong Task Class = "com.sap.aii.adapter.axis.ra.transport.http.HTTPGetter"

      Working Task Class = "com.sap.aii.axis.transport.http.HTTPGetter"

  • avatar image
    Former Member
    Aug 17, 2015 at 09:17 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 07, 2015 at 07:29 AM

    Hi,

    How did u get ur problem solved?

    I am stuck at the same SOAP AXis channel. My channel is Green and in started mode but its not polling anything.

    Also, if possible can u give me details about ur first approach.

    "successful Approach:

    ----------------------------------------------

    1st scenario: File (dummy) to File (dummy).

    On Receiver file adapter written a script with command : 'wget http://www.<url>.com'.

    After I get file, I placed on a PI folder.

    2nd scenario:

    file to SAP

    Picked the above file and sent to SAP."

    Thanks

    Neha

    Add comment
    10|10000 characters needed characters exceeded