rest

WebDav troubles for restfull WCF web service

Hi all, I created a WCF restfull service in .NET 4 and I published it under IIS 7.5/windows 7 x86. The verbs GET and POST worked fine, but the DELETE and PUT gave an error: Error: The remote server returned an error: (405) Method Not Allowed. After googling (a lot), I've found out that the problem is caused by WebDav module which ...

Can I use restful as website data service?

90% information in website are static and updated by daily batch job. I am wondering I could use restful services for multi websites? If only 10% information is static, should I use it as well? Dose any body has used restful as data services for public website? My main website 's page view is round 10k/hour. Thanks ...

Mapping xml-attribute using resteasy

Hi all. I'm using resteasy and have some problem. There is some service on remote server. For example, when I go to url "http://some.site.com/Login/my_login/my_passowrd" service returns me xml: < LoginToken> < success>true< /success> < token>23324473-897b-408b-b096-bf2cddad33< /token> < /LoginToken> I've wrote class for mapping:...

authentication in wcf Rest

I have one solution and it is made of two kind of project one is asp.net and it's using .net membership for authenticate the users another project is WCF REST (Odata) , how I can authenticate the user in wcf project? ...

REST development plugin for browser with all HTTP methods

Is there a plugin for any web browser which gives you a GUI to perform PUT's, DELETE's etc? I've written a navigable REST app, and I would like to be able to poke around a bit with my browser to try it out and to demo the API, but since they all lack DELETE and PUT it becomes cumbersome. ...

How to post a bug using Bugzilla REST API

How can I report a bug with bugzilla rest api? The following document states that the bug object or a some of its fields must be included in POST body. I have tried adding the fields as POST method parameters but i get this error "No data supplied for create" with status code 400. My question is that how can I include a bug object or som...

The best way to implement REST in CakePHP 1.3?

Does anyone know of any tutorials that explain clearly how to implement simple REST functionality with authorization. I've seen a few plugins and got also got some basic REST functionality working but there seems no clear guidelines about how to build a secure REST service in Cake. Any help appreciated. ...

Is django-piston mature enough?

Hello. I'm developing an advertising site. Want to use Web-Services for the requests. I mean, a publisher site will put a JS snippet and it will pull a banner through a REST GET. Is this framework mature enough to implement this functionality? Thanks ...

Intermediate Ramaze Routing Help Please

Part 1: I have a call to layout(:default){|path,wish| wish !~ /rss|atom|json/} but requests to /foo/bar.json seem to think wish is html and uses the layout anyway. How can I fix this? Part 2: I want to route /path/to/file.ext so that it calls the method to on the controller mapped to /path and uses ext when formulating the return. Is ...

Accepting XML as method parameters in WCF RESTful Service

Folks, I'm about 90% of where I want to be with my WCF RESTful service but I'm having a little trouble with figuring out a good way to do POST data. I want it to work the way it does in the MVC engine where the body of the HTTP message in the POST is run through the model binder and it tries to convert that data into the data type of t...

Cheapest way (platform/language) to implement a RESTful web API for an iPhone app?

I am developing an iPhone app and would like to create some sort of RESTful API so different users of the app can share information/data. To create a community of sorts. Say my app is some sort of game, and I want the user to be able to post their highscore on a global leaderboard as well as maintain a list of friends and see their scor...

Best way to handle this RESTfully

I have a Scouts model that requires two actions in addition to the standard REST actions, check_in and check_out. So I have my route as: resources :scouts do member do get 'check_in' get 'check_out' end end But I need to display the show.html to the user, with a link to check_in the Scout or check_out the scout. In order ...

Restful service in .NET with WADL instead of WSDL

Hi all, I used WCF to create a restful web service in .NET, by means of a .svc file. The web application automatically produces a WSDL file. AFAIK, the WADL is more natural for a restul web service. How could I create a restful service in .NET (preferably with wcf) that produces a WADL description? Note An answer like "RTFM" is acce...

Requirements for a WS to be considered restful

Hello all, in an answer from http://stackoverflow.com/questions/1261954/what-gets-classified-as-a-restful-web-service it is stated: There are a number of other constraints that a service must respect in order to be considered RESTful Where could I find the list of constraints? Thanks. ...

is there something equivalent to java JAXRS in c++

looking for RESTful engine in c++ ...

REST WebService to serve images dynamically?

Consider 3 Jpeg files image1.jpg image2.jpg image3.jpg For a given URL and a set of parameters, I would like the server to select and return one of those images. I'm working in a JEE6 environment. What approach would you recommend? A JSF redirect? A REST WebService? A good old servlet? ... ? Any suggestions welcome! ...

Multiple authentication schemes for HTTP 'Authorization' Header

For our api user we need two styles of authentication: authenticate the api-user (mobile-device, partner integration) authenticate a specific "normal" user, which owns data on our side The standard challenge vs. response is handled through WWW-Authenticate and Authorization Headers. I want to reuse this. I have following use-case: O...

Creating a Groovy Portlet

Hello - I am getting started researching / creating a groovy portlet that will connect to a REST based ESB service that returns JSON; I will also need to pass the username in the headers. I was wondering if there are any examples out there on how to create the portlet and set the headers? I am new to groovy and from what I understand th...

Is it possible to install and use OpenRasta without IIS? If so, how?

Is it possible to install and use OpenRasta without IIS? If so, how? ...

How can I get Spring to properly marshal XML value into a Java date?

I'm using Spring 3 to create some ReST services. When POSTing XML, Spring handles String fields but won't convert Date fields. Here is an example: @XmlRootElement(name = "TestObj") @XmlAccessorType(XmlAccessType.FIELD) public class TestObj { @XmlElement(type = Date.class, name = "Birthdate") @XmlJavaTypeAdapter(BirthdateXmlAda...