Questions tagged [restful-architecture]

RESTful, or representational state transfer, is a style of software architecture for distributed hypermedia systems such as the World Wide Web.

Representational state transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web.

REST attempts to describe architectures that use HTTP or similar protocols by constraining the interface to a set of well-known, standard operations (like GET, POST, PUT, DELETE for HTTP). Here, the focus is on interacting with stateless resources, rather than messages or operations.

1187 questions
0
votes
1 answer

Parsing REST vs SOAP web services

I am working with a public RESTful API. The service works great but I couldn't find WADL anywhere. So, upon receiving the stream, I just use the standard DOM to parse it and convert it into my POJOs (org.w3c.dom). A couple of years ago, however, I…
amphibient
  • 29,770
  • 54
  • 146
  • 240
0
votes
1 answer

Webservice for mobile Application using REST Service in PHP

I have to create a webservice for mobile application(IPhone and Android) in Rest Service. This Application is based one E-Publishing. I try some REST service based on SLIM . I can able to add a data into db and also retrieve the data from DB. I use…
Suresh kumar
  • 2,002
  • 1
  • 19
  • 28
0
votes
1 answer

Apache ODE, BPEL, Invoke RESTful API

Apache ODE documentation seems to support this i.e. invoking/orchestrating RESTFul APIs. No examples sources available on their site and even after trying hard on Google couldn't find anything useful. Can someone help me to find a direction? I'm…
ask-dev
  • 606
  • 2
  • 13
  • 30
0
votes
2 answers

404 exception with restful web service jersey

I just installed netbeans on my mac (os x lion) and i'm trying to create a restful web service with jersey. When I go to my localhost:8080/HelloWorld/test/printHello I get a 404 Exception...so I thought i'd look into my web.xml..but I can't find the…
0
votes
1 answer

Which HTTP response code is most suitable for this situation?

I'am writing an API to make users can subscribe to things. An user can subscribe to anything via submitting a POST something like this: { "item_id": "c13", "requested_status": "subscriber", "sure": true, } Here you can see a sure…
Mirat Can Bayrak
  • 631
  • 7
  • 18
0
votes
2 answers

Error with restful services

Working on restful webservices. Getting the following error while invoking rest ful service but Integration test is working for same request. Error: SEVERE: Jul 15, 2012 8:59:10 AM org.apache.cxf.jaxrs.utils.JAXRSUtils readFromMessageBody SEVERE:…
TP_JAVA
  • 1,002
  • 5
  • 23
  • 49
0
votes
0 answers

server side database handler script

We are pushing data from Linux device via Python to a RESTful API at cosm.com. We would now like to implement the data handling and storage of this to our own server. In particular, the HTTP PUT method is used to push to the site's API. I am an…
Shown
  • 201
  • 1
  • 2
  • 7
0
votes
2 answers

RESTful - GET or POST - what to do?

Im working on a web service that i want to be RESTful. I know about the CRUD way of doing things, but I have a few things that im not completly clear with. So this is the case: I have a tracking service that collects some data in the browser…
sunebrodersen
  • 309
  • 5
  • 16
0
votes
2 answers

RESTful resource representation - human web vs programmable web

I'm designing RESTful resources for accessing media. Media could be a live stream or archived stream. I'm using O'Riellys text "RESTful Web Services' as a guide but I'm struggling with the representation of resources relative to the…
ma740988
  • 11
  • 3
0
votes
2 answers

Architectural Design of Restful API Server

I'm creating a Restfull API Server using Spring 3.1 / Hibernate / Jackson. I have a 'Purchase' Controller/Model/Dao. I now need to add the ability to 'Tag' a purchase. So a simple class with a 'tagId' and 'tagName' linked back to the 'Purchase'. A…
Thomas Buckley
  • 5,836
  • 19
  • 62
  • 110
0
votes
1 answer

Posting T with RestSharp to MVC4 api server gives null object

I have this common CUser class public class CUser { public String Username { get; set; } public String Password { get; set; } } Then I have this code on my client that uses RestSharp public void CreateUser() { RestRequest…
Mech0z
  • 3,627
  • 6
  • 49
  • 85
0
votes
2 answers

REST Webservice - Sample Code - Gives HTTP 302 response

I am just trying REST webservice; Standard Sample; While I am able to create the war and load it into WSO2 AS, when I try to connect it with client I get a response of HTTP 302; I was wondering where the mistake could be; Following are my file…
0
votes
2 answers

For performance, Spring webservices or pure restful jersey even if i use MVC?

im using spring MVC and webflow to create a game server and serve some web pages to the users. Thing is, the javascript game will also make multiple ajax calls to restful services on the same server for some game logic. While the web page serving…
JayDee
  • 949
  • 1
  • 13
  • 20
0
votes
1 answer

Retrieving database meta information using Java EE/JPA

I need to be able to retrieve database information from any type of database and return this information via a restful service (using Glassfish and JAX-RS). The information I need includes: Database names Table names Column names and properties I…
0
votes
1 answer

How to implement a RESTful parent/children form in Rails?

My application is used by parents and their children. I should like to allow a parent to edit details about their children from their account page. I envisage a single form where the upper section contains fields about the parent and the lower…