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-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.