My code so far:
FileReader fileReader = new FileReader(\"filename.xml\"); Client c = Client.create(); WebResource webResource = c.resource(\"http://localhost:808
Have a look at the Jersey API for WebResource. It gives you a post method that accepts data.