cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
652
Views
0
Helpful
2
Replies

Accessing internet/cloud web services

lohjintiam
Level 4
Level 4

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-

1 Accepted Solution

Accepted Solutions

ptindall
Cisco Employee
Cisco Employee

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.

https://cisco.box.com/v/cvp-voicepin

View solution in original post

2 Replies 2

ptindall
Cisco Employee
Cisco Employee

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.

https://cisco.box.com/v/cvp-voicepin

Ron Nelson
Level 5
Level 5

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: