wcf

Using SQLLite transactions I/O Error

I currently have a client / server setup where the client sends data to the server and then the server saves the data to a SQLite database file. To do this I am using transactions which works fine in windows 7 when I run around 30 clients (each client sending data back between 5 - 30 seconds). When using the same software in Windows XP,...

.NET 4 Router: Can we filter binary incoming data from HTTP/TCP stream?

So I want to have have some service with url example.com:4773/routerService . I am gouing to have some wary simple client which will take some address and start streaming data to it, binary data like mp3 or pcm stream so no serialisation no special mesages just star streaming pure stream to URL. So my client will go to URL like examp...

Silverlight WCF connection blocking

Hi I have a problem calling WCF Service Method by Silverlight App. I keep getting Error in Fidler: [Fiddler] Connection to localhost failed. Exception Text: Can not connect because the target machine actively refused it: 1:50045 I use Win 7, port 50045 is unlocked. My App.config and ServiceReferences.ClientConfig are OK... Please HELP:)...

How to configure your WCF service to work as normal TCP server?

How can I configure my WCF service to work as a normal TCP server? Is it possible to disable all that binding specific stuff so as to keep your service URL like http://example.com:4444/service and be able to work vith pure HTTP/TCP streams? I need to be able to work with TCP streams in tandem with WCF services... so I have to make TCP s...

Improving the performance of an nHibernate Data Access Layer.

I am working on improving the performance of DataAccess Layer of an existing Asp.Net Web Application. The scenerios are. Its a web based application in Asp.Net. DataAccess layer is built using NHibernate 1.2 and exposed as WCF Service. The Entity class is marked with DataContract. Lazy loading is not used and because of the eager-fetch...

silverlight 4 with java service.

hi , i intent to replace wcf service with some java service . how should i design my wcf service such that it's gets replaced or can be replaced with the java service later such that i dont have to do any work or very little work on the client i.e on my silver light application . any idea's / suggestions? P.S 1. that is the reason i ...

creating WCF client proxy dynamically

I need to be able to call and arbitrary web service. The user will supply the URI / endpoint information at configuration time, and I need to be able to handle calling that service. As a result, I don't have service contract at compile-time ...

WCF SERVICE gives us faulted response

My service is hosted on IIS7, windows 2008 server with sql server2008 express. I am getting following error when the process takes more than 2 minutes i got this response, i m unable to find out either it is due to sql server time out or wcf time out. my sql server process is also took long. An error occurred while receiving the HTTP re...

Dynamic WCF base addresses in SharePoint

I'm attempting to host a WCF service in SharePoint. I have configured the service to be compatible with ASP.NET to allow me access to HttpContext and session information [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)] public class MISDataService : IMISDataService { ... } And my confi...

How to do TCP/IP binding from config file in WCF as opposed to default wsHttpBinding

Kindly guide me in doing the same. I am new in WCF Thanks ...

Are there any downside of increasing sendtimeout in WcfBinding?

My application calls a 3rd party WCF service and chances are that it get time-out 10 in 100 times. What should i do, should i increase the SendTimeout, are there any downside of it.?? ...

How can I expose a service bus with a wcf service to be consumed by a silverlight client

In a Silverlight application, instead of consuming and writing (wcf) wrappers around messages that finally get sent to the bus, I want to send use my message bus as directly as possible. My idea was to expose the service bus directly as a wcf service, or, in other terms, I want to bidirectionally pub/sub over the wire. Has this been do...

WCF Exception: Cannot add to list of known types

Good Day Everyone... I’m getting an unexpected WCF error complaining of “Known Types” which are similarly named, but in different name-spaces (see error below). ...please keep in mind I'm still experimenting with all this. Also… I already understand the nature of regular web-services FORCES you to flatten your object hierarchy, but e...

How does WAS/IIS manage ServiceHost instances?

It appears that WAS will call ServiceHostFactory.CreateHost() once per each service implementation. How does WAS manage the lifetime of the ServiceHost/ServiceHostFactory? We have a custom factory/host that is occasionally being re-initialized. I'm wondering if WAS is recycling itself or it has some other reason to re-create the Servi...

WCF method called twice

Hi, I have a web service which is returning data to the desktop application. The problem I am having is, when the web service returns small volume of data everything works fine but when the volume of data is large it throws the following exception: System.Net.WebException: The underlying connection was closed: An unexpected error occur...

Problem serializing primitive data using WCF

Scenario: WCF client app, calling a web-service (JAVA) operation, wich requires a complex object as parameter. Already got the metadata. Problem: The operation has some required fields. One of them is a enum. In the SOAP sent, isnt the field above (generated metadata) - Im using WCF diagnostics and Windows Service Trace Viewer: [System...

Svcutil generating bad config with multiple endpoints

I have a WCF service that has exposed a soap and an xml endpoint. When I use svcutil to generate the proxy code on the client side the generated configuration contains two endpoints which causes the client to fail. If I edit the web.config file and remove the second endpoint (with the custom binding) all works as expected. Is there a ...

Exposing Windows Service through WCF

I have already created a windows service that monitors the network for some specific traffic. I now need to make a user interface for the service so traffic can be watched in real time, as well as the ability to alter the service's settings. Unfortunately, I'm stuck on how I take my working service, and expose it through/convert it to ...

Way to concat strings when using binding in Silverlight

I wonder if there is a way of concating two strings in Silverlight inside xaml file. I have a DataGrid where one of the columns is 'Default Contact' and I would like to represent data in there as first and last name. <sdk:DataGridTextColumn Header="Default Contact" Binding="{Binding Path=DefaultContact.FirstName}...

Change Address/Port of WSDL EndPointAddress at runtime?

So I currently have 2 WSDLs added as Service References in my solution. They look like this in my app.config file (I removed the "bindings" field, because it's uninteresting): <system.serviceModel> <client> <endpoint address="http://localhost:8080/query-service/jse" binding="basicHttpBinding" bindingConfiguration="QueryBinding" co...