Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save steinermatt/10715773 to your computer and use it in GitHub Desktop.
Save steinermatt/10715773 to your computer and use it in GitHub Desktop.
SAP HANA Cloud Platform - RFC-based connectivity - FlightService skeleton
@Service("flightService")
@Path("/flight.svc")
@Produces({ "application/json" })
public class FlightService {
@GET
@Path("/flights/{cityFrom}/{cityTo}")
@Produces("application/json")
public String getFlightList(@Context HttpServletRequest req, @PathParam("cityFrom") String cityFrom,
@PathParam("cityTo") String cityTo)
{
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment