cancel
Showing results for 
Search instead for 
Did you mean: 

IPRA: Call a webservice via Destination with proxy type OnPremise

aii-nloeb
Explorer
0 Kudos

Hello Together (@chaitanyapriya.puvvada),

my purpose is to use an OData Service on S/4HANA OnPremise System. Our configuration is based on Connections in BTP-Cockpit. Proxy Type „OnPremise“. My Standard System URL is added as a Connection to IPRA.

I loaded the „How to Web Service“ from IPRA Store. Followed some Developer Tutorials (https://developers.sap.com/group.btp-spa-destinations.html). All Tests ends with Error Message „ECONNRESET“. I realized now, that this described example is setup with Proxy Type „Internet“.


Well, in Process Automation Community I found Video with Integration Suite. (https://youtu.be/GJ9c4vGI28M). Currently not in our scope as Alternative.

How can I use Cloud Connector and OnPremise Connections?

Best regards

Nico

Accepted Solutions (0)

Answers (8)

Answers (8)

aii-nloeb
Explorer

The final answer from SAP Development Team is:
A web call with destination of Proxy Type "OnPremise" is not supported.

alichtenau
Advisor
Advisor
0 Kudos

I think then the documentation has to be changed.
An what is the official solution?

aii-nloeb
Explorer

In context of my incident I had to test the configuration via proxy type "Internet". This technical setup was working but only with additional VPN-Tunnel to Intranet - My case is now forwarded to development. Will see what happens

alichtenau
Advisor
Advisor
0 Kudos
aii-nloeb
Explorer

Well, yes that's the main comment from development team. -> Use type "Internet"
Let's have a look at this diagramm. It shows one possibility to esablish access to a hybrid environemtn with classic s4hana on premise system. Place the agent within company network.

s4hana-cloud-architecture-diagram.png
alichtenau
Advisor
Advisor
0 Kudos

Interesting ... today I updated my Desktop Agent and SDK and now my error changed from:

"Error: Cannot read property ‘destinationConfiguration’ of undefined."

to

"Error: getaddrinfo ENOTFOUND"

So, we are in the same boat I think.

aii-nloeb
Explorer
0 Kudos

Hello Andreas,

well, that's not a good news that we sailing in same boat now.
Let's check - my agent version: 2.0.28.40 and my IPRA Core (SDK) 1.29.42

Do you remember the details of your previous setup where proxy type "OnPremise" was running.
What are your current versions?

I would like to open an incident.

Thanks
Nico

alichtenau
Advisor
Advisor
0 Kudos

Hi Nico!

It never worked on my side, as I run into another issue in the past, which now changed to your issue.
In the past I had 2.0.23er agent and 1.24 or 1.25 SDK... the issue was: "Error: Cannot read property ‘destinationConfiguration’ of undefined."

Maybe you can report an issue on component CA-ML-IPA as well.

Best regards,
Andreas

aii-nloeb
Explorer

I will now open an incident.

Former Member
0 Kudos

Hi Nico,

Did you get resolution for this error?

I am getting error getaddrinfo ENOTFOUND in Call web service with destination.

Regards,

Bhagya

aii-nloeb
Explorer

Well, I got feedback from Development Team.
Proxy Type: OnPremise

-> Not supported.

A webservice request to a classic OnPremise system must be with type "Internet".
Additionally, the agent must within company network as shown in picture.

alichtenau
Advisor
Advisor
0 Kudos

Appreciate the information and efforts nloeblich 🙂 Danke! 🙂

aii-nloeb
Explorer
0 Kudos

Destination check

aii-nloeb
Explorer
0 Kudos

I added follow Properties:

  • HTML5.PreserveHostHeader = true
  • HTML5.SetXForwardedHeaders = true
  • HTML5.Timeout = 120000

Now my error message turns from "ECONNRESET" to ""errorCode": "ENOTFOUND".

aii-nloeb
Explorer
0 Kudos

Hello Andreas,

well, my destinaton has your recommended additional properties. I made a copy from our workflow management where I used this connection to post a request. Of course property sap.processautomation.enabled = true is added for IPRA.

I attached my error situation with test information.

Best regards
Nico

alichtenau
Advisor
Advisor
0 Kudos

Hi Nico,

"OnPremise" should be fine. If you click on "check connection" in "Destionation Configuration", then you get a green traffic light?

alichtenau
Advisor
Advisor
0 Kudos

Hi Nico,
I have a similar setup running, but I wonder, did you set below parameter according to this documentation:

Configure Destinations | SAP Help Portal

  • WebIDEEnabled = true
  • HTML5.DynamicDestination = true

Best regards,
Andreas