Any ideas how to fix this?
UserService.UserServiceClient userServiceClient = new UserServiceClient();
userServiceClient.GetUsersCompleted += new EventHandler<GetUsersCompletedEventArgs>(userServiceClient_GetUsersCompleted);
userServiceClient.GetUsersAsync(searchString);
.
<system.serviceModel>
<bindings >
<b...
i have a rails app must consume wcf services provided by asp.net, are there any ruby clients for wcf?
...
I create a service that is host on a server that have .Net 3.5 installed and I need to call this service from a client that only have .Net 2.0 installed
Is there a way I can do this ?
I'm using c#
...
I am not the gratest when it comes to implementing UX. I looked around on the internet for an implementation of a nested gridview or nested reapeater control. Most of the demos used an sql datasource object. Nowadays I dont see anyone using an sqldatasource. In my scenario I will be using Object Datasource or would be databinding manuall...
Stackoverflow is definetly the fastest forum so after posting this question in the WCF forum I decided to come here.
I have a wcf service which returns a dictionary (IDictionary) and that works just fine. Now I wanted to add the capability of calling that service in async mode, but when the BeginMethod gets executed I get the following ...
Consider the following interface:
public interface IMyCallback
{
void SomeEvent(int someArg);
}
which is the contract for a WCF callback that will be receiving "events" from a WCF service. My implementation for this interface looks like this
public class MyCallback : IMyCallback
{
void IMyCallback.SomeEvent(int someArg)
{
O...
I'm rather new to the WCF/IIS/MS web stack corner of the world so I'm hoping for some help evaluating my design.
What I need is a system that presents a number of resources as URIs. Each resource is a WCF web service providing a number of read and write operations. I need to provide username/password security for different resources.
...
So I want to get some data on the server side using OracleClient.
Something like OracleDataReader rdr = OracleDataAccess.ExecuteReader(Conn, sQry);
What is the best way to deliver this data to Silverlight?
I set up a web service I just don't know the best data structure to package the result set.
The silverlight CLR can not use the Or...
Hi there, I've run into a problem. I'm a little new at WCF so any help would be greatly appreaciated.
Here's my code:
public static void StartHosts()
{
try
{
// Create a new host
ServiceHost host = new ServiceHost(typeof(ServerTasks));
List<IPAddress> ips = new List<IPAddress>(Dn...
I would like to start using the WCF Rest Starter Kit's HttpClient to build clients for my Restful WCF services and I was wondering...
If anyone is currently experience
any problems with it
Can I be confident that future versions of
the component (just the HttpClient,
not worried about the rest of the
kit) will not contain significant ...
Hi,
I need to generate a WCF proxy for a service exposed by our client. The service is locked down pretty tightly, so this is proving difficult. Also, I'm new to WCF, so I may be missing something obvious...
The client has only opened up their firewall to our production server - so I can't generate the proxy from Visual Studio on my d...
If you have
interface IServiceA
{
string GetString();
}
Is there a way to share this interface beween the WCF web service project and a silverlight project.
The problem, both use different versions of System.ServiceModel
I DON'T want to generate and use proxies.
...
Hello,
I use MSMQ through WCF to store messages in private queue.
(private queue hosted by Windows Server 2003).
Messages are stored only for 24 hours and automatically removed from queue, somebody know why ?
Thank's for your help
...
I have a client-server application, in which the client communicates with the server using WCF (WCF is used both in the client and the server).
My problem is, that instantiating the auto-generated proxy in the client, in the following way:
new Service1Client() takes constantly 15.xxx seconds.
I tried to solve this problem, and came to t...
I want to have an operation contract that returns an interface.
My problems:
1) I want to register dynamically with the service the known type that will be returned, or to have WCF accept the type. I noticed that unless it is a known type marked by attribute or in a static method of the service, the method will fail.
2) I want on the...
WAS Features
Application Pooling
Recycling
Idle time management
Identity Management
Isolation
Sounds a lot like COM+ but hosted in IIS 7. Anybody out there using this technology and am I correct comparing the two?
...
I originally defined in my MessageContract a collection of SQLParameters in order to create a simple stored procedure execution through a WCF service. Apparently, SQLParameter is not serializable, so I need some advice on how to proceed here.
Is it possible to still somehow use SQLParameter as part of my WCF contract, or I have to do so...
Hi,
What are the important configuration points needed to enable a scenario where a WCF service can be called with
either
the logged-on-users windows credentials
or
a username/password combination.
I'm pretty sure I know how to set them up, but what I don't know is how I can force usage of the username/password endpoint.
Is it sim...
We are experimenting with hosting a silverlight application on Amazons EC2.
I can get it to serve up the .xap file, but I'm having some trouble with using the webservices that the silverlight application requires.
Usually I would add a service reference in visual studio and enter the URL for the webservice, something like http://url.co...
I'm trying to construct a WCF client object using a run time URI string. This seems simple enough but I'm running out of thing to try that don't seem like "the wrong way to do it".
The original code is this:
IPrototype p = new prototype.PrototypeClient();
and I was sort of expecting it to work something like this.
string uri = GetM...