wcf

WCF client endpoint certificate reference, how to find when there's a comma in the distinguished name parts?

We are trying to reference a certificate for a client endpoint configuration in our WCF configuration file. The configuration looks like this: <client> <endpoint address="https://domain.server.com/path/service.asmx" binding="basicHttpBinding" bindingConfiguration="TestServiceSoap" contract="..." name="..."> ...

mixing NHibernate with 3 tier developing

I have a 3 tiered app: 1st layer: SQL DB. 2nd layer: App Sever (dotnet) 3rd layer: smart wpf client. I'm using NHibarnate (fluent) as the data source for the application server layer (App server- 2nd layer talks to DB using NH) Application layer talks to the client using WCF. Do I benefit anything from using NH - as WCF doesn't suppo...

App.config in WCF Library and its Windows Service Host

Hello there, I have two Services called TemplateService, TemplateReportService (both defined in one WCF Service Library) to be exposed to the client application. And, I am trying to host these services under Windows Service. Can anyone please guide me if App.config in Windows Service will be same as the one in WCF Library? Here is m...

WCF service running as WindowsService and somehow goes into FaultedState

Hi, WCF Service hosted as windows service Using netmsmq binding MSMQ is transactional Windows 2003 server to host MSMQ 3.0 Due to some reason exceptions are raised and so it puts the message back in the queue and tries for serval times and then goes in faulted state. So what should be the mechanism to handle this type of scenarios...

WCF - The remote server returned an unexpected response: (400) Bad Request.

Hello there, I get no error when calling my WCF service methods except in one. This particular method called SaveTemplate() takes an input of byte[]. I am testing this method with a file of size byte[806803], but ending in an error: WCF - The remote server returned an unexpected response: (400) Bad Request. I have gone through sev...

AtomPub - What's your recommendation?

I'm looking to create a service (based on .NET Fx 3.5 or 4.0) that exposes data via Atom and enables AtomPub (so that I can update using Windows Live Writer). There looks to be two options: Use ADO.NET Data Services. From what I can tell this is the easiest to get working, but requires EF (I'm using LinqToSQL - although I know there ...

Steps to host a WCF service in IIS5.1(XP)

I have developed a sample WCF service. I would like to know the steps to host this in IIS 5.1(XP) ...

Logging requests/responses in a WCF REST service

I'm looking for a way to log both requests and responses in a WCF REST service. The WCF REST starter kit comes with a RequestInterceptor class which can be used to intercept requests, but there does not seem to be an equivalent for responses. Ideally, I'd like to be able to intercept a response just before it's sent over the wire, e.g. w...

jQuery/WCF Web Application

Are there any VS template/Starter Kit/Any example of an ASP.NET Web Application, which uses jQuery and WCF (JSon), without ASP.NET Web Forms or ASP.NET Ajax, and generates clean code? jQuery and C# for Web. No Web Forms/MVC. Is it actually possible? ...

WCF Service Updating the Service URL (Easy Way)

There is a WCF service that I was using and now it is pointing to a new URL. Is there anyway to go and change the URL without having to delete the service from the project and add it again using the new URL. The problem with deleting the service is stupid TFS is giving problems. Any suggestions how I can update the service url without ...

Unregistered SecurityContextSecurityToken on WCF

Hi Does anyone recognise this error? The SecurityContextSecurityToken with context-id=urn:uuid:xxx (key generation-id=) is not registered It has suddenly appeared in the service trace log of my WCF service. We had a Windows service successfully transmitting data into the WCF service for a day until it broke. The error manifests when t...

ASP.NET MVC + WF + WCF + SERVICE LAYER how i can use thats all in one project?

i have been developed my last project like below as by last architecture View -> Controller -> Service Code -> Repository with DDD(Model) Now i want to use WF and WCF?where are they to be on my last architecture?please tell me show me an example. ...

Invalid Operation Exception

I created a WCF Serice that worked fine when hosted on IIS. now, I took the same service, and created a host application in WPF, and when trying to start the service from that application, I get this exception : The HttpGetEnabled property of ServiceMetadataBehavior is set to true and the HttpGetUrl property is a relative address, b...

How to configure WCF with NO security, and most minimal bindings

I've been having major problems with WCF, which are not amenable to any wisdom I can find. I've tried basicHttpBinding, wsHttpBinding, netTcpBinding (with the Net.Tcp service running on both machines). The behaviour can be boiled down to: works on same machine, when running in debugger, standalone (non-service) process, Windows service...

WCF client certificate signing : how to?

So I have a WCF service where I have various parts of the service contract with a ProtectionLevel of Sign. I set the credentials on the client side by choosing a certificate from the certificate store. This is fine. However .... Does this client certificate need to be in the 3rd party certificate store on the server for this to work? ...

Handling Enumerated Type Parameters in WCF service for a PHP client

If I have the following WSDL method − − and "EnumeratedIdentifier" is a C# enumerated type, how can I make a service call to this method in a PHP client, since PHP is loosely typed? Thanks in advance. ...

What would be the Java equivalent of WCF

To my endless disbelief I discovered the .NET stack doesn't have the answer for everything. Is there a software parallel to WCF (Windows Communication Foundation) in Java or is WCF the only WCF out there. ...

How to create socket (Binary) server with WCF?

How to create socket-based ( Binary Socket) WCF server server with WCF, C#? What do I need? I need - Open Source Libs Tutorials Blog posts/Articles ...

WCF autogenerate FaultContracts

We have many WCF services, we have not been using contract first. So now we have a lot of code that throws exceptions, that are not specified in the FaultContracts. Other than manually inspecting the code. Is there a way to generate FaultContracts or at least get a warning when a FaultContract is missing? Thanks Shiraz ...

Is there a viable counterpart to DCOM in .NET?

I know .net has WCF, which I believe was touted as the replacement for COM when it was codenamed Indigo(?) - but is it actually suitable for use in a .NET app, providing the same functionality as a C++/DCOM application? A DCOM app on a client-server system can be a pain, but I think it's quite efficient compared to other options like we...