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
Posted: 5 May 2016 3:47 EDT
Last activity: 5 May 2016 13:11 EDT

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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.