protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		
		try {
			RequestEnvelope env = new RequestEnvelope("en_US");
			SendInvoiceRequest sendInvoiceRequest = new SendInvoiceRequest(env, request.getParameter("invoiceID"));
			InvoiceService invoiceSrvc = new InvoiceService(this.getServletContext().getRealPath("/") + "/WEB-INF/sdk_config.properties");
			SendInvoiceResponse sendResp = invoiceSrvc.sendInvoice(sendInvoiceRequest);
			response.getWriter().println( "Ack:" + sendResp.getResponseEnvelope().getAck());
			
		} catch (SSLConfigurationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InvalidCredentialException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (HttpErrorException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InvalidResponseDataException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (ClientActionRequiredException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (MissingCredentialException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}