rest

Joins with SubSonic's REST handler

I've just been playing around with the REST handler and frankly I love it. 0 lines of code and my data is accessible via HTTP? Got to love that. Anyway, the only thing I'm not sure of is whether or not I can access data from more than one table with a REST query via the REST handler. I have header records and data records with a one to m...

Alternative bodies for HTTP PUT

Dear list, I'm developing a REST-ful webservice, and I have a question about the HTTP PUT method. I want to allow people to submit content using a application/form-data request body. However, the default response will be in application/xml. Is this acceptable? Evert ...

Updating my Model in MVC pattern to WCF REST - Services Layer Implementation

I have a MVC pattern in place where I have been developing WinForms and WebForms against. Now, I would like to move onto Silverlight and thus need to 'web services'-enable my Model layer. Where do I start? I can't seem to find any good resources. Many talk about EF or ADO.NET Data Services. What do I need to do to my Model layer t...

wcf rest starter kit 2 - uri template

can anyone tell me where in the rest starter kit 2 how I modify the uri template to accept two parameters? so the uri will be ... http://localhost:25000/Service.svc/5/3 where 5 will be the employee id and 3 the department id. For OnGetItem I am not sure where to modify the template anymore? Thanks ...

wcf rest starter kit 2 ICollectionService<ITem>

I have created a Rest collection WCF Service using the starter kit. Everything is fine except i need to modify the OnGetItem(string id) to accept an additional parameter such that the URI becomes http://localhost/service.svc/1/5 where 1 = department id and 5 = employee id I can see the ICollectionService within the abstract class co...

wcf rest starter kit 2

How do I modify the description of each item in the help page when using the rest collection template? ...

RESTFull JSON response from asp.net page

Instead of using the web services infrastructure provided by .net, I was wondering what your take on rolling my own asp.net page that you can post data to (I guess all the cool kids are calling this REST,) and retrieving a JSON response from. Is there additional overhead in using an aspx page for this purpose that i'm not aware of? ...

Unresolved Host Exception Android

I'm trying to call a RESTful web service from an Android application using the following method: HttpHost target = new HttpHost("http://" + ServiceWrapper.SERVER_HOST,ServiceWrapper.SERVER_PORT); HttpGet get = new HttpGet("/list"); String result=null; HttpEntity entity = null; HttpClient client = new De...

Is RESTful faster than SOAP? and when to use one of them?

Duplicate: This is a duplicate of "What are the best uses of REST services?" and many others. Please close it. In web development: Should i learn RESTful services very well and make all my future projects using it? Is it faster than SOAP services? When to use which? There is certain cases i should use one of them and others no? ...

RESTful WCF service over standard WCF Service

What is the main difference between RESTful WCF service over standard WCF service? I am not sure where and why to use it and are there any extra advantages of it? For our current project we are going to use ASP.net MVC, so will RESTful WCF be any helpful from that point of view? Are there any specific disadvantages of using RESTful WCF...

Tool to generate WSDL 2.0 for RESTful URLs and document schemas?

I need to make a web "service". Since the primary use of this service is going to be to read and write some data that can be encoded as XML documents (the same data both ways), I want to do this as REST interface. Since I will be asked to provide WSDL, is there a tool to ease the pain of this? Is there something that will let me provi...

How do I get a Rails link_to_remote tag to make a DELETE request when JavaScript is disabled?

I'm using the following code as a link to delete a todo in a simple todo list application I'm making: <%= link_to_remote 'delete', {:url => complete_todo, :confirm => 'Are you sure?', :method => :delete}, { :href => url_for(complete_todo), :method => :delete } %> It works fine when JavaScript is enabled, but when it's disabled it make...

iPhone API for Accessing Amazon S3 REST API

Does anyone have any suggestions for GETing from or POSTing to Amazon S3 services using their REST API via the iPhone. It does not look like it is possible but I may be reading the docs wrong. Thank you in advance for your help! L. ...

how to get a the value of an http post as a whole? parsing restful post

Is it my ideea or in rest-web services a post comes "with no name", so say something... I mean, is the post the whole body, minus headers??? so, how can I parse such a post message with java? do I have to use HttpServletRequest.getInputStream? http://www.softlab.ntua.gr/facilities/documentation/unix/java/servlet2.2/javax/servlet/htt...

"Simple" app server setup under Mac OS X Server?

With Mac OS X Server's included (or freely available) tools, a background in Objective-C and some rusty familiarity with scripting languages...how might one go about "easily" employing REST**ful **JSON services under Mac OS X Server? This is mostly for prototyping so simplicity and GUI tools are appealing though not at the expense of a ...

IPhone consuming restful WCF service

Hello I currently have a simple WCF service running with one get request which returns XML, http://a446062738bb4f0aa2d8fd975aac602f.cloudapp.net/Service1.svc/GetALLPictures/10... Im trying to use [NSString stringWithURL:] to populate the string with the XML content, however this is not working, ive tried using Unicode and UTF8 encoding t...

Proxy for RESTful WCF service

My standard WCF/ RESTful service is going to return big complex object. In WCF as and when someone adds the service reference it creates a proxy of it, i.e. I am exposing data contract to client and its strongly typed at the client level. How are we going to do with RESTful service, is there anyway to the same for RESTful service. ...

Is the WCF REST Starter Kit dead in the water?

We are looking at switching from using WCF for our service layer in applications to REST. So far we are assuming that the way to do this is to use the WCF REST Starter Kit. However this is still in Preview 2 and hasn't been updated since March 2009. Is this project dead in the water? If so, what alternatives do we have for creating .N...

Is RESTful WCF service a fully released version? it comes as Preview_2

Is RESTful WCF service a fully released version or its a BETA version, because when downloading the msi is 'WCF_REST_Starter_Kit_Preview_2.msi'. What does this Preview_2 means? ...

WCF WebInvoke ResponseFormat

Hello I have a WCF restul service and I want to allow the user to choose what request format they want, i have the decorations [OperationContract] [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Xml, BodyStyle = WebMessageBodyStyle.Wrapped, UriTemplate = "getstreamurl?ch={ch}&format=xml")...