06-20-2016 01:58 AM
Hi all,
I have a customer who blocks direct access between CVP Server and the internet/cloud based web services. And requires us to use HTTP proxy in order to access the cloud based web services. What is the best approach to achieve this?
1. Setup the http proxy on the CVP server
2. Code it into the Java class of the web service integration
3. Others?
Thanks!
-JT-
Solved! Go to Solution.
06-20-2016 02:24 AM
To me the best approach is to build a custom element to access the cloud service and make the proxy settings configurable through element settings but also set the values themselves into session variables at the start of the application for easier re-use across multiple elements. If you do it at the JVM network properties level then of course you'll hit problems connecting to internal (non-proxied) destinations. There's an element example here that implements SOCKS proxy via element settings.
06-20-2016 02:24 AM
To me the best approach is to build a custom element to access the cloud service and make the proxy settings configurable through element settings but also set the values themselves into session variables at the start of the application for easier re-use across multiple elements. If you do it at the JVM network properties level then of course you'll hit problems connecting to internal (non-proxied) destinations. There's an element example here that implements SOCKS proxy via element settings.
06-21-2016 06:45 AM
This sounds like a good use case for an XML or API gateway. I especially could see this in calling webservices from something like Salesforce or getting stock quotes as good examples.
If this is setup in the XML/API gateway correctly, this just looks like a the same web service call to your java code.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide