A proxy class is a class functioning as an interface to another class or a service. Proxy classes are implementation of Proxy design pattern. These classes help using large objects or other resources that are expensive or impossible to duplicate.
Questions tagged [proxy-classes]
342 questions
0
votes
1 answer
Consume same WCF Service from multiple projects in solution
Situation:
I have a solution of multiple projects:
Executable App #1
Executable App #2
WCF Project
Shared Project
"Other" Project
...
Now I need to consume the WCF service in my executable app #1.
E.g. to retrieve information about a user from a…

Stefan Over
- 5,851
- 2
- 35
- 61
0
votes
1 answer
Problem creating proxy class with wsdl.exe
I need to create a .net client which consumes a webservice from a SAP CRM application. I just got the WSDL file. But when I try to create a proxy class with wsdl.exe I get a warning that no classes are generated. What am I doing wrong?
There is the…

nWorx
- 2,145
- 16
- 37
0
votes
2 answers
Change WebService Proxy URL in Visual Studio .NET 2008
I've created a WebService Proxy from a given URL, but at runtime a need to change this URL depending of some conditions.
How to do it?
I've searched on the web and founded that I should change the "Url" property. But, some how, this property isn't…

Daniel Silveira
- 41,125
- 36
- 100
- 121
0
votes
2 answers
Expose type of DLL from web service
I have a Web Service which uses a specific type from a DLL that we have. So for example our Web Service solution in Visual Studio looks like this:
Solution
ACMEWebService (proj)
Utils (proj)
Then i have WebMethod in my ACMEWebService which…

Vivendi
- 20,047
- 25
- 121
- 196
0
votes
1 answer
Custom attributes with Service Reference proxy
I added a custom attribute to an enum that I was using as part of a web service. When I add the web service as a service reference to a win forms application the custom attributes do not appear in the service reference proxy objects although the…
user171701
0
votes
1 answer
Open SOCKS Client with Java
Is it possible trough Java programming connect to a SOCKS server in the same way that Hummingbird software makes?
I would like to create my own and free version of a java SOCKS client in order to 'socksify' any application that I use in my OS.
How…

Fernando Martinez
- 197
- 1
- 2
- 12
0
votes
1 answer
Building an active(smart) proxy
After a deep search on the internet I found Smiley's HTTP Proxy Servlet decent to handle proxy request.
It is small and composed of a single class.
My question is, can I use this proxy as an active proxy, ie. When before fetching the target host, I…

aBhijit
- 5,261
- 10
- 36
- 56
0
votes
1 answer
How to consume different proxyclass versions (production or test) of ASMX webservice
I've got an ASMX webservice as a separate project in Visual Studio 2005. In pursuit of "assembly separation" per a CODE Magazine tutorial, my proxy class is in a separate class library project containing no code of mine - just a web reference named…

John Adams
- 4,773
- 25
- 91
- 131
0
votes
1 answer
Return a proxy around List
I currently am writing this function:
public WebElementList findWebElementList(final By by){
return new WebElementList((List) Proxy.newProxyInstance(this.getClass().getClassLoader(), new Class>[] { List.class }, new…

Nathan Merrill
- 7,648
- 5
- 37
- 56
0
votes
1 answer
Inner Proxies with Selenium
Preface: While this question includes a lot of WebDriver terminology, it's really a Java proxies question, which I am still trying to wrap my head around. If you don't understand WebDriver, skip down, and I'll post a simplified problem
I currently…

Nathan Merrill
- 7,648
- 5
- 37
- 56
0
votes
1 answer
Printing arguments sent to forwardInvocation: subclass of NSProxy
I want to intercept messages sent to a proxy object by just printing the selector and arguments. Even if the proxy does not implement them and does not have a target object. Please help. I have looked at several options and Apple docs but they…

user200654
- 131
- 1
- 6
0
votes
1 answer
Can the Proxy pattern accommodate template functions?
I have a class with a template function:
Foo.h:
class Foo {
public:
int some_function();
bool some_other_function(int a, const Bar& b) const;
template
int some_template_function(const T& arg);
};
template

Ziv
- 2,369
- 3
- 24
- 40
0
votes
0 answers
Proxy button for asp:Button and anchor with target blank - solution for file download?
I have a
In the OnFoo event handler, I want to make a normal postback on the server (update database and rerender the UI) and at the same time I want to download a PDF…

theSpyCry
- 12,073
- 28
- 96
- 152
0
votes
2 answers
How to create a wrapper for a large interface
I want to create a wrapper that traps a particular exception and retries for all methods in a large (100+ methods) interface. I have the retry code working no worries, but I can't figure out how to hook up an implementation of the interface without…

Michael Rutherfurd
- 13,815
- 5
- 29
- 40
0
votes
1 answer
Proxy for simpleType not generated
I create a service reference in VS by right clicking "Service References" and entering a URL that contains the wsdl.
It kind of works but the property AddRobinsonEntryRequest.subscriberEmails is created as string. It should be an array of type…

Mathias F
- 15,906
- 22
- 89
- 159