public Boolean login(String login, String pwd) throws SOAPException {

        // Create SOAP Connection
        SOAPConnectionFactory soapConnectionFactory = SOAPConnectionFactory.newInstance();
        SOAPConnection soapConnection = soapConnectionFactory.createConnection();

        // Send SOAP Message to SOAP Server
        String url = "http://127.0.0.1:8089/gameGeneratorMVC/ServiceWeb/server.php";
        SOAPMessage soapResponse = null;
        try {
            soapResponse = soapConnection.call(createSOAPRequest(login, pwd), url);

        } catch (Exception e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        }
        soapConnection.close();

        try{
            return Boolean.valueOf(soapResponse.getSOAPBody().getFirstChild().getFirstChild().getFirstChild().getNodeValue());
        }
        catch (Exception e){
            e.printStackTrace();
            return false;
        }
    }