Hi I have a service-proxy with one method:
void SendRequest(MyMessage msg);
The MyMessage is defined as follows:
[MessageContract(IsWrapped=false)]
public class MyMessage{
[MessageBodyMember(Order=0)]
public XmlElement Body;
public MyMessage(XmlElement Body){
this.Body = Body;
}
}
Now, the problem is that w...
i am making a WCF service, and its corresponding client, both hosted in a single ASP.NET application. Now what happens, is that whenever i open my connection, it gives a timeout error. It happens, only of the .Open() statement. And moreover, it doesn't happen always, but sometimes it keeps coming.?? Please tell me a way..
...
Whats the difference between http://code.msdn.microsoft.com/WebAppToolkitREST and http://www.asp.net/downloads/starter-kits/wcf-rest?
...
Hi,
I have WCF service that uses wsHttpBinding and authentication with certificate.
I run this service on multiple machines and my firewall routes the request to the different servers.
The problem is when the client open proxy and works with one server and on the next call the firewall routes the request to another server I get an exc...
Hi,
I'm trying to figure out how to call a wcf in an asynchronous pattern in xaml tooltip object. so far I got the following code inside my combobox item template
the combo box has several itemNames pulled from a database and a toolip appears whenever mouse is hovered on any of the items. I'm trying to show more information on the hove...
Background WCF Stack, Data Access Implemented in Entity Framework, Simple ASP.NET Front End
This is a two part question.
Recently we ran into an issue with periodic crashes with an exception that read:
A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified ne...
I have successfully added and used a Get action in my new REST-service in .Net using WCF and the Rest-toolkit. The service is defined like this:
[OperationContract]
[WebGet(UriTemplate = "/{id}")]
Foo GetFooById(string id);
And I call it like this from the client side:
public Foo GetFoo(string id)
{
var httpClient = new HttpCli...
Hello
I've written a WCF service with a duplex contract which asynchronously calls back the clients. I have some issues when multiple clients get connected and i dono how to debug the service. Any insights on this?
Thank you.
NLV
...
I have a WCF service which is used synchronously, but its ConcurrencyMode is set to ConcurrencyMode.Multiple value, because the service is stateless actually. How much overhead does this mode impose? Does it make sense to change the mode to ConcurrencyMode.Single?
...
How can expose the cubes data using wcf?
...
I want to design a new distributed application, but I have a few queries that I need some genius advice on, hopefully from you people:
Scenario
I currently support a legacy application that is starting to fall between the cracks.
It is a distributed Client-Server app implemented using .Net Remoting. I can't explain exactly what it does...
i have the same app config on both programs
A - the service itself when i run it , wcf Test Client starts.
B - A self host program using -new ServiceHost(typeof(MyService)))
here it is :
<services>
<service name="MyNameSpace.MyService"
behaviorConfiguration="MyService.Service1Behavior">
<host>
<baseAddresses...
I'm trying to specify a known type in my config, but I'm having problems with the fact that it derives from Object. I can make it work specifying the known type via attribute. But in this case I need to make it work from the config.
Here's an example. The following works fine:
[ServiceContract]
[ServiceKnownType(typeof(MyData))]
publ...
Does the full dictionary path need to be specified for the DataSource? I have tried using the database AliasName and it doesn't seem to work.
...
I'm trying to write a cmdlet that accesses one of my wcf webservices.
I've been looking at the new cmdlet : New-WebServiceProxy, but it only really seems capable of consuming ASMX webservices.
I've seen this article; which is focussed around Powershell v1.0
I'd rather use a better method (if one exists).
http://keithhill.spaces.live.co...
Hi guys,
I am having problem using [DataContract(IsReference = true)] on base/derive classess. I have the following base class and child class. I have no control (can't modify it) over baseclass
public class BaseDto
{
}
[DataContract(IsReference = true)]
public class NodeTypeDto : BaseDto
{
....
}
When I add service reference in wc...
I'm building a WCF router and my client uses Reliable Sessions. In this scenario when the client opens a channel a message is sent (establishing a Reliable Session?). Its contents is as follows:
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
<s:Header>
<a:Action s:m...
Our WCF web services are not being consumed by any other service, and we highly doubt that they will be. Currently we are only loading about 30 5k objects and have been using web services with success. At this point we are looking at scaling this to support 1,000 objects. Only about 20 will change at any one time. We have a few options...
I am writing a C# WinForms application that consumes a web service using WCF. I would like to be able to display the XML request and response in the application in real-time as the calls are happening. Is this possible?
...
Can I have two different clients listening to the same WCF callback and have them both receive the same data without having to do the processing twice?
...