I'm generating client side web service code using svcutil. The wsdl contract I'm using contains a soap fault. When the code is generated the fault seems to be wrapped in the namespace it was defined in the contract.
Can anyone explain why?
I'm simply running svcutil [filename]
Example WSDL:
<wsdl:definitions xmlns:soap="http://sche...
Is there a clean way to expose a WCF REST service that requires basic authentication, but where we handle the actual validation of the username/password ourselves? It seems that when you tell WCF in config that you want to use basic authentication, it forces you to turn on basic authentication in IIS and IIS can only do basic authentica...
I have WCF service client implemented using asynchronous event(using /async and /tcv:Version35 in svcutil).
I wanted to know the best way to manage service client.
As of now, I am creating a new service client on each request and closing the service client when the event delegate returns. Is it a good practice to create new service cli...
We have a service using WCF and Impersonation.
A user can log in to the client application with credentials that are part of an Active Directory system.
The users login is impersonated service side.
This works fine when the user who logged in is setup as a Local Admin on their host machine.
But a problem occurs when they are a non-...
I am confused... How can MS release two versions of Silverlight without having proper support for WCF bindings? Should they not support wsHTTP binding at least? So the service can have proper Message-level security? (i.e. certificates etc...)
With a basicHTTP binding, looks like the only two options to secure the service are...
HTTP...
My question is more of an architectural nature, less involved with the actual implementation.
I have build an API based on WCF, but can't really decide on how to separate the PL from the BL. I have made my service thin, so that it holds only a minimum of implementation, something like:
public TagItemResponse TagItem(TagItemRequest requ...
Can a single WCF Service endpoint be set up to authenticate against multiple Authentication stores? i.e. if UserName and Password supplied check Custom DB, otherwise try Windows Auth.
Background:
I have WCF Service A which is injected with a client proxy to WCF Service B. Service B could have a dependency on Service C etc.
A User requ...
I have to implement a SOAP web service that conforms to a (large) standard schema for the travel industry. Here's an example .XSD file:
http://www.opentravel.org/2008B/OTA_HotelAvailRQ.xsd
I think that rules out simply putting a [WebMethod] attribute to a method. How do you recommend implementing an existing schema using C#?
PS: I'm u...
My company is building a medical application. We would like to utilize Silverlight 2.0/3.0. Because of HIPAA laws, security is at the top of the list and can't make mistakes here.
What makes or doesn't make a WCF call secure in the context of using Silverlight?
...
We have a service that is hosted under IIS7. The connection string for the SQL server is set to Trusted. In order for the authentication to happen I need to setup impersonation on the service and have the client initiate an impersonated connection.
Is there a way to not have impersonation set and still allow the service to log into the...
I have just written a new version of a WCF web service and I want to make sure that I have not made any breaking changes with regard to Service and Data contracts.
Thinking back to my days as a VB6 Com Api developer I recall how easy it was to specify the previous release version of the component at compile time, and have the compiler c...
I'm trying to grok the MSMQ binding in WCF and wanted to know how it's different than the configuration for BasicHttp or WsHttp?
...
1 namespace Uploader
2 {
3 using System;
4 using System.IO;
5 using System.ServiceModel;
6 using System.ServiceModel.Description;
7 using System.ServiceModel.Web;
8 using System.Drawing;
9 using System.Drawing.Imaging;
10 using System.Net;
11 using System.Xml;
12
13 [Servic...
I have an application which is taking ages to close. When I close the app, it tries to dispose a number of threads that do TCP scanning, WCF P2P attempts, and so on. The problem lies in a WCF thread that stalls on a method for about 17 seconds.
IP2PAuthenticationService server;
ChannelFactory<IP2PAuthenticationService> channelFactory;
...
How can I determine an un-used port to start a WCF ServiceHost to host a localhost web server on?
I'm currently starting my service up statically on http://localhost:XXXX where XXXX is a static value in my code.
I'd like to replace the XXXX with a GetUnusedPort() call...
Any thoughts?
...
Hi all,
I've tried to look everywhere to find an answer to this problem, but no luck.. so i've turned to the experts here for some help!
I have a wcf service in c# is fully working... it does some magic and it sends a List to the server. The server can read these PO objects fine. However, i now have a problem when inside PO there is a ...
How to create event notification web service or kind of middleware in WCF? Any good links or books there to start? Or do we have any open source light weight open source middle ware projects?
...
How can I handle WCF Client Disconnects ?
I Tried CallBacks but it seems to only works when Client Disconnect "clearly" by using a "Disconnect" button for example.
I want my server to be notified when Client got disconnected, even on manual disconnect or client process crash.
...
My team is developing WCF services in Visual Studio 2008 SP1 with the Service Factory Modeling Edition. The problem is that we have so many services to develop and we've put everything in the same solution.
250 projects later, the solution barely loads and adding to it is nearly impossible. We thought it would be good to split out eve...
I currently have a suite of .Net web services that are developed in ASP.Net 2.0. They don't utilize any WS-E extensions, rather they implement security at the application level. They are fairly straightforward data retrieval/update features. I am interested in re-factoring these web services gradually over time into WCF services, mostly...