0
votes
1answer
14 views

Json data into Java REST service causing 500 error

I am trying to send a List of JSON objects into a post request. I keep getting a 500 error here. I feel like i am not setting up my variable in the Method definiton to the right data type but im not ...
2
votes
1answer
28 views

415 error when sending json data back to java rest service using AJAX

I have an ajax request on my front end that sends a JSON doc to a rest service implementation. It is wired up through Spring and the @GET request in the REST service works well. The issue is that ...
0
votes
1answer
23 views

How to use Rest Get Annotation for application/x-octet-stream Accept header

I want to be able to invoke a certain method depending on the Accept type in the header of the GET request. Currently, I have the following in my resource class: import org.restlet.resource.Get; ...
0
votes
0answers
15 views

Axis2 case sensitive issue

I am new to axis2 and i research long time in axis2,finally i complete my project.But i got some minor error while using the web service through axis2.First i create a java application which having ...
0
votes
1answer
19 views

Error: Cannot locate BeanDefinitionParser for element [component-scan] after upgrading to Spring 3.2.3.RELEASE

After I have upgraded spring to 3.2.3.RELEASE, I am getting the following error on Tomcat startup in Eclipse: ug 12, 2013 1:59:14 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: ...
0
votes
0answers
17 views

Why CORS makes a difference in HttpSession object?

I stuck on problem with CORS (Cross-origin resource sharing) and HttpSession. Last time I added a CORS filter in Jersey, and this works perfect. I can run cross access like this (the 192.168.1.100 is ...
4
votes
2answers
27 views

Restlet & MULTIPART_FORM_DATA or another way to put files on Google App Engine via Restlet

I tried to receive files via restlet but only gets the complete MULTIPART_FORM_DATA. How can I extract my specific file? I found some code-blocks but the types of them are not available... RESTlet: ...
-2
votes
0answers
63 views

What is the easiest way to validate incoming JSON data from a REST service?

A rest service needs to validate all incoming json data against a json schema. The json schemas schemas are public accessible and can be retrieved via http requests. I'm using the jackson-framwork ...
0
votes
2answers
28 views

Jersey Method not allowed 405

I am new to the rest services. I am trying to create a service that accepts json string from a client. I am getting 405 error when I am calling this service using JQuery. Below is the Java code for ...
0
votes
1answer
18 views

What is required to call java webservice by other clients?

I have developed two java web services; one is SOAP based and the second one REST. Now I have to ask some clients (they can be either java/non java clients) to use my web services. Now what ...
0
votes
1answer
33 views

Java Webservices - JDK version

I would like to create a webservice (either SOAP or REST) in java with jdk 1.5 (deployed Weblogic 9.2 which is 1.5 compatible) and the same will be consumed by the client created with jdk1.6. Is the ...
0
votes
0answers
34 views

How do I programmatically call a different URI from inside a REST method in Jersey?

I want to create a Jersey call that allows a user to specify a list of URIs to the server as part of a JSON payload, and have the server call each of them and return the results as one big payload ...
0
votes
2answers
34 views

Spring Security 3.2 Token Authentication

I know this has been asked already, but I am not able to get it to work. Here is what I would like to get accomplished: I am using Spring Security 3.2 to secure a REST-like service. No server side ...
0
votes
1answer
28 views

How to build Parent and child relationship on JAXRS

I'm having a problem with my REST service. The problem is that I have a relationship between my entities and when this entity is going to be written as a JSON the JBoss can't do that. Here are the ...
0
votes
1answer
42 views

REST resource call from JavaScript

I have a web app which has JS code as follows (uses Backbone.JS for the model); var StudentDemographic = BaseModel.extend({ idAttribute: 'studentId', url: ...

1 2 3 4 5 172
15 30 50 per page