Close popover
Sunil Kumar P (KumarSP1)
Ness Technologies

Ness Technologies
KumarSP1 Member since 2015 27 posts
Ness Technologies
Posted: May 5, 2016
Last activity: May 5, 2016

How to set up proxy for the REST Connector

I know how to configure for HTTP Connector (below are the changes I did) but I am not getting for the REST Connector.Please help me.

For HTTP Connector:

I updated the jave code something like below(for HHTP connector with below code I was able to set the proxy)

In OTB Activity InvokeHTTPConnector-> step 3 Java code(adding below code in line 231)

client = new com.pega.apache.commons.httpclient.HttpClient();

com.pega.apache.commons.httpclient.HostConfiguration config = client.getHostConfiguration();


But for the REST connector on the same lines need to modify Java code for the Activity "pyInvokeRestConnector". This OTB Activity has 6 java steps.I need to know where in these steps I need to update this setting proxy code.

Can you please suggest and help me

Message was edited by: Sunil Kumar

Message was edited by: Marissa Rogers - Added Category, moved from Mesh Help

Data Integration
Moderation Team has archived post