I have to use OAuth for my Android client and I have found that the learning resources are pretty rare or inadequate for this technology.
Does anybody know a good book/tutorial/online resource to learn OAuth?
Thank you.
...
I'm pretty new to JBoss and Seam. My project has a REST service of the style
@Path("/media")
@Name("mediaService")
public class MediaService {
@GET()
@Path("/test")
public Response getTest() throws Exception {
String result = "this works";
ResponseBuilder builder = Response.ok(result);
return builder...
I tried to create a OData web service using VS 2008 without any luck. I downloaded ODataDemo from Odata.org, installed Microsoft .NET Framework 3.5 Service Pack 1, and ADO.NET Data Services Update for .NET Framework 3.5 for Windows XP. However, I don't see any reference to ADO.NET Data Services Framework. When I tried to add a new ADO.Ne...
What options exist to consume a REST web service from within Excel 2007 / 2010? I can use XML Maps to consume a basic XML list, but that doesn't let me build a dynamic URL (so I could include parameters).
For example, I can add an XML Map to Excel for http://machine/service/level/5 and display the values in the workbook just fine - no ...
Input a query, and Google's API will give me an XML of results?
...
Hi All,
Scenario:
I'm working on a web services project. It supports SOAP and REST. The SOAP request and response are handled by XmlObjects. The REST architectures uses plain POJO's for request and Response. I have a common controller to handle the request from SOAP and REST. This controller understands a common object (Request Object)....
how can i get a xml file when i pass a parameterized url
...
Hello I try to create a struts2 based webapp that is using the rest-plugin and the tiles-plugin together. This works fine for me exept when i using validation.
I have a login Exception with an create method for the validation like this.
@Validations(requiredStrings = {
@RequiredStringValidator(type = ValidatorType.FIELD, fieldN...
Hi,
My question is specific to oodle API.
I am trying to call oodle API to get the JSON result like this:
$.getJSON("http://api.oodle.com/api/v2/listings?key=TEST&region=sf&category=sale&format=json&mappable=address&jsoncallback=none", function (data) {
alert(data);
}
...
I am using WCF REST Start Kit for Visual Studio 2008 or .Net 3.5. The example service will be able to get clean xml result like this:
<SampleItem>
<Value>SampleValue</Value>
</SampleItem>
The SampleItem is a simple class with Value property in Service.scv.cs. Then I tried to use a customized class like
[global::System.Serializable(...
I have a WCF web service defined as follows
[OperationContract]
[WebInvoke(
Method = "GET",
ResponseFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Bare,
UriTemplate = "Assets/{assetId}/Reports/{startDate}/{endDate}")]
JQGridDataStore<Report> GetReportsForAssetFilterByDate(string assetId, string startDate...
Hi, all.
Has anyone used a REST-based approach for ETL / Datawarehousing operations? In other words, invoking ETL and OLAP / Database refresh jobs through REST webservices calls:
e.g. PUT http://company.com/cube/123523 (to refresh a specific OLAP cube with new data)
or POST http://company.com/view/patients/123123 (to create a new da...
Hi,
All I want to do is to send a URL String into my RESTFUL web service with some kind of code like this
URL someURL= new URL("http://myWebService:port/service/"+CharSequence.getText());
Its all going well until I found error with space character in my URL. I found some solution about replacing the space character with %20 which is I...
On my Tomcat-Spring-Java project I want to have the following URLS
/index - to display entry page
/login - Login page
/cars/ - list the available cars
/cars/{id} - show a particular car
/cars/{id}/action - do action on this particular car
/people/ - list the available people
/people/{id} - show a particular person
/peopl...
I've been looking at JavaScriptMVC, and I'm pretty interested in the idea. I'm wondering, though, if there are any ORM solutions for such an architecture. It seems like you will end up having to write two data access layers, one server side to fetch items from the database and one on the client side to retrieve items via AJAX.
My ques...
How would you consume a RESTful API using Java with probably just the standard packages? For ex: Twitter API. I know there are great Java libraries to access it, but how would you start from scratch?
...
I'm doing a rewrite of an old Rails application and I thought I should do it in a RESTful manner, as a learning experience if nothing else.
I've reached some actions that toggles a boolean value, for example if an article is published or not.
Before I had a couple of actions: toggle_published, publish and unpublish.
They were very eas...
I have a REST API written in PHP located on Apache server. It takes as a parameter a file (15KB). When I call this API from J2ME application it does work fine. Moreover when I wrote a API client in C# it worked too fine.
But now I have this second server with Lighttpd. I copied my API to this server and called it from C# app and it wor...
I am using WCF REST Start kit to build a RESTFul service. I defined a service like this:
namespace MyNS {
[ServiceBehavior(IncludeExceptionDetailInFaults = true,
InstanceContextMode = InstanceContextMode.Single,
ConcurrencyMode = ConcurrencyMode.Single)]
[AspNetCompatibilityRequirements(
RequirementsMode = AspNetCompatibil...
I'm building a picture diary on web application google app engine using python. Users can sign up and post pictures to their diary.
Also, I'm trying to conform as much as I can to the REST architecture of doing things.
The authentication scheme is based like this for the web application:
1. Post username/password from the fronten...