I have a WCF service that sometimes has to return a Fault. For some reason, the calls to my service begins to time out with the following error:
"The request channel timed out while waiting for a reply after 00:00:59.8906201. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The ti...
By defining an attribute that implements IContactBehavior and IWsdlExportExtension and set that attribute on your service contract, you can easily add Soap Headers to your wsdl (see http://wcfextras.codeplex.com/ for more information)
But now I need to set a Soap Header contract in the wsdl on all Operationcontracts and this time I cann...
I've searched and didn't find any question similar, so I'm asking.
Is it possible to use IIS with transport other thna HTTP?
If so, how to configure it?
...
For my sins, I am in charge of developing a service for providing data to both our internal systems running .net apps as well as external systems running php. For the sake of future proofing, I want to ensure it is callable from ruby as well.
My service will perform authentication and look up account details from a central user reposit...
How do I modify the description of each item in the help page when using the rest collection template?
...
I have a Visual Studio 2008 solution that contains a handful of projects. One project contains a WCF Service I'm deploying. That WCF Service references some code in one of the other projects. That code is trying to read a file that's in a folder in the WCF project. Pseudo-project structure:
Solution
Project1
myclass.cs
string ...
I read here about the new security options in Silverlight 3 and I was hoping someone could give me a link to more information on the TransportSecurityWithMessageCredential option in Silverlight 3.
Thanks
...
I have a WCF service which i deployed on my test server. Trying to use it on my test project and I added a reference and I get this error
The document was understood, but it could not be processed.
- The WSDL document contains links that could not be resolved.
- There was an error downloading 'http://localhost:8731/somewhere.now...
Instead of using the web services infrastructure provided by .net, I was wondering what your take on rolling my own asp.net page that you can post data to (I guess all the cool kids are calling this REST,) and retrieving a JSON response from. Is there additional overhead in using an aspx page for this purpose that i'm not aware of?
...
I'm trying to create a Podcast RSS feed using WCF. The feed seems to be valid, but the enclosure tag is being ignored. Any ideas?
Fixed now ... don't use file file:/// urls even if you are feeding yourself the files.
<rss version="2.0">
<channel>
<title>Joe Blow</title>
<link>http://google.com/</link>
<description...
Is there a standards-sanctioned XML format for describing entity queries?
Background: I plan to build a library for writing queries over WCF services.
On the client I want to be able to write (C#):
var customers = from c in service.Customers
where c.Name.StartsWith("P")
order by c.Name
...
The backgound: I am trying to forward the server-side ApplyChangeFailed event that is fired by a Sync Services for ADO 1.0 DBServerSyncProvider to the client. All the code examples for Sync Services conflict resolution do not use WCF, and when the client connects to the server database directly, this problem does not exist. My DBServerSy...
Hi, I am using WCF for the first time. I Have successfully created the service and it works fine on my local machine. I want to know the steps involved for deploying the service to the client environment (including changes to the config file, IIS settings) and any other miscellaneous settings.
...
How do I obtain the endpointIdentity from the config file?
...
Hello everyone,
Suppose I have a method and the return type is enum, my question is should I declare the enum as DataContract or not?
Samples like, in the sample, OrderStatus is an enum data type,
OrderStatus Poll(string queryID);
Should I declare OrderStatus enum type as DataContract?
thanks in advance,
George
...
Two of our apps are web applications with a Flex 3 front end and a SOAP-style WCF back end. To communicate with the back end, I generate web service client classes through Flex Builder 3. Everything's functional, but maintaining those generated classes has been quite annoying, and I'm looking for a better way to do things (without havi...
One of my methods returns byte[], of a file. All other methods return either string objects or custom objects
I can view the WSDL via a browser and as i have used WCfExtras, I can even view the documentation.
In my test app, C# web application, I add the reference to my svc, hosted on a test server. I get an error as such:
The d...
WCF offers two options for ResponseFormat attribute in WebGet annotation in ServiceContract.
[ServiceContract]
public interface IService1
{
[OperationContract]
[WebGet(UriTemplate = "greet/{value}", BodyStyle = WebMessageBodyStyle.Bare)]
string GetData(string value);
[OperationContract]
[WebGet(UriTemplate = "foo", ...
I am trying to generate a WCF proxy client code for a Windows mobile application that uses basicHttpBinding and I'm continuously receiving the follow error:
Error: An error occurred in the tool.
Error: Error in the application
I was able to generate the proxy before but I don't know why suddenly this happens.
I have read the Sameh Sam...
Hi,
I have a WCF service (XML+JSON) running on http://servicehost:8080/myService.
My ASP.NET application with jQuery is running on http://webapp/Login.aspx
I want jQuery to use Ajax and call the URL http://servicehost:8080/myService. The browser does not allow this cross-host call, which is expected.
Some of the posts on stackoverflow...