wcf

The remote server returned an error: NotFound. when trying get own collection result of service method

Hey, When I want to consume my method get error: The remote server returned an error: NotFound. Inner exception: {System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. at System.Net.Browser.BrowserHttpWebRequest.InternalEndG...

WCF REST Uri on Help page is not Correct.

Hi there, Been writing my first WCF Rest service and its going well... but i have a small issue, can anyone help? When i goto my help page which on local pc is like so http://localhost/WcfRestService1/help It displays the following, but the URI is wrong, notice the URI is blank or only asks for the parameter {id} Uri Method ...

WCF Rest naming conventions for methods and URIs?

Hi there, I wonder if anyone can confirm the naming convention that i am using is correct, i have just started and really don't want to get into a bad habit Here is what i have ... (see comments) basically i have a mehtod called GetTasks but the uri is Tasks - i presume this is the way to go?? Also i have a method called GetUser whe...

How do I calculate network speed: either "goodput" Bandwidth, or real Bandwith?

I'm trying to determine the latency and bandwidth between the server and various clients in a multi-tier system. I believe the easiest item to get is the "goodput" or the effective Application-layer rate, but the latency is a bit harder to get at, yet harder still is the true bandwidth that includes "window size" and other technical fac...

WCF and Inheritance

Hi experts! I'm working on a project where I have an abstract class of Appointment. There are Workouts, Meals and Measurements that all derived from Appointment. My architecture looks like this so far: Dao - with data access layer being entity framework 4 right now POCO classes using the T4 templates WCF Silverlight Client, ASP.net MVP...

Consuming WCF Rest services with visual studio 2010?

Hi there, I am used to using soap services where you add a service reference and it creates strong types classes (return types) of each method.. Of course REST doesn't work like this How do i consume a WCF REST Service? Is there no way to use strongly typed classes for the return types? I am using Visual Studio 2010 specifically An...

WCF service URL ACL on windows 7 : Your process does not have access rights to this namespace

Porting an application from my previous development machine (XP) to a new one (w7), and having an issue with WCF. HTTP could not register URL http://+:8001/KolonistenVanCatan/MetaData/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). Now, the page ...

Adding REST methods to WCF Data Services?

Hi there, I need to extend my WCF Data Service to include additional methods, not only the database tables.. But it doesn't seem to be working correctly. Firstly i want to ask if this is legal? or throwned upon? The reason i need to do it is i need add additional REST methods that will make a call to ASP.NET Membership services (th...

Test Client for testing WCF Rest services or just use browser?

I have written my first rest services and currently i am testing them in a browser. Is there a test client or some sort that provides additional features or is this the normal way of testing i.e. in IE, Firefox etc? ...

IExtensibleDataObject usage in clients

I have converted my web service to wcf service which has some datacontracts. As a best practice it is mentioned and advisable that the DataContracts should inherit from IExtensibleDataObject. I get the point that in case of addition or removal of datamembers, IExtensibleDataObject is helpful. But i am not able to get how will the clients...

HttpClient & HttpResponseMessage missing in VS 2010 - its for consume REST services

Hi there, does anyone know if HttpClient & HttpResponseMessage classes are available in VS 2010? I can't seem to get them to work, do i need to add a reference or using namespace? These classes were originally from the starter kit for REST for Vs 2008... In vs 2010 its built in i.e. no use for the starter kit... But how do I cosume t...

Why doesn't my WCF endpoint throw a Max Clock Skew exception?

With almost all of the (secure) WCF service endpoints in my application, if the client's system clock is set too far in the future or past, I get an exception from WCFs Clock Skew mechanism (described here: http://www.danrigsby.com/blog/index.php/2008/08/26/changing-the-default-clock-skew-in-wcf/). However the one endpoint where my Logi...

WCF listen base address anyip

i want my servicehost to have the base address of any IP so i tried this new ServiceHost(typeof(LoggingController),new Uri("0.0.0.0")); and it gives me invalid URI format any one knows how should i write this ? well i tried to access it from outside of my local lan and it didnt work , i made a small test software using tcpipliste...

Extending WCF Interface with Plugins

I'm building an application with a Silverlight frontend that communicates with a backend service via WCF. My service has an interface that handles all of the core communication with the frontend. The backend can be extended with various plugins and I plan on loading custom silverlight modules for configuring these plugins with prism....

What WCF extensibility point should I use to implement custom security?

I'm trying to create a flexible security infrastructure for our WCF services on our intranet, but I'm not quite sure where I should be putting this code... there are so many different ways to extend WCF that I don't know for sure where to begin... The basic idea: every time my service is called - for any operation - I want some code to ...

Stored procedure call is very slow from Entity Framework 4 due to inexplicable reason

Stored procedure (query ) when run in Management Studio takes 4-8 seconds. However, when launched inside WCF service via Entity Framework it may take more than minute. WCF runs in VS 2010 in debugging mode with ASP.Net Development Web Server. The actual call requests = transactionEntities.spRequestsForRescreening(cutoffDate).ToArray(...

Inconsistent time zone in results from Web Service

I have a web service for a production application that is returning different results to different clients for the same inbound request. I discovered this by configuring my clients to dump the raw WCF messages to trace files, which I then compared. For one client machine, the response includes date/times targeted at time zone +13:00 - ...

Working with WCF, Windows Phone 7 and ASP.Net

I tried out to create a little test application. My goal is to access to a database with a wcf service, have class library for data objects and use this library for the ASP.Net webpage and for the Windows Phone 7. Is this possible? My current problem is to create a library which I can use for WP7 and my WCF service. It's not possible...

ServiceReference not updating at IIS 7

At server I have web.config to my application: <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> </appSettings> <connectionStrings> </connectionStrings> <system.serviceModel> <bindings> <basicHttpBinding> <binding name="BasicHttpBinding_IService" closeTimeout="00:01:00" openTimeout...

consuming ssrs as a service. has an error

Hello I am trying to consume ssrs service and render a report. first stage: I added aservice reference to ../myserver/reportserver/reportservice.asmx went well ,and a proxy was created named ReportingService; the only instance i was able to call was "ReportingServiceSoapClient" but it does not contain a "Credentials" property, instea...