I have a wcf service written in a contract-first fashion. As some of the elements in the schema uses attributes, I had to create a custom serialization for this (using IXmlSerializable). Below is a snippet of the schema, and the classes, as well as the schema from the wsdl output.
My problem is that even though I render the xsd for my I...
Right now i'm doing some tests involving entityFramework and WCF. As I understand, the EntityObjects generated are DataContracts and so, they can be serialized to the client.
In my example I have a "Country" entity wich has 1 "Currency" as a property, when I get a Country and try to send it to the client, it throws an exception saying t...
In short: Trying to write a wcf service for a winform-app that invokes a stored procedure on a webserver.
So far no problem - my service exposes the method "execStp(string nameOfStoredProcedure, stpParamList parameterList)"
[OperationContract]
int execStp(string stpName, srsWcfLib.Utilities.stpParamList paramList);
where stp...
Hi Foks.
I am new to WCF and am working on a project
where I am building a WCF library that is called
by a Web project (ASP.NET 2.03.5 / C#).
I have a few things going on here.
1) I have provided a compliment contract (IJSON) for my
SOAP contracts (ISOAP) for my JSON web methods.
2) I have one contract, IFileTransferService, that ...
I have a WCF service written to provide certain functionality to intranet-based clients. This is easy when a client is running Windows. I want to implement the same functionality for my Windows clients that is available to my linux clients. My questions are?
How can I communicate to a linux c++ based client (supporting callback opera...
Hi,
WE are writng the SOA based WCF web services for various type of clients including Powerbuilder, C++, VB, Silverlight, ASP.NET, Perl etc. One of the service is Authentication and authorization.
I have come across the WCF applicaiton services. But we cant use the default providers as we have our owm database structur ena dthirdpart...
By default WCF service wrap JSON response in "d" wrapper and there I found a problem with parsing it.
If I parse with JsonConvert.DeserializeObject(response) where response is
"{\"d\":\"{\"a0b70d2f-7fe4-4aa2-b600-066201eab82d\":\"Thelma\",\"d56d4d4f-6029-40df-a23b-de27617a1e43\":\"Louise\"}\"}"
I gor an Error:
After parsing a value ...
I have a Silverlight application with a Silverlight-enabled WCF service. The service passes along a small POCO class with a few string properties, and a List<> of an enum defined in the class. Everything works fine when running using the ASP.NET development server, but when I move the service over to an IIS server (Windows 2003) I get ...
First a little about myself. I am not an experienced software engineer, architect or developer. I have done mostly small ASP and ASP.NET projects in C# for the last 5 years. I am pretty good with HTML and JavaScript. These projects were done when I had free time from my other duties which were not related to software development. I have ...
I have created a WCF service for uploading images , which accepts System.IO.Stream as input parameter and am using streaming. When I added the service reference in Silverlight project then it automatically changed the parameter of my WCF method from System.IO.Stream to byte[]. Can anyone suggest if there is a way around this so that I ca...
I have .NET Remoting setup for a number of objects. It has been production for over a year and all is well with the setup. I've added a Service Reference today in a project called Entities. One of the classes with the Entities project calls this new Service Reference. The Entities project is class library.
When I created Service Refere...
I'm trying to add a WCF service to my existing ASP.NET MVC web application, but with the WCF Test Client application, I keep getting HTTP 404 for the URL to the .svc file.
When I added the new WCF service to the project, it appeared to automatically make a bunch of changes to the web.config file. I tried hacking up my routes in global.a...
I am building a WCF service interface for an existing Windows service process. The purpose of the WCF interface is to provide an "Command Channel" to implement an administrative capability for the Windows Service. There are several OperationContract methods defined that are intended to extract information from and control the behaviour...
I am having a WCF service hosted in IIS on WindowsServer 2008. This service needs to write to a shared folder present on another machine(Windows XP). The shared folder has write permissions for a particular user say "X" which is present on both the machines .i.e on the server where the service is running as well as the machine where the ...
I need to find a tutorial for hosting the Workflow Foundation Runtime in WCF using .NET3.5.
Does anyone know any good links specifically on this?
UPDATE: Preferably, it should have some code samples on the implementation.
...
Hi,
I need in WCF ensure soap header like this:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" SOAP-ENV:mustUnderstand="1">
<wsse:BinarySecurityToken xmlns:wsu="http:...
I'm creating a WCF application where I'll be using certificates to encrypt the communication between the client and server. In my development environment, I want to use a test certificate / self signed certificate which I've created using makecert. (Only the server will have a certificate, the client won't).
I've installed the certifica...
I have a WCF service with many methods. I would like that after executing one of the methods emails will be send to some users. Sending emails may be a long running operation and I don't want a caller of the method to await this time. The caller should receive a response as soon as it is computed and the emails should be send afterwards....
I am beginning to see that WCF IIS deployment is no piece of cake, and lots of things break depending on configuration and environment.
Can anyone recommend an online resource that can teach me the art of deployment for WCF IIS Applications.
Thank you
Some of the issues I've already faced when deploying, but not limited to this list...
I am using the WCF REST stater kit to build a plain xml over HTTP service. As part of this Im using a RequestInterceptor to do authentication. Inside of the RequestInterceptor I have access to a System.ServiceModel.Channels.RequestContext object from which i can get the request url, querystring params and other helpful things. What I can...