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
2
votes
1 answer
WCF service with 4 input parms and 3 out parms gets reordered by Add Service Reference in Proxy Class Project
I've looked in SO and elsewhere and seen questions posed about this along with some answers that still make no sense to me in my case.
I'm refactoring my working VStudio 2010 solution which has:
one project with an ASMX webservice
another separate…

John Adams
- 4,773
- 25
- 91
- 131
2
votes
1 answer
Flex Strongly Typed Proxy Classes for Lazy Instantiation
Does anyone know of a framework, preferably some way to have the Flex compiler run an extension or perhaps just a build step that we could generate strongly typed proxy classes of our application's data models.
There are 2 main things we want to do…

Dougnukem
- 14,709
- 24
- 89
- 130
2
votes
1 answer
wsimport forgets one proxy class
I use wsimport to generate the proxy classes from the WSDL file. Class A gets generated, but the class B which corresponds to the A's parameter for its constructor - not.
What could be the reason for that? Thx.
Here is the WSDL:

azerIO
- 519
- 1
- 9
- 19
2
votes
1 answer
How do you stop a Visual Studio generated web service proxy class from encoding?
I'm using a Visual Studio generated proxy class to access a web service (added the web service as a web reference to my project). The problem is that the function the web service exposes expects a CDATA element,…

Kevin Pang
- 41,172
- 38
- 121
- 173
2
votes
3 answers
accessing a website through a proxy using Net::HTTP proxy in ruby
I'm trying to access a QA environment website using Net::HTTP::Proxy to get the response.But I keep getting a SocketError whenever I try to connect. Please find the code snippet that I'm trying to use.
proxy_addr =…

ruby tester
- 21
- 1
- 3
2
votes
1 answer
Web service not handling multiple simultaneous request from same application with proxy class
I have an application scheduling multiple tasks which are calling different web services, some the same web service but different method. Each task is executed in an interval and each task is running in its own thread. To obtain reference to the…

user752083
- 35
- 1
- 6
2
votes
3 answers
how to obtain an unproxied and EAGER fetched object in Hibernate?
I want to load an objet and forget that it comes from hibernate! That's it, I just do something as:
MyClass myObject = MyClassDAO.getUnproxiedObject(objectID);
and than I have a real instance of myObj (and not from a Hibernate proxy) with all…

Saul Berardo
- 2,610
- 3
- 20
- 24
2
votes
2 answers
Method parameter is missing in WCF proxy class
I have a WCF method defined as below:
[OperationContract]
Message GetSourceData(SourceDataQuery sourceDataQuery);
And actual implementation is something like this:
public Message GetSourceData(SourceDataQuery sourceDataQuery)
{
…

Otake
- 874
- 3
- 8
- 21
2
votes
3 answers
Passing __call() parameters by reference fails. Any work around?
I have written a fairly simple lazy loading proxy class, which I have documented in the past over at http://blog.simonholywell.com/post/2072272471/logging-global-php-objects-lazy-loading-proxy
Now as I convert another project to work with it I have…

Treffynnon
- 21,365
- 6
- 65
- 98
2
votes
1 answer
Proxy object for lazy initialization
Are there any ready-to-use Python module that provides an easy to use proxy object that only initializes the "real" object when really needed?
Ideally I'm looking for a transparent implementation so that code dealing with this proxy object does not…

Rodrigo Oliveira
- 1,452
- 4
- 19
- 36
2
votes
1 answer
Exceptions from SoapHttpClientProtocol.Invoke Method .NET web service
I am calling a web service from a C# forms based app.
ServReturnType obj = ServProxyClass(int i, int k);
I have the potential to get back an exception. The exception could be that the service didn't connect at all, that there was a failure on the…

Anthony D
- 10,877
- 11
- 46
- 67
2
votes
0 answers
How do I sub-class a SeeSaw panel in Clojure?
I want to make a custom panel (12 checkboxes in a row) with functions to get/set. I'm pretty new to proxy and the seesaw grid-panel already is a proxy so how do I add (sub-class) my own constructor and other functions?
To be more specific, I want to…

Kingfranz
- 184
- 1
- 12
2
votes
3 answers
.NET web service without proxy class
I'm trying to create an application that will let me execute a method specified at runtime on an arbitrary webservice (the URL of which I'll also provide at runtime). I've figured out how to use Type.InvokeMember to execute the arbitrary method,…

azollman
- 211
- 6
- 15
2
votes
1 answer
Creating immutable view of object using Proxy classes
I'm newest at using Proxy classes. I need to create fabric method of immutable view for my object (MusicalInstrument.class)
View must throw an Exception when i'm trying to invoke setter and invoking of other methods must transfer to my object.
Maybe…

Serg Shapoval
- 707
- 1
- 11
- 39
2
votes
2 answers
How to add source files generated in target folder as library in Intellij Idea
I'm trying to checkout a maven project from SubVersion. In the pom.xml file it's specified to generate web service proxy classes in the target folder. Here's the concerned part of the pom.xml file:
…

Mikayil Abdullayev
- 12,117
- 26
- 122
- 206