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
3 answers
What is the meaning of generating a proxy for a web service ?( .NET in specific)
What does it mean to generate a new proxy for the Web service?
What is proxy?
I already added web service url into web references.
What is disco, wsdl and asmx file?

Novice Developer
- 4,489
- 11
- 39
- 42
2
votes
1 answer
Can I generate proxy objects for WCF service library using scriptmanager?
I have used the AJAX Enabled WCF Service template from within a web application. By adding a Service reference to the scriptmanager, some client objects are generated allowing me to easily consume the service. My question is can I do anything like…

Hcabnettek
- 12,678
- 38
- 124
- 190
2
votes
1 answer
Get entity proxy in Doctrine2
I have an entity Dog with OneToOne relation to Collar.
Say I create a new Dog entity and I have the Collar id I want to relate to it. Not the Collar object itself, only it's id number.
$collar = 12;
$dog = new Dog();
$dog->setCollar(?);
Do I need…

tamir
- 3,207
- 2
- 33
- 51
2
votes
2 answers
proxy server in java
i have the follwoing code of proxy server. IS if the right approach? Will this be able to handel load/trafffic if deployed comerially??
package proxyserver;
import com.sun.corba.se.spi.activation.Server;
import java.net.* ;
import java.io.*…
None
1
vote
1 answer
Retrieve Interface Class of a Proxy Invocation Object in Java
I have an Interface whose implementation is deciding at Runtime and is given a Proxy Object as its dynamic implementation. I want to retrieve the Interface which this proxy object implements to know the methods in the interface. Is there any way I…

Abhishek
- 1,031
- 4
- 16
- 25
1
vote
1 answer
How to consume JavaScript classes generated by WSDL utility?
I generated classes in JavaScript from a WSDL by using Visual Studio's WSDL utility.
wsdl /o:SomeClasses.js /l:js https://SomeCompany.com/SomeService?WSDL
The output contains classes (in JavaScript) that look like this:
public…

Mark Maslar
- 1,121
- 4
- 16
- 28
1
vote
0 answers
Error consuming a WCF service in a windows service
I have a WCF service which is consumed by multiple applications. I am able to consume the WCF service in a Silverlight application. But when I try to consume the WCF service in a windows service application, it does not work.
Specifically, the error…

Nazia
- 27
- 1
- 4
1
vote
1 answer
Proxying an array type
I'm writing new TFS-related tasks in the MSBuild Community Task project.
How do I proxy an array type? The CheckIn function exposed in the TFS assembly expects an array of PendingChange objects i.e.: "PendingChange[]".
Now, I've proxied the…

cnepveu
- 43
- 4
1
vote
1 answer
Exposing WCF metadata on a SiteMinder protected site
This might be a really stupid question, but I've been unable to figure out a solution.
I have a WCF service hosted on a site that uses SiteMinder authentication. The authentication relies on a cookie in the client request.The problem is that when I…

Emil D
- 1,864
- 4
- 23
- 40
1
vote
1 answer
Proxy model django from package
I have a problem in my code
from mailbox import Message
from django.db import models
from django.conf import settings
class MyMessage(Message):
class Meta:
Proxy = True
def creattask(self):
task =…

ZouhairNj
- 11
- 2
1
vote
1 answer
Reflection Proxy- Visibility from class loader problem
I'm attempting to:
1) Load an interface and implementation class from a given file location
2) Create a Proxy object with reflection that matches the interface, and directs all calls to the implementation class
This is later used for testing…

obfuscation
- 1,023
- 3
- 16
- 23
1
vote
2 answers
Server was unable to process request SalesForce Outbound Message
Everyone, I have a webservice in (ASMX) on a c# asp.net site and I am receiving outbound messages from the sales force I have more than one type of Notification one is for Accounts other is Tasks the first one is working with all the default…

Ahmad
- 315
- 4
- 14
1
vote
2 answers
Why return a proxy class even for const member function for "copy on write"?
In More Effective C++, the following codes are given
const String::CharProxy String::operator[] (int index) const
{
return CharProxy(const_cast(*this), index);
}
String::CharProxy::operator char() const
{
return…

Bowen Fu
- 165
- 8
1
vote
2 answers
Using proxy class in Biztalk
I've got a proxy class (created with WDSL).
Now i want to use this for developing a Biztalk Application.
How can i use the proxy class for sending and receiving messages. I know the process of configuring the ports with the proxy class. The only…

Active_t
- 177
- 1
- 5
- 16
1
vote
2 answers
Detailed ServiceDescription / Proxy from WSDL
I am using the classes ServiceDescription / ServiceDescriptionImporter to dynamically call web services. I'd like to dig a bit deeper into the WSDL description and get
1) Parameter info for each of the web methods
2) The actual types / composition…

Sean Thoman
- 7,429
- 6
- 56
- 103