I currently have a Google App Engine app consisting of two parts:
A website using old school JSPs
A RESTful service implemented in Jersey
I've been trying to figure out how to shoehorn authentication into the web service but am rather lost since I've never used Spring before, and it sounds like that's the way to go.
Must I use Spring,...
Hi there,
I have just done some tests and i have manged to get ReadAsDataContract working on the Response.Content method...
The thing that really is confusing is that i thought it shouldn't work yet! As my classes are NOT decorated with the DataContact or DataMember Attributes.
I am confused, reading the various tutorials around the ...
I'm attempting to iterate through all User Profiles in SharePoint 2010 from a Silverlight application that will be added to a SharePoint page. Based on what I've learned, the User Profile Service is different than the SharePoint Website's store of a list of users who are "members" of the site or have ever visited it. To get that list of ...
Missing my Rails map.resources and wondering how I can implement something similar in ASP.NET MVC 2.
Thanks
...
Is there any reason that AuthenticityToken would be ignored when executing a REST HTTP request using curl?
curl http://localhost:3000/Asset/9f3cb180-e410-11de-8a39-0800200c9a66.xml -X DELETE
The above will execute remove an Asset of the given ID from the database with no regards to what the AuthenticityToken is (usually nil).
class ...
I was just wondering what other cool web service API out there that we can use besides the following:
1. Foursquare
2. Facebook
3. Twitter
4. Google & Bing Map
5. NetFlix
6. LinkedIn
What other ones can you find?
...
Hi there!
In this tutorial's processRequest method:
...
switch ($request_method){
case 'get':
$data = $_GET;
break;
case 'post':
$data = $_POST;
break;
...
looks like $_GET variables are ignored when $_POST happens (at least this happening in my test setup - not the same script but idea is similar).
...
I'm currently writing integration tests for a RoR REST API using cucumber.
I'd also like to stress-test the API and was wondering how I might be able to re-use my cucumber scenarios to do this.
I've used JMeter and httperf before for stress-tests, and of course with both tools had to write or record the tests that I wanted to include...
The problem:
When the user clicks on www.example.com/myapp/myview?id=1 I need to display the item with id=1 which is in the database. To do that I need to execute bean methods. (Ideally the user would have to login first if not in cookies and then redirect but that's another problem).
I'm using Richfaces 3.3.3 with JSF 2.0 (So VDL is d...
I am trying to convert my Rails 2 app to Rails 3, but I can't delete any resources using my old Rails 2 code. To be precise I am trying to delete a resource, using this link:
<%= link_to image_tag("misc/delete.png"), @book, :confirm => 'Are you sure?', :method => :delete %>
And yet it doesn't work at all! It just behaves as if the :co...
I've been playing around with WCF and I have managed to a WCF service to generate both SOAP, POX, and JSON formats pretty easily based on this example (I added the soap config).
http://www.c-sharpcorner.com/UploadFile/ashutosh.shukla1/3040/Default.aspx
And I see that if you add a timestamp field to your data base tables you can actuall...
Lets say; I am developing a Web Application which talks to a RESTful web service for certain things.
The RESTful web service isn't third party, but is being developed parallely with main application (A good example would be, E commerce application and payment processor; or Social network and SSO system).
In such a system, acceptance(c...
I'm successfully pulling back my objects however, I would like for them to already be sorted by a field in the object.
I have this working:
new Ajax.Request("/dn/com.emooney.meeting.beans.Meeting?groupName=='"+name+"'"
But I want to do something like this:
new Ajax.Request("/dn/com.emooney.meeting.beans.Meeting?groupName=='"+name+"...
Hello,
I have readed your post about SoapMessage.
I don't know if you can help me but i have a REST Service POST call that I must consming from my app on IPhone and using your code receive always same error : "The server encountered an error processing the request".
If I use GET calling all is right but with POST data I receive this err...
I'm working on a REST webservice, and in particular authentication methods for browser-based requests. (using JsonP or Cross-domain XHR requests/XDomainRequest).
I've done some research in OAuth, and also Amazon's AWS. The big drawbacks of both is that I need to do either of the following:
Store secret tokens in the browser
Let a ser...
In the drafts of JSF2 one of the goals was to implement JSR 311 (aka REST features).
But there is no documentation about it or if it's already implemented in JSF2 or how to use it.
Any more info about this?
Thanks.
Update
I've found this artice from Andy Schwartz about what's new in JSF2 with some examples. I think that JSF2 does n...
I have a simple RESTful web service written in JEE 5. It works fine but I've decided to output JSON from the GET method. As an initial step I've only add one line of code:
ObjectMapper mapper = new ObjectMapper();
That one line results in this error:
48d5-9878-2ef7c0a948c4;|StandardWrapperValve[Jersey Web Application]: PWC1406: Servl...
I am trying to deploy a simple "Hello World" .NET 4.0 REST-style WCF service on WinXP (IIS5). It works fine in Cassini.
I tried to adapt the info here to me:
http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx
but something is not clicking. Can anyone lend ideas or comments? Yes, I must stay with WinXP.
Thanks...
how to return the correct representation based on URI
example
/text.json should return json
/text.xml should return xml
/text should return plain text
All these are mapped to the same method
@GET
public Contact getContacts()
{
}
...
Shazam on my Android phone works great. Now I'm looking for an api for Shazam or a similar service.
This service should take a small part of a song and should return the metadata of the song. (title, artist)
...