I'm currently implementing a Silverlight application using WCF for the communication between client and server. I've heard that using WCF we're bound to use some Microsoft technology at the client side, and can't easily replace this with "anything" - at least with the default SOAP implementation of WPF.
So my questions are:
Is this...
I'm running a WCF client locally that always throws a MessageSecurityException with the text:
"An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail."
The Inner Exception Message Is:
"An error occurred when verifying security for the message"
I set up a ...
Anybody out there have experience testing "out of process assemblies"?
I'm testing some Com+ (Serviced Component) and WCF services configured to be activated out of process and I'm not sure what the best practices are for testing in these situations.
What I've done is given the public classes their own IOC container that they can buil...
I've just spend 4 hours (it's 3am in the UK) trying to debug ASP.NET application which caused an exception in a thread managed by Framework (i.e. not my thread). I've just found out that a result from the static method ChannelFactory.CreateChannel can be cast to IClientChannel and explicitly Disposed. I mean that's all fine and nice but ...
Hi SO,
I have a WCF based service that I use to expose AJAX functionality. Sometimes the service fails when I start a new debugging session (even if I make no changes to the service itself). A rebuild all fixes the issue. I never have this issue in production, just while debugging. I use IIS 7 to debug and have disabled all recycling....
Hi there,
I have a client console app talking to a WCF service and I get the following error:
"The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error."
I think it's becuase of a contract mismatch but i can't figure out why. The service runs jus...
I have the following scenario.
My server have event. Client subscribes to this event and then wait till this event will happen.
If client dies, server will know it becouse of exception it will get on firering event.
If server dies - client never knows about it an continue wait. But when server up again he will not know about client, s...
I have a set of web service methods returning a ActionResult class holding the following properties:
object returnValue
bool success
string message
the returnValue is used to hold different types of return values depending on the web methods used.
The problem I have on the client is that if a web method is returning an internal class...
hello to all
I have develop a silverlight chat application. In a single window load more than one chat windows at same time and every chat windo create a new connection to wcf duplex service. But after every 10 chat windows it disconnect from wcf and work stuck off. Im code some for throttling option but they don't work. this is my code...
We have written a restful service using WCF and are now trying to write FitNesse tests to verify the behaviour of this service.
One test is that a 404 status code is returned if a resource can not be found.
The problem is that we can not find a mechanism for consuming the service that allows us to get the status code of the incomming r...
I asked this question: http://stackoverflow.com/questions/935854/get-the-domain-name-of-a-wcf-request
Is it not possible to get the requesting domain from a WCF request? So for anonymous request that do not require authentication, how can I get the domain name?
...
Hi,
I have created a WCF routing service. This service uses basicHTTPBinding as it is external facing, needs to interoperate and the client can't work with wsHttpBinding. This service receives all incoming method calls and forwards them onto another service. This other service is internal and uses netTcpBinding.
The problem is I am get...
I am in the process of integrating our custom web app with QuickBooks Enterprise 9. My thought is that I could use QuickBooks as my "database" of sorts. When a person creates an invoice, the invoice is actually stored only in QuickBooks. When a person views a list of invoices, they are actually viewing a list of QuickBooks invoices. ...
Hello,
I'm developing an n-tier smart client application. The client part of the application is split into two tiers. An interface application and client business lib that retrieves and serves data to the interface. The data is supplied via a collection of WCF services net.tcp and http depending on the client connectivity.
My problem...
I've got an asp.net web page that is making 7 async requests to a WCF service on another service. Both boxes are clean with nothing else installed.
I've upped maxconnections in web.config to 20.
I run a single call through the system and the page returns in 800ms. The long is short of it is I think that the threadpool is being being ov...
I'm fairly new to WCF but am technically competent.
I am having trouble getting WCF to play nicely. I currently have a WSHttpBinding set up to a service and it is working when using the WCFTestClient supplied with VS2008. What I would like to do is have the service accessible within the browser.
I currently return a JSON response from ...
Greets. I realize this might be seen as a duplicate question as this but I'm getting a different error.
My IIS is setup to use SSL.
My service is setup relatively simple. Just a simple log in service.
When I try to navigate directly to the svc file on the host machine I get this error
Service cannot be activated due to an exception du...
Hi !
While making my first ajax attempts, I decided also, to go to use IIS hosted WCF now. The strange thing is, that the WCF cannot process several requests parallel for the same user/session, if sessionmode is enabled! If sessionmode is disabled on asp.net, the requests are processed parallel. The broser/client may execute several dif...
I have two related questions about Web services:
(1) I'm currently writing a set of applications, and it occurred to me that maybe I'm not using the right tool for the job. Here is the spec:
There are many Windows servers behind different VPNs and firewalls.
Each of the servers has a Windows service running, that reports various in...
Hi there,
i have some code that tries impersonate the callers windows security settings and then connect to another WCF service on a different machine
WindowsIdentity callerWindowsIdentity = ServiceSecurityContext.Current.WindowsIdentity;
using (callerWindowsIdentity.Impersonate())
{
NetTcpBinding binding = new NetTcpBinding();
...