Question

1
Replies
699
Views
Close popover
Sunil Kumar P (KumarSP1)
Ness Technologies

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

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();

config.setProxy("phxappgwe2-vip.phx.aexp.com","9090");

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,
Close popover 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.