.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

REST and http services

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :WCF

Hi All,

Can all services that are non-SOAP, be deemed as RESTful? Where can I get some indepth information on the same?



View Complete Post

More Related Resource Links

Versioning REST Services with WCF Http Processors


As I discussed in my last post, the new WCF Http Model includes http processors that you can use to inject cross cutting aspects into an existing service. We can use processors for supporting a versioning schema based on content types as it discussed here by Peter Williams. 

Supporting custom media types in a WCF Http Service is a now a piece of cake with the new MediaTypeProcessor. The only thing you need to do is to implement a new processor by deriving your  class from the base class MediaTypeProcessor or any existing implementation like XmlProcessor for example.

The implementation I showed below derives from the XmlProcessor implementation and adds support for two new content types ("application/vnd.mycompany.myapp+xml" and "application/vnd.mycompany.myapp-v2+xml")

IIS 7.0: Extend Your WCF Services Beyond HTTP With WAS


Learn about a new IIS feature called the Windows Process Activation Service (WAS) that makes it possible to host Web services beyond HTTP.

Dominick Baier, Christian Weyer, and Steve Maine

MSDN Magazine September 2007

Multiple services in REST Collection WCF Service?


After I create a "REST Collection WCF Service" project, it contains one service "service.svc". Can I add multiple services to this project? There must be a way to do so. Otherwise, it does not make sense to create one project for each service.


My question is how to add a new service to an existing "REST Collection WCF Service" project?


Thanks a lot.

HTTP 401: Unauthorized when trying to specify reporting services for integration, cannot connect to




I am trying to install reporting services and join it into existing service farm.

Main  MOSS 2007 is on one pc, with config bases etc, while reporting services, reporting services db will be on other pc. 

We are using same domain account to run sharepoint services and reporting services. 

I've installed web part of MOSS on that other computer, also reporting services and sql server, set reporting services in integration mode.

Either way, it wont work for me:


If i am running the service of reporting services as Network Service account, then the /reportserver page will complain about some generic error "probably you dont have access to the farm if you are in integrated mode" etc.... 

I've read that i should include networkservice into a group WSS_WPG which i did, no luck anyway, same error

If i try to type the adress into the integration with reporting services in moss admin page, i will get error like "expected xml received html" and alot of red text.


If i switch service to run from domain account (the one that is used for running sharepoint on the domain) (we did the spn thing, didnt work either), the /reportserver page will open

(moss2k7/ReportServer - /

Database Access Using SOAP and REST Web services

Hi Guys, Can anyone post the links regarding DATABASE ACCESS USING BOTH WEB SERVICES. How to query the database using the web service. Suppose i have SQL statement like " Select empID,empName,CName from employee,company where empID=CID;".  How to  send this sql query to database server using REST and SOAP web Services?  Thank You

Excel Services XLSX shows different results when accessed via Sharepoint UX vs REST

I have an Excel services report that connects to Project Server 2010 data via an ODC.  Looks great when I view the XLSX through the browser via the Sharepoint doc library; everything refreshes, no warnings, all is good.    But when I access this same file via the Excel Services REST call: https://myserver/_vti_bin/ExcelRest.aspx/ProjectBICenter/My%20Reports/Initiative%20Status%20Report.xlsx/model/PivotTables('InitiativeStatusSummary')?$format=html I get an older version of the report -- not refreshed with the latest data.   I have the file set to "refresh data when opening the file" in the data connectioon properties.     What am I missing?

sharepoint rest services

Hi, As per my knowledge , REST services are similar to SOAP services/protocol  but less head-ache. But why to use REST instead of SOAP in SharePoint 2010? Also I want what is a Mshup page in internet environment.   Thanks

Hosting WCF Services (NetTcp and WS-HTTP) on a windows MCSC fail over cluster

Hi I have a set of WCF Services that use the above protocols. How do i host these in a MCSC Cluster and expose them to the clients ? When hosting the service which is the IP i should use ? The Virtual IP of the Cluster ?

Quick Note (Scenario): Using the Excel Services 2010 REST API

Learn to use the Excel Services REST API to access data and objects within a spreadsheet.

WCF ReST services not working in IIS 7.5


I know this has come up before, but I haven't seen an answer that fits this situation. I have a project in Visual Studio 2010 Ultimate RTM created with the "WCF REST Service Application" project template. It works fine in the Visual Studio development web server but I get 404.0 errors if I try to deploy it to IIS. I think IIS has all the correct .Net 4 stuff, but I'm not an IIS expert. I don't have a .svc file but I believe it shouldn't be necessary and, as I said, it works in the development server. Visual Studio and IIS are running on the same Windows Server 2008 R2 box.



Reporting Services 2008: "HTTP status 401: Unauthorized" Issue


I'm getting the error "The request failed with HTTP status 401: Unauthorized" whenever I try to list the reports on my reporting server. The weird thing is, it works when I run the asp.net application on my dev machine hitting the server reporting services web service url (http://www.example.com/reports/reportservice2005.asmx?wsdl) but when the asp.net app is installed on the server (running iis 7) hitting the same url I get the error. Here's my set up:


SQL Server Reporting services 2008 (not R2)

Web service url: http://www.example.com/reports/reportservice2005.asmx?wsdl


Created a proxy ReportingServices2005.cs

Web.config has <identity impersonate="true"/>

Code to list reports:

<asp:ListView ID="lvReportList" runat="server">
            <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
            <asp:HyperLink runat="server" ID="hpReportLink" NavigateUrl='<%#Eval("Url")%>'><%#Eval("Name")%></asp:HyperLin

Beginner in using Rest web services


Hi All,

I have a site that contains all the information about the employees of my company. They gae me documentatation to access. Please see below.

I am really confused.

1. Ask your  administrator to request a Service Account with appropriate privileges. - Done

2. Use your web browser to explore the read-only web services. Start by downloading the most
recent version of this document from the Documentation Resource. Next, view the Schema List
Resource to find your Schema Key(s), which is used by many other service resources.

(How can I do that???)

3. Consider installing the RESTTest Firefox Extension (a simple interface for testing readable and
writeable REST web services), available at http://www.xucia.com/#RestTest.
( I did installed the rest test but I dont know how to use it properly)

4. Find appropriate HTTP Connection sample code for your development platform.

I am able to connect to the site using the service account through the code.

but GET/POST request I dont know how can I make it if I dont know which webservice to retrieve

 Please help me.


how to consume wcf 4.0 rest services in asp.net MVC



how to consume wcf rest services in asp.net MVC? there is any standards are available?

in my project SOA, so all the data came from wcf 4.0 rest services if there is any coding examples or resources to consume wcf services in MVC 2.0

Does SSL activation in Reporting Services 2005 exclude the use of http in favor of https ?


Hello SSRS Community,

I would like to know if the activation of SSL (Secure Socket Layer) allow the use of both HTTP and HTTPS to access the report server

I have been asked by a web developer in my company to check if in SQL Server 2005 reporting services the activation SSL makes it possible to access the Report Server with both HTTP and HTTPS.
For example:
1. Without SSL activation you can use http://ServerName/ReportServer to access your report server
2. Once SSL is activated, we are wondering if it will be possible to access the Report Server with the following two links:
a. https//ServerName:443/ReportServer

Thank you


Creating a new library using SharePoint Data Services (REST)


How can I create a new library/list using sharepoint data services (SDS)? I'd also like to add items in the newly created library programmatically using SDS? Is this possible at all?

How do I use x-http-method-override for a REST service in WCF 4.0


Back in WCF 3.5 using the WCF REST Starter Kit, I was able to create a request interceptor to handle x-http-method-override headers for clients that cannot send PUT or DELETE commands.  How do I do the equivalent in WCF 4.0?

EndPointNotFoundException was caught: "There was no endpoint listening at http://xxxx/xxx/Services/M


When I using a windows service call WCF service, exception happened.

There was no endpoint listening at http://xxxx/xxx/Services/MyService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

I have tried http://xxxx/xxx/Services/MyService.svc from url and it is shows its WSDL.

The WCF service in another domain, local machine who invoke web service is Win7, and service is win8.

Following is my configuration:


      <binding name="BasicHttpBinding_IFqlService" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" receiveTimeout="00:05:00" sendTimeout="00:05:00" closeTimeout="00:05:00"> 
      <security mode="TransportCredentialOnly"> 
        <transport clientCredentialType="Windows">
          <extendedProtectionPolicy policyEnforcement="Never" />       
      <readerQuotas maxArrayLength="2147483647"/>      
      <binding n
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend