rest

ASP.NET Development Server - logfile location

When trying to get a RESTful WCF service POST to work in ASP.NET we are seeing the following error message in the browser: The server encountered an error processing the request. See server logs for more details. We are using the ASP.NET Development Server - does anyone know where it keeps its log files? ...

Is there a lightweight, embeddable, key/value database? (something like diet couchdb)

Hello, I was wondering if there was a lightweight, embeddable, key/value database out there. Something like a lightweight Couchdb (RESTful, key/value, etc) where you just send it the key and it responds with appropriate values. Thanks! ...

how to consume a rest web service from SQL Server.

I have the following scenario some real basic rest web service mainly, I'm just checking the existence of a single record, it's just a single validation, I'm not moving around hundreds of rows... that should be called from sql 2005, sql 2008... and yes sql 2000 and sql 6.5 (ouch!) I guess with sql 2005 and 2008 I could implement an as...

Is That REST API Really RPC? Roy Fielding Seems to Think So.

A large amount of what I thought I knew about REST is apparently wrong - and I'm not alone. This question has a long lead-in, but it seems to be necessary because the information is a bit scattered. The actual question comes at the end if you're already familiar with this topic. From the first paragraph of Roy Fielding's REST APIs must ...

implement RESTFUL webservice with php

I need some better understanding on how to implement REST services with php From what I have read sofar, they say "use logical adresses" and preferably don't use get variables at all. What I don't see is how these url's are getting processed. Like www.somename.com/product and product is supposed to be not a physical address. I mean, y...

Thumb-rules to decide between web service implementations: SOAP / REST?

Are there any thumb-rules to decide between two schools of thought: SOAP and REST? ...

Null argument values passed from HTML form to WCF REST function

I have created a RESTful WCF service with a method that will be used to save data using a POST. I want to test this method from an HTML form. The following HTML form and interface definition (and related .cs code) result in the SaveTest function getting called when I hit the form Submit button, however the one argument id is always set t...

how can I get the segments off the uri

Hello, My question and the thing that goes wrong is when I have two segments example: www.xxx.nl/products/id and I have this in the htaccess RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] is there a solution, or is this caust by the host thanks ...

When implementing RESTful services should lookup values / tables get their own URI?

I am creating RESTful services for several database entities based on a modified version of the BISDM. Some of these entities have associated lookup tables, such as depicted below: The lookup tables are associated with one and only one table. Additionally, the lookup tables will be used by the client application to populate dropdown...

how can I parse xml data in php

Hello, I am trying to find out how this would work For testing purposes, I have made two websites. One is calling a REST service from the other I pull the xml data with file_get_contents if I echo it, I can see a string off data. But how can I use simpelxml on it, extract data from the nodes themselves? If I use simplexml_load_fil...

What could be the reason that my custom REST serializer is not working?

Both methods MyBehavior::CreateSerializer() are not called of some reason, but ReplaceBehavior() method is working. It is changing default behavior with my custom one. Do someone know where could be the problem? The point is to write custom REST WCF serializer that should generate non-XML text format result. public class MySerializ...

Best Security Framework to secure and authenticate an iPhone app which uses REST?

I built an iPhone app which transfers data via a REST web service (Jersey) via JSON objects to a Java middle tier back end... Question(s): (1) What is the best way to secure the login / authentication of this iPhone App? (2) Is there an open source or commercial framework used to acquire this type of functionality? So far I have com...

problem with sending xml (declaration xml) with php

Hello, my question is actually What kind off structure would I use to send xml as part off a REST service if I have most off the logic in a class. I call/include the class at the top off my php index page if it becomes clear a service is being requested. Someone mentioned to me that a class method should not output anything. Then wher...

REST Client Implementation Embracing HATEOAS Constraint?

Does anybody know of an implementation of a REST client that embraces the constraint of Hypermedia as the Engine of Application State (HATEOAS)? The Sun Cloud API seems to be a good candidate, judging from the way it's documented and a statement by the author to the effect that Ruby, Java, and Python implementations were in the works. B...

Testing RESTful API with Cucumber in a front end less application.

Hi I do not have any front end in my app. I am willing to release just a RESTful API which can be used by different clients. Any pointers how should I proceed towards testing it with cucumber? Every action in the controller generates XML feed only. Any pointers or suggestions? ...

How does this map to a RESTful interface?

I'm building a little tool to help people decide on group activities, like what restaurant they should go to for lunch. My objects are events, options and preferences. An event has several options, a user can rank the options on an invent in order. So a user's votes may be 1:option B, 2:option A, 3:option C. My question is what is the b...

Should rails ajax calls be bundled into their own separate controller?

Should AJAX calls that are not RESTful be: put in the controller that most suits their functionality/view, or bundled together into their own separate 'Ajax' controller? I've been doing 1, but I've just read this (2725 diggs) article http://zygote.egg-co.com/10-dirty-little-web-development-tricks/ (see point 9) and this chap opts f...

Create dynamic xml and send it with php class

Hello, my question is how I can send clean xml from this class. It is simplified, so there is the least off trouble that could have been caused by other things. The problem now is that the error says that the xml declaration should occur at the top off the document. What is the right way to avoid this kind off errors? Is there some php...

Real world guide on using and/or setting up REST web services?

I've only used XML RPC and I haven't really delved into SOAP but I'm trying to find a good comprehensive guide, with real world examples or even a walkthrough of some minimal REST application. I'm most comfortable with Python/PHP. ...

Most RESTful Authentication Approach - Who is using it?

Duplicate: this must be a duplicate of one of the questions that come up in the following search: http://stackoverflow.com/questions/tagged/rest+authentication. Please close it as a duplicate if you agree, and add any answers to one of the other questions. What is the most RESTful form of authentication? What websites use it? (so I ca...