I have a WCF service hosted as a Windows Service. The server hosting it is running IIS6.
Every so often clients report a 503 Service Unavailable error. I can't see any problems on the server side: I can see the logging I expect from the service itself, there are no entries in the Application or System event logs.
The clients retry and...
Hi,
I have 2 WPF projects in 1 solution. Every of those projects have different service references. First project it's a window to login, second is a main window with app. It must be in separated projects, don't ask why.
So, I do main window reference in login project and create main window object when login data is corect. Here sample ...
I have two applications --> App1 and App2. App1 opens App2 by passsing some command line arguments using System.Diagnostic.Process(). The user now accesses App2.
However, when the user changes some command arguments in App1, I need to open the existing aplication (App2) without closing it using the new parameters.
How can I do this?
A...
I am trying to consume a java web service from .NET.
When I add service reference to generate proxy and run the programme i get the error below
The formatter threw an exception while
trying to deserialize the message:
There was an error while trying to
deserialize parameter
http://order.x.service.y.com:requestPayment.
App...
I have a huge problem getting services references in VS2010 RC to use existing assemblies.
Even though I have a class library with all the data contracts (classes marked with DataContract and properties with DataMember) that is shared between the service project and the consuming project (which is a class library), when I add a service...
I have a WCF service project, and try to host it with IIS.
In visual studio 2008, I right mouse click the project, and use the command "Publish"
It publish to the directory I pointed to, but it puts the binary dlls in directory
bin\release or bin\debug
And I try to browse the svc, and it gives me the error message:
The type 'xxxxxxxxxx...
Hi,
I have an application which will use WCF to serve up various chunks of data to clients. However, due to the size of some of the sets of data that will be returned (and that's because the client app needs to show a large number of objects in a list, not because I've just been lazy in the design) I'm hitting the message size limits.
...
I want to flex connect to a WCF with RTMP. is there an abillity to create RTMP custom binding in WCF?
...
I write applications for web farms and I wanted to create a simple peer network between server applications so they could pass messages to each other. For example, to coordinate when dropping cache items, or to increment a shared counter to have a better shared view of a crucial statistic.
But apparently this isn't possible. I had pee...
Hi,
I have somewhat unconventional use of exceptions in my app. If an exception happens in the method, I pass it as a part of the result object, smth like this:
pubic class MethodResponse
{
public List<Exception> Errors {get; set;}
public int SomeResult {get; set;}
}
Now, I'm separating Business layer and UI layer using WCF, and ...
In our layered application, we are accessing database via WCF calls. We are creating and disposing contexts per request. Also we are using POCO approach.
My question is, in pure POCO model (completely persistent ignorant POCOs) is it possible to track the changes, while we are creating and disposing context per request (as previous conte...
I'm using wsHttpBinding with TransportWithMessageCredential, message clientCredentialType="UserName"
Trying to configure my service client to work against my public deployed address, I tested first by changing to "localhost", since localhost is the same IIS instance, just going through loopback instead of my PC's hostname. With loopback...
Hi there,
I have WCF method like so:
public string GetSomething(MyObject obj)
{
return "Something";
}
When I call this from my silverlight app I get an error:
System.Net.WebException: The remote server returned an error: NotFound.....
I call the method from my silverlight app like so:
mProxy.GetSomething...
hello,
i'm creating an Asynchronous socket programming in vb.net. i've utilised the code from Asynchronous client and server code frtom the following links:
http://msdn.microsoft.com/en-us/library/fx6588te.aspx for server program
The client program is present in the same link in /bew39x2a.aspx(sorry i'm a new user so could post only on...
Greetings,
I am developing some appliacation in WPF. Client is written in WPF, service in WCF. There is a case when client looses connection to the server (because of the internet issues). Then he have the following error:
"The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it...
We are trying to consume WCF service which returns employee details in JSON Format.
like:
{"d":[{"_type":"Employee:#","BigThumbNailURI":null,"ID":1,"Name":"E1"},{"_type":"Employee:#","BigThumbNailURI":null,"ID":2,"Name":"E1"}]}
From VB.net code behind when I am trying to deserialize it it's stating that
"Expecting state 'Element'.. E...
Got a simple WCF demo app that has two console projects--host and client. Both are running on my machine (win 7 box). I'm using the netTcpBinding, which uses windows authentication.
The issue is that authentication is downgrading to NTLM from kerberos, and I can't figure out why.
If I use
<clientCredentials>
<windows all...
The old version of the WCF was delivering according to the old version of the interface
<endpoint name="ServiceName" address="http://production.server/Service.svc"
binding="basicHttpBinding" bindingConfiguration="myBasicHttpBinding"
contract="myAPI.IOriginalService" />
with the new version delivering
<endpoint name="ServiceName...
I have a business logic tier I work with that requires configuration based on a custom configuration file. When using this tier within a web or windows application, I initialize the business logic tier within application startup, passing in the path to the configuration file which is configured in app.config or web.config.
I'm now tryin...
**
Hi all,
I develop a wcf service which works in several pc connected with a network, i want to to make all clients connect to the server through internet, how can it be done?
thanks in advance.
**
...