This extends the Apache HTTPClient Tutorial to invoke RESTFul service with a POST request.
The pom.xml
The client using HttpClient & JAXBContext
The “JAXBContext” is from the Java 6 onwards. The sample code includes
1) Exception handling.
2) “BasicCredentialsProvider”
…