cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Service Call from SAP PI

Former Member
0 Kudos

Hi Experts,

My Scenario comprises third party API - http call (in JAVA Mapping) and retrieve the results. (using HTTP Service Jars)

Multiple calls to the API are possible.

Whenever i run this scenario, i am ended with mapping runtime cache issue not getting updated due to System runtime through Application Runtime connection lost .

Proxy authenitication - 407 error.(system user)

What are the changes  do i need to incorporate here which doesn't change my PI HTTP System properties.

Kindly suggest. (PI Version 7.31)

Best Regards,

Suresh S

Accepted Solutions (0)

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Suresh,

The issue seems to be in the connection. Could you share the code?, have you set the proxy connection on the code?, have you checked with external tool like SOAPui?.

Check this link http://stackoverflow.com/questions/14113341/http-407-proxy-authentication-required-how-to-handle-in-...

Regards.

Former Member
0 Kudos

Hi Inaki vila,

PFB the code below.

OthBase Authbase = new Othbase();

STring finalurl = Authbase.getFinalUrl("HTTPURL,secretkey, publickey,post);

String output = (new HTTPService).getResponse(finalurl, parameters);

Could you kindly suggest

Best Regards,

Suresh S

Former Member
0 Kudos

Hi Inaki Vila,

I tried with the above option but in vain.

Still the issue persists

Best Regards,

Suresh S