I have a gridview that is bound to the result from an nhibernate query. If the first item in the list is edited the following exception is thrown:
System.Reflection.TargetException: Object does not match target type
It appears that the problem is caused by the fact that databinding can't deal with the first item in the list being a sub...
I'm writing a desktop application in C# and .Net 2.0 that consumes webservices and i'm making provision for the case when the app is behind a proxy server, like with the example in this question.
It's a great idea and will set my app.config the same way, but right now I want to test the connection by providing the username and password....
I have the following code that I am trying to extract the systems proxy settings from:
QList<QNetworkProxy> listOfProxies = QNetworkProxyFactory::systemProxyForQuery();
foreach ( QNetworkProxy loopItem, listOfProxies ) {
qDebug() << "proxyUsed:" << loopItem.hostName();
}
I only get one item back and with a blank host name. Any ideas...
We are developing an app that consists of a web server that hosts a web service (amongst other things) and a client that will be communicating with that web service. Both the client app and the server are expected to be used within a corporate firewall. This application will be packaged up and deployed to organizations across the world...
Hi,
I would like to code a proxy that forwards method invocations to another object over TCP without NSConnection and NSDistanceObject stuff. What I want is my own protocol.
The problem is that subclassing NSProxy and overriding forwardInvocation: is not sufficient. I have also to override methodSignatureForSelector
Here is my questio...
I am trying to us Qt to access a website and download updates, the problem is that one install base is using a Microsoft ISA proxy server which requires authentication.
Qt gives me a function to supply a username and password:
http://doc.trolltech.com/4.5/qnetworkaccessmanager.html#proxyAuthenticationRequired
However other applications...
I am using the WinInet API to get to internet files using HTTP. Everything works unless the user goes through a proxy server.
I'm using InternetOpen with INTERNET_OPEN_TYPE_PRECONFIG which is supposed to get and use the proxy info from the registry (according to the docs). Do I need to use INTERNET_OPEN_TYPE_PRECONFIG and specify the pr...
Anyone know of any examples of a TCP sockets proxy application written in Delphi? I am building a small broker application that needs to listen for socket connections on a given TCP port, read a XML data packet sent over the connection, serve the request via TCP to a server chosen from a pool of available back end servers, and deliver th...
Does anyone know of an open source database proxy where it can serve as an intermediary between a closed-source client application and either a SQL server and/or Oracle database?
...
I really like processing XML with e4x, any other method I just get confused and can't seem to get it to work. So I was thinking about maybe making a proxy in flash to use to process xml with e4x (I would use this for JavaScript and maybe PHP if I could figure out a way). Basically passing it an xml object and an e4x expression and return...
I need to serialize a proxy class. The class uses __set and __get to store values in an array. I want the serialization to look like it is just a flat object. In other words, my class looks like:
class Proxy
{
public $data = array();
public function __get($name)
{
return $data[$name]
}
}
and I want a foreach ...
Does socksProxyHost property requires an IP address
System.setProperty("socksProxyHost", preferences.getProxyHost() );
setting it like following, If i provide 127.0.0.1 i get connected to the proxy on my localhost but giving it localhost it does not connect it. I have no other machine on lan to test it so does anyone know if it works ...
How can I set the HTTP proxy programmatically, on a WCF client, without using the default proxy?
Proxies, proxies, proxies.
According to the WCF model of development, I generate client-side "proxy"
classes by running svcutil.exe on the WSDL for the service. (This also
produces a client-side config file).
In my code I new-up an ins...
I've encountered two different variations of this:
"The ServicePointManager does not support proxies of proxy scheme"
"The ServicePointManager does not support proxies of HTTPS scheme"
I get this error when a client attempts to connect to our webservices through a proxy. I've encountered this problem with a few clients using proxies, t...
Would it be possible if a user clicked on a link inside an iframe showing an outside site to have the webpage request be routed through the server that the iframe is hosted on?
Example:
Iframe on somesite.com showing google.com
User clicks a result link to someothersite.com
The request is sent through somesite.com's server and is logged...
I have a HTTP proxy running at localhost:1234. The proxy works fine for all web requests I make.
I have a server running at localhost:4567 . I want HTTP requests to my server to go through my proxy. Should be simple, right? Is there a way to make IE or any other browser do this?
...
Does anyone know of a way to intercept dynamic method calls (particularly those that are going to raise RuntimeBinderExceptions) with a RealProxy? I was hoping to catch the exception and implement 'method missing' on top of that, but it appears to be thrown before the interceptor gets a look-in.
My test just looks like:
dynamic hello =...
Hi all!
I need to create something like proxy between IIS and Apache
So hostheaders I would like to set up on IIS because it's Windows 2003 Server but I have some applications that should be hosted under Apache.
In this case I think that I should set up something like proxy...
Any ideas?
...
I want to write a program that changes the HTTP headers in my requests that are sent by my web-browser. I believe it can be done with a proxy server. So, I'd like to write a proxy server.
I study programming. How can I do this in Python?
...
(Edited to note: exact duplicate of 989739)
Could you give any suggestions or online sourses as to the matter of writing one's own client proxy-server? In particular, this proxy must be able to make one thing: replace the HTTP-headers sent by browsers with my own ones.
...