I have set up the following JAXRS service in:
@Path(value="/validationService")
public class ValidationService {
@GET
@Produces(value="text/plain")
@Path(value="{token}")
public String getPropety(@PathParam("token") String token) {
String status = AuthenticationManager.getInstance().getTokenStatus(token);
return status;
}
}
If I hit the url, I receive the proper response on my screen. How can I consume this resouce in the back end? I have set this up using jersey jars and the Cient / CLientBuilder / WebTarget procedure, using TOMCAT, but this does not seem to work with WebsphereApplicationServer 8.5. Any info is appreciated.