Questions tagged [apache-wink]

Apache Wink is a simple yet solid framework for building RESTful Web services. It is comprised of a Server module and a Client module for developing and consuming RESTful Web services.

Apache Wink is a simple yet solid framework for building RESTful Web services. It is comprised of a Server module and a Client module for developing and consuming RESTful Web services.

The Wink Server module is a complete implementation of the JAX-RS v1.1 specification. On top of this implementation, the Wink Server module provides a set of additional features that were designed to facilitate the development of RESTful Web services.

The Wink Client module is a Java based framework that provides functionality for communicating with RESTful Web services. The framework is built on top of the JDK HttpURLConnection and adds essential features that facilitate the development of such client applications.

123 questions
0
votes
1 answer

Beans injected into Apache Wink with Spring aren't registered

Following on from How do I inject a Spring bean into Apache Wink? I'm now using wink-spring-support and I thought I had things set up correctly. web.xml includes: contextConfigLocation
brabster
  • 42,504
  • 27
  • 146
  • 186
0
votes
1 answer

Resource found but does not get executed

I have customized Apache Wink to use an XML provider, basically overriden the standard JacksonJsonProvider. See http://jackson-users.ning.com/forum/topics/jackson-xml-provider for details The provider seems to work and the resource gets correctly…
Sourajit Basak
  • 693
  • 5
  • 15
0
votes
1 answer

JSON parsing in JAVA problem with Control Characters

I'm receiving via HTTP a JSON petition. When coming from Internet Explorer 8 parsing fails with the exception: InPart inPart = mp.next(); MyClass myClass = inPart.getBody(MyClass.class, null); com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal…
ssedano
  • 8,322
  • 9
  • 60
  • 98
0
votes
1 answer

Index out of bounds exception when traversing InMultiPart object

I am getting exception on my restService's file upload method. I am using Websphere application Server (8.5.x) and apache wink library (version 1.4). You can find the sample code…
NoyanC
  • 13
  • 5
0
votes
1 answer

Set up a wink REST service and Client with custom provider

I have set up a REST service using JAXRS. I have configured the application like this: WEB.XML JAX-RS Tools Generated - Do not modify JAX-RS Servlet
vhdz04
  • 159
  • 2
  • 17
0
votes
2 answers

Upload files to Websphere Liberty using JAX-RS 1.1 feature

I know that jax-rs 1.1 not supports upload directly and every application server has its own implementation to handle multipart/form-data. I can't realize how to do it with Websphere Liberty 17 using jax-rs 1.1 feature. jaxrs-2.0 feature I can't use…
Anatoly
  • 5,056
  • 9
  • 62
  • 136
0
votes
1 answer

apache wink jettison

Using Jettison provider. public Set getClasses() { Set s = new HashSet(); s.add(DatabaseResource.class); return s; } public Set getSingletons() { Set s = new HashSet(); JettisonJAXBProvider jaxbProvider = new…
user451872
  • 9
  • 2
  • 5
0
votes
1 answer

Export API from Apache Wink

It looks like Apache Wink may be winding down and I'm thinking about porting a project that uses it to a new platform. Is there a way to programmatically export the API served by my Apache Wink server? I don't care about the format, if I have to…
k-den
  • 853
  • 13
  • 28
0
votes
1 answer

Can not use Wink 1.2.1 as JAX RS implementation in an Eclipse product

I am currently writing an Eclipse product including an embedded jetty. The embedded jetty is encapsulating a wink application. I am using wink 1.2.1 incubating in the eclipse product by wrapping the library as an Eclipse plugin and using the JAX RS…
Omar Kacimi
  • 61
  • 1
  • 4
0
votes
1 answer

unable to call REST 1.1 Service with Jaxrs-2.0 feature enabled

I am using Liberty profile 16 on Java 1.8 with following features enabled: jsp-2.3 wasJmsServer-1.0 wasJmsClient-2.0
Prerak Tiwari
  • 3,436
  • 4
  • 34
  • 64
0
votes
1 answer

Secured REST call on Websphere

I am trying to create a secured REST service on WebSphere 8.5.0.2. I want to secure using basic authentication. I modified my web.xml and tryed to read auto injected SecurityContext. I get an auto injected object but various operations are failing…
Sunil
  • 93
  • 1
  • 7
0
votes
2 answers

URI Recognition in Java Using JAX-RS @Path Annotations at Class and Method Level

I've created a situation in a Resource class where I'm receiving 404s for all 3 endpoints and was hoping someone could help explain why. Here is my resource class: @Path("/incidents") public class RegistrationResource { @GET …
risingTide
  • 1,754
  • 7
  • 31
  • 60
0
votes
2 answers

IBM Process Server v8.5.5 throwing 415 Media not supported Error when calling a restful service

Hello all i am new to this ibm web sphere and i have written an simple java code and exposed it as a restful. Application class public class WorkflowResourceApplication extends Application { @Override public Set> getClasses() { …
mark
  • 47
  • 9
0
votes
1 answer

Not receiving body on Apache Wink Rest Client error with JAX-RS Application

I need to make a JSON API call to an external source inside of my JAX-RS application. From my research, in order to do this I need to use RestClient(), which works. But only when I get a successful response back. It can not parse the body when the…
user393219
0
votes
2 answers

REST Resource FileNotFoundException in JEE 6 / WebSphere 8.5 using myEclipse

I have two small JEE 6 web applications deployed on a WebSphere 8.5.5.5 Server using the myEclipse IDE. Both each contain 1 simple REST endpoint. The endpoint is working on one of them and not on the other. I'm using the inherent Wink…
risingTide
  • 1,754
  • 7
  • 31
  • 60
1 2 3
8 9