I am having time out issue in WCF.
The following is the error:
{"The request channel timed out while waiting for a reply after 00:00:59.9843744. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout."}
A...
I have a wcf service. The service itself (class that inherits the ServiceContract) has a constructor that sometimes throws exceptions. I want to present the user a message if the service fails. Should I use faults like I would for a service method?
...
Ok... I tried google and didn't get many hits. I dont want to abuse So but this is one of the best places to ask and EF isn't well documented.
My fails because the GetOriginal() returns null in UpdateCmsProductCategory. I assume that means currentCmsProductCategory is not in the ChangeSet. Ok... how do I put it in the changeset?
Here i...
Hi all,
I'm trying to get my head around wcf and have a test scenario where i want to recieve an unsigned SOAP message process it and return a signed SOAP message, where the body is signed.
Therefore, how do i add a public/private key pair to the WCF service for it to utilise in signing?
Secondly, how would i add a digital signature t...
Created .NET WCF service, tested it - works.
Generated schemas from Data and service contracts, put messages to Message Broker generated Message Flow from it, tested it using simple mapping (requestMessage=responceMessage) - works. Also I can reach MB from another application and send/recieve SOAP messages.
But when I try to create requ...
I'm running into an issue adding a StructLayout attribute to a MessageContract class, for example:
[MessageContract(...)]
[StructLayout(LayoutKind.Sequential)]
public class Foo { ... }
This causes a nasty error when trying to generate the WSDL from WCF:
Could not load type 'Test.Foo' from assembly 'Test, Version=1.0.0.0, Culture=n...
Hi,
I have a WCF Web Service which is consuming by C# client application. I’m also having 4 groups stored in Active Directory. Client application is passing user credentials to connect this web service.
Web service exposing multiple APIs or Methods to be accessed by Client application as follows:
[OperationContract]
bool Read()...
I have a WCF service which I am able to connect to from my web application and get data.
I now added a web reference to this wcf project to a wsdl file that a shipping company provides. Intention is to get shipping quotes..
I am able to access the objects that are generated from this wsdl file but when I call service.Authenticate("DEMO...
Whenever I use WCF, I always try to make immutable classes that end up going over the wire (i.e. parameters set in constructor, properties are read-only). However, this gets in the way of WCF serialization, which demands that all properties be Public get/set (which makes sense, because it has to deserialize them)
Even in this related po...
I have a the following server side app.config for a WCF service:
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="default" maxReceivedMessageSize="5000000">
<readerQuotas maxStringContentLength="5000000" maxArrayLength="5000000" />
</binding>
</wsHttpBinding>
</bindings>
...
Good and easy books/tutorials to learn WCF latest stuff
...
I am working on an application where client and server share an object model, and the object graphs can become rather big.
To save an object from client to server, ideally i would like to send only the difference over the wire, to minimize network traffic. I can pull the original object graph on the server and apply the delta to it
Won...
Are all WCF endpoint types capable of the same things? IS the only difference the transmission type and security?
...
Is there a size limit to the amount of data you can send to a WCF service?
I send an array of objects over and when the array gets to be a certain size, I get a 404 bad request exception.
Is this a limit of httpHosting? Would another type of hosting work better?
...
I am designing a REST service that could be used by many types of clients, most likely .Net, PHP, Flex and JavaScript. I am building the service using WCF and the REST starter kit. One of my main goals is to make it as simple as possible for all those clients to use the API.
Let's say that the API deals with zoos. When the client cre...
In our project we are making WCF calls using the following Code.
// In generated Proxy we have..
public static ICustomer Customer
{
get
{
ChannelFactory<ICustomer> factory = new ChannelFactory<ICustomer>("Customer");
factory.Endpoint.Behaviors.Add((System.ServiceModel.Description.IEndpointBehavior)new ClientMessageInjector()...
Below is my app.config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<services>
<service name="Indexer">
<endpoint address="net.tcp://localhost:8000/Indexer/" binding="netTcpBinding"
bindingConfiguration="TransactionalTCP" contract="Me.IIndexer" />
</service>
<ser...
Hello everyone,
I am using VSTS 2008 + C# + WCF + .Net 3.5 + Silverlight 3.0. I host Silverlight control in an html page and debug it from VSTS 2008 (press F5, then run in VSTS 2008 built-in ASP.Net development web server), then call another WCF service (hosted in another machine running IIS 7.0 + Vista). The WCF service is very simple,...
Hello,
I'm using Microsoft Sync framework 1.0 (without ADO.NET services)
I have created 2 custom providers: Xml provider and database provider.
The code of both providers can be seen at:
http://dl.getdropbox.com/u/204110/MyBaseSyncProvider.cs
http://dl.getdropbox.com/u/204110/MyDbSyncProvider.cs
http://dl.getdropbox.com/u/204110/My...
Hosting env : Windows 2003 server
IIS : 6.0
Dev env : Windows XP
IIS : 5.1
Scenario:
Client will be pushing some message into MSMQ and WCF service will be the one keeping an eye on MSMQ. Once the message is pulled from MSMQ WCF service will process and then put the data/message on to some other MSMQ.
We are thinking of creating a WCF...