public static void main(String[] args) throws IOException, TechnicalException {
        MPSConnector mps = new MPSConnector(9302);
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        System.out.println("Write to test, f.e. \"0\". \"q\" to quit.");
        String s =in.readLine();
        while (! s.equals("q")) {
            try {
                AuftragsNr nr = mps.erstelleAuftrag(angebotsNr(parseInt(s)));
                System.out.println("Response: AuftragsNr: " + nr);
            } catch (NotFoundException e) {
                e.printStackTrace();
            } catch (TechnicalException e) {
                e.printStackTrace();
            }
            System.out.println("Write to test, f.e. \"0\". \"q\" to quit.");
            s = in.readLine();
        }
    }