proxy

Maintain order of messages via proxies to app servers

Hi, I am receiving messages from a 3rd party via a http post, and it is important that the order the messages hit our infrastructure is maintained through the load balancers and proxies until it hits our application server. Quick Diagram. (proxies in place due to security requirements.) [ACE load balancer] -> [2 proxies] -> [Applicati...

Is there wsdl to ruby proxy code generators for savon or handsoap gems?

Based on their design philosophy, it sounds like they want gem users to hand code ruby proxy classes. I still feel that they could have provided generators. Any suggestions on how to generate maintainable ruby proxy classes for savon or handsoap? ...

How to setup Lighttpd as a proxy for cross-site requests?

I want to setup my lighttpd server to proxy some requests (for ex. RSS requests) to other domains so i can fetch data using javascript. For example i'd like to fetch Atmo feed from internal Redmine (say http://code.internal.acme) to developer dashboard (say http://dashboard.internal.acme). I'd like to fetch it using JavaScript but i cant...

C++/CLI HTTP Proxy problems...

Hi, I'm trying(very hard) to make a small HTTP Proxy server which I can use to save all communications to a file. Seeing as I dont really have any experience in the area, I used a class from codeproject.com and some associated code to get started (It was made in the old CLI syntax, so I converted it). I couldn't get it working, so I adde...

hibernate proxy ..

load() just returns a proxy by default and database won’t be hit until the proxy is first invoked. what does it mean by proxy exactly here ? ...

Suppress the HTTP_X_FORWARDED_FOR http header, c# .net C++

I'm writing an application in C# that uses proxies. The proxies are sending the HTTP_X_FORWARDED_FOR during HTTP requests, and this is unwanted behavior. I am extending the Interop.SHDocVw axWebBrowser (aka Internet Explorer) control right now, but can take another approach if needed for this problem. Is there some way to suppress thi...

How can I get the invocation handler for a Java proxy?

Given: Object innerProxy = ... Object proxy = java.lang.reflect.Proxy. newProxyInstance(Thread.currentThread().getContextClassLoader(), new Class[]{type}, innerProxy); How can I extract the innerProxy object from proxy? ...

Not disposing of a WCF proxy?

I have a WCF service which is a singleton and which manages a collection of proxies to another WCF service which is session-based. The singleton creates a new proxy and passes it some work to do, and the session-based service makes calls back to the singleton service when certain activities complete (pretty much all of the OperationContr...

What could trigger a change of http status to 500 on the client's end?

We have a PHP web application that posts data to itself, and either displays an updated page based on that data, or redirects to another page. An example of this is a script with a paged list on it, where clicking on the Next link causes a post to the same page, which then returns an updated version of the page showing the new set of lis...

How to validate a bunch of proxies against a URL?

I have a list of 100 proxies. The URL I am interested in is abc.com. I want to check the number of proxies which can successfully fetch this URL and the time taken for the same. I am hoping I made sense. I am a Python noob. I am looking for a code snippet. A helping hand is really appreciated :) Proxies : 200.43.54.212 200.43.54.212 20...

HTML form submits and the hostname changes to IP address

I am facing a peculiar problem. The problem is, my webapp is being installed behind a proxy. The request gets submitted to the proxy which forwards the request to the original host that is running the websphere web application. The problem I am facing is, when I access the webapp, its URL looks like the below http://www.myproxy.com L...

Running ASP.NET MVC application behind a proxy with different root relative path

I'm having trouble with paths in a ASP.NET MVC application that's running behind a proxy. Our IIS Application root path is for example http://server/MyApp/ meaning that all urls using the application root ("~/",Url.Action("MyAction","MyController")) are resolved to "/MyApp" Now we're running behind a proxy server that forwards all req...

Implemening a web proxy

I am working on an application where i need to intercept user requests.Its like that user accesses other web pages through my application.I have set up apache as the proxy server.The behavior i expect is same as if i turn on proxy on firefox and point it to my proxy server.Can it be done using javascript or flash.Any pointers would be ap...

Browser security when calling HTTP assets via a SWF on a HTTPS site

We have a site that runs on HTTPS and needs to pull in various JS assets to run a video player on the page. We get a browser security warning on this page because the JS files we are externally calling are being accessed via HTTP, not HTTPS. E.g. // HTTP reference on a HTTPS site <script src="http://the-cdn.tld/player.js"&gt;&lt;/script...

Python SOAP web-service client access through authenticated proxy, How?

Hi, I've been trying to write a Python client to access a SOAP webservice through our companys authenticated proxy server using the SUDS lib. The proxy uses basic username:password authentication not NTLM and I have been able to get basic downloads working through it using URLLIB2 like this: passmanager = urllib2.HTTPPasswordMgrWithDef...

Is there a proxy server/apache module I can install that will convert an XML SOAP response to JSON?

I'm connecting to a remote web service which I'd prefer to call with ajax and the service (FedEx Services API) doesn't appear to support JSON formatted responses. Is there a proxy server/apache that will convert the response from XML/SOAP into JSON so my Javascript can easily use it? ...

Using the Proxy pattern with C++ iterators

Hello everyone :) I've got a moderately complex iterator written which wraps the FindXFile apis on Win32. (See previous question) In order to avoid the overhead of constructing an object that essentially duplicates the work of the WIN32_FIND_DATAW structure, I have a proxy object which simply acts as a sort of const reference to the sin...

eclipse update through proxy with jre 6.0

When doing plug-in updates, I was able to get through my proxy with eclipse using jre 1.4.1. jre 6.0 gives me the error "Malformed reply from SOCKS server" any thoughts? ...

Subdomain under Apache to proxy into Tomcat

I'm having trouble with making a subdomain to my Windows computer while using AJP to proxy to Tomcat. This is what I have in my httpd.conf file: <VirtualHost *:80> ServerName subdomain.localhost ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / ajp://localhost:8009/folde...

Building "isolated" and "automatically updated" caches (java.util.List) in Java.

FOR ANYONE INTERESTED: I have implemented the code for the behaviour I am looking for and open-sourced it on google-code. Get it here! pojo-mvcc -- Hi Guys, I am trying to write a framework which contains a lot of short-lived caches created from a long-living cache. These short-lived caches need to be able to return their entier conte...