OCRWebService/src/com/conordevilly/ocr/webservice/RestService.java
@GET
	@Path("/test")
	@Produces(MediaType.TEXT_PLAIN)
	public Response testREST() {
		String result = "Hello World - Why are you bothering me?";
		return Response.status(200).entity(result).build();
	}
//Test to check if service is reachable
Test to check if service is reachable
Test to check if service is reachable
@GET
	@Path("/test")
	@Produces(MediaType.TEXT_PLAIN)
	public Response testREST() {
		String result = "Hello World - Why are you bothering me?";
		return Response.status(200).entity(result).build();
	}
@ GET @ Path ( "/test" ) @ Produces ( MediaType . TEXT_PLAIN ) public Response testREST ( ) { String result = "Hello World - Why are you bothering me?" ; return Response . status ( 200 ) . entity ( result ) . build ( ) ; }
Test to check if service is reachable
Test to check if service is reachable