Question

1
Replies
642
Views
KumarSP1 Member since 2015 27 posts
Ness Technologies
Posted: 4 years ago
Last activity: 4 years 4 months ago
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
Share this page LinkedIn