Hey guys!
I am searching for a service which will provide me with the functionality of S3 but for self hosted use. It seems like something simple which must have been written and perfected a bunch of times. I have these machines with 2000 GB drives in our servers anyways and the connection is good enough for my purposes.
Thomas
...
Hi!
I'm trying build my application using REST and Spring MVC. For some entities I have special page for update. After data submit it validated. If there are no errors it's redirecting to view of this entity otherway to edit page. haw I must pass data (entity and validator result) between controllers?
here implementation with some ve...
When would you need to adjust these two settings (below)? And what do these two numbers mean for HttpWebRequests that I make?
System.Net.ServicePointManager.DefaultConnectionLimit
System.Net.ServicePointManager.MaxServicePointIdleTime
Are ServicePoint objects specific to a domainname or each unique URI requested?
...
I want to access the "subjectDN" from the client-side certificate, i.e., fetch the user data (common name, email, etc) from the certificate, but am not interested in the authentication part.
If I would use a servlet, I understand that I can read the certificate sent in the request header using something like
(X509Certificate[])request....
Hi,
I'm having a hard time to get a simple RESTful web service application working with my C# REST client. I'm trying to send pure XML using the POST method.
I have created a WCF Rest Service which is up and running (I can see the Service test page in my browser). Also I can call my WCF Rest Service via Fiddler and it responds correct...
I have written a service that I would like expose both via rest and soap. Everything I read about WCF 4.0 says that I just need to expose 2 endpoints with differing behaviors to do this. But I cannot get it to work.
Here is my service contract:
[ServiceContract]
public interface MyService
{
[OperationContract]
[WebGet(UriTemp...
Hi,
I'm trying to find relevant best practices/specs/literature/etc. to the general problem of using a restful API (say, a standard Rails app) behind a non-restful facade, like a XMPP API or a websockets channel.
For example, I've got a restful Rails app, and I want to expose a read-only asynchronous interface. It's pretty straightforw...
I need to program a stateless server to execute remote methods. The client uses REST with a JSON parameter to pass the method name and its parameters. After servicing the result the session is closed. I have to use Indy10, TCP/IP as protocol, and therefore look at using IdHTTPServer.
Large result sets are chunked by Indy10 and sent to t...
I am modeling a REST API and part of the API will represent resources that are
organized into an arbitrary hierarchy of nodes with values and sub-nodes (kind
of like a file system or the windows registry).
I would love to create a WADL file so that i can generate the JAX-RS boilerplate
for the API but i'm not sure how to represent such ...
I have a very irritating problem. I'm working with a list of documents, but it's too big for the web service to handle correctly. Basically, it's a simple setup:
An entity framework wraps around a table that contains thousands of large XML files as Text fields, with additional data. (1 GB in data.)
A DataServiceHost REST service wraps ...
Hi all,
Let's say that I have specified the following WCF REST Service at the address "http://localhost/MyRESTService/MyRESTService.svc"
[ServiceContract]
public interface IMyRESTService
{
[OperationContract]
[WebInvoke(
Method = "POST",
UriTemplate = "/receive")]
string Receive(string text);
Now I can call my REST service in Fid...
Is there any way to get Twitter user email from Twitter API?
Facebook (FBQL) provides this data in the hashed form so that you can encrypt email and then compare to hashed one.
...
Using: Glassfish v3. Httparty 0.6.1 & 0.5.2.
I'm starting glassfish using "mvn glassfish:run" (maven-glassfish-plugin) Everything works in the application.
This url works in RESTClient, cURL, and in the browser, but when I try with httpparty at the command line, I get this:
$> httparty -v "http://localhost:8080/parakeet/tickets/111"...
Hi There,
Does anyone know of a good screencast, walkthrough or tutorial for creating WCF Restful services in VS 2010?
I found the starter kit, but this appears to be for .net 3.5 / VS 2008.??
Then i found via the extension gallery a WCF Restful services template for VS 2010... THis appears to be what i need, but i have no idea of whe...
the api I'm working with is here:
I'm able to log in fine and get back an auth token, but cant figure out how to do anything that requires a token. I get back a forbidden response when I try to get or post a private URL.
they give an example of the request that needs to be sent using curl:
curl \
--header 'Authorization: User...
This is a continuation on this question:
The problem is simple. I need to call methods from a REST web service which controls several tables. One table is a snapshot table which contains records with huge XML files. Each XML file is basically a backup from another database. This backup XML is then sent to customers who use the data as re...
For example imagine I've a rest service, this service takes two parameters :
phone number
text
The goal is to send the message via a sms gateway.
I've a class Message which has two properties destinationNumber and textMessage.
Before calling the gateway, I want to validate the data received by the rest service.
I've two questions r...
I get an 'An error occurred while processing this request' Exception when I try to Save some changes from my WPF-Application to a WCF-Data-Service. Loading all Records works fine, but saving them doesn't work.
Hope you can help.
public partial class MainWindow : Window
{
private DBEntities _dbEntities;
public MainWindow()
...
I have code like this:
[Fact]
public void should_return_at_least_3_users()
{
Rest.Call("http://localhost/admin/users/makeasfree/3");
var response = Rest.Call<List<Users>>("http://localhost/admin/freeusers");
response.Count.ShouldBeGreaterThan(0);
}
I've tried to surround this with TransactionScope but does not work.
There is an...
Hi I am new to Struts 2 and all the java web development, I created a basic struts2 application using maven and then added the struts2-rest-plugin to build my project; here is pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>tutorial</groupId>
<artifactId>tutorial</artifactId>
<pa...