Hi,
I have an IServiceFacade interface decorated with a [ServiceContract] and [OperationContract] attributes. When I perform Update Service Reference via VS2005 from the solution explorer, it works fine. Now I want to add [FaultContract] attributes to all of the methods in the IServiceFacade interface. When I add the attributes to a cou...
I have a webHttp file upload/download service. The file name might have non-ascii characters. First, I tried our service on IIS. Upload/Download worked well for small files. To handle large files I needed wcf streaming which is no supported on IIS. So I moved to console host. Now there was a surprise. IIS sends HTTP-headers as they are i...
The Silverlight 3 toolkit has a ChildWindow control for model popup like functionality. This is great. Anyone aware of a similar control that can be utilized via XBAP?
http://silverlight.codeplex.com/wikipage?title=Silverlight%20Toolkit%20Overview%20Part%204&referringTitle=Silverlight%20Toolkit%20Overview%20Part%203
The assumptio...
Hi, I 'm having a problem with WCF callbacks that's a proper head-scratcher...
Description of setup:
There's an interface IService that defines a WCF service. My server app implements that service in class ServiceImplementation. The service also has a callback, defined in IServiceCallback and implemented in the client app in class Call...
I have a wcf restful service with a operation contract that contains two values - an int and a string. This is a post call as well.
If i wrap the call using the BodyStyle = WebMessageBodyStyle.Wrapped. What should i assume the xml request will now look like?
...
I'm creating a Silverlight application and I have a couple of issues with the autogenerated proxy (by going add service reference in Visual Studio 2008)
When the proxy is generated on the client the async methods are generated and I can call them and that's fine.
But what I would really like to do is have a 'busy' or 'async loading' an...
Hi there,
I have some silverlight code that calls a WCF service which then uses the Entity Framework to access the database and return records.
Everything runs fine but ... when I replace the Entity Framework code with classic ADO.NET code I get an error:
The remote server returned an error: NotFound
When I call the ADO.NET code ...
I've noticed that you can only call a WCF service from Silverlight asynchronously. This seems to be a pretty sound practice, especially when deploying over the internet, but I'm wondering why this restriction has been placed on the architecture. Is it purely to enforce good practice, or are there technical reasons for this?
...
Is the following concept possible, or will I have trouble serializing this to the Client. Assuming that all comms are only dealing with BaseContractClasses but the Server uses the special sub-class to collate extra server-only data.
[DataContract]
public class BaseContractClass
{
[DataMember]
public int valueToTransmit;
}
public cl...
This is a weird issue. I understand JSON is supposed to be unordered and the implementation of java.lang.JSONObject specifically mentions that it is unordered.
However, it puzzles me because I would expect the way I call the put(); methods it should keep my order. Maybe that contradicts what I just said in the beginning though.
I am us...
Hello,
I have a WCF service that is hosted in IIS 7.5.
I have two servers, one for test and one for production.
The service works fine on test server, but on the production server I have the following error.
When I access the address http//..../service.svc I can see the default page that says:
You have created a service.
To test t...
Can i get WCF Cheat Sheet or (Ref Card) any where?
...
Hi, I am new to .net and am trying to use c# as the basis of my .net learning. I have a project where I need a service to connect to mutliple tcpip applications that are a 3rd party application written in vb6. Someone has mentioned using WCF as the base, but i'm not sure how it would make an outbound connection (instead of receiving inco...
Hi guys,
Has anybody successfully using spring.nets Spring.ServiceModel.ServiceExporter with WCF??
Some background.....
I'm trying to configure wcf services with spring.net for use in a web application
In my first iteration of the project I suceeded by configuring the service object with spring (I gave it the id requestManagerService...
I have a silverlight 3 project that references some WCF services in the hosting web application. Previously, when I added the service reference, I had the option on the Advanced tab to generate the message contract using System.Collections.ObjectModel.ObservableCollection. I just upgraded to Windows 7, and am working with the project a...
We are providing web service interfaces to our system using WCF. Our clients typically use some kind of middleware platform, e.g. WebLogic, to interact with us and others.
For scalability and robustness reasons, we want to queue incoming requests, process them, then send a response to the middleware platform. Hence, we are not using the...
Hello everyone. What I am trying to do is, seemingly, simple: send some POX via the request body, have the WCF service process it, and return a 201 status code. In my ServiceContract I have defined the following method:
[WebInvoke(Method = "PUT", UriTemplate = "/content/add", BodyStyle = WebMessageBodyStyle.Bare, ResponseFormat = ...
I'd like to centralize creation of my WCF proxies in a WPF client application. During creation of each proxy I'd like to define programaticaly specific endpoint behaviors (adding localization headers etc) and define client credential settings (I'm using message level security with UserName client credentials). The creation of proxy shoul...
I have a POST with a WebMessageFormat.Xml. It's a simple method that takes in a Company object. Aside from simple types containing "CompanyId", "CompanyName", "CompanyDescription etc., inside the XML there is a series of the same element containing tons of metadata involving contacts. I wanted to pop that into a List.
[DataContract...
I have a WCF service running locally hosted by a windows service on machine A.
I have an ASP.NET application hosted in IIS on machine B.
My question is this, if I run the ASP.NET application via a browser on machine A, will it be able to consume the local WCF service?
...