public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = MytxtbuddySoapApi_Service.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        MytxtbuddySoapApi_Service ss = new MytxtbuddySoapApi_Service(wsdlURL, SERVICE_NAME);
        MytxtbuddySoapApi port = ss.getMytxtbuddySoapApiPort();  
        
        {
        System.out.println("Invoking checkBalance...");
        java.lang.String _checkBalance_username = "";
        java.lang.String _checkBalance_password = "";
        java.lang.String _checkBalance__return = port.checkBalance(_checkBalance_username, _checkBalance_password);
        System.out.println("checkBalance.result=" + _checkBalance__return);


        }
        {
        System.out.println("Invoking addContactsToGroups...");
        java.lang.String _addContactsToGroups_contactIds = "";
        java.lang.String _addContactsToGroups_groupIds = "";
        java.lang.String _addContactsToGroups_username = "";
        java.lang.String _addContactsToGroups_password = "";
        java.lang.String _addContactsToGroups__return = port.addContactsToGroups(_addContactsToGroups_contactIds, _addContactsToGroups_groupIds, _addContactsToGroups_username, _addContactsToGroups_password);
        System.out.println("addContactsToGroups.result=" + _addContactsToGroups__return);


        }
        {
        System.out.println("Invoking viewContact...");
        java.lang.String _viewContact_contactId = "";
        java.lang.String _viewContact_username = "";
        java.lang.String _viewContact_password = "";
        com.dreamoval.mytxtbuddy.api.proxy.ContactInfo _viewContact__return = port.viewContact(_viewContact_contactId, _viewContact_username, _viewContact_password);
        System.out.println("viewContact.result=" + _viewContact__return);


        }
        {
        System.out.println("Invoking removeGroups...");
        java.lang.String _removeGroups_groupIds = "";
        java.lang.String _removeGroups_username = "";
        java.lang.String _removeGroups_password = "";
        java.lang.String _removeGroups__return = port.removeGroups(_removeGroups_groupIds, _removeGroups_username, _removeGroups_password);
        System.out.println("removeGroups.result=" + _removeGroups__return);


        }
        {
        System.out.println("Invoking editGroup...");
        java.lang.String _editGroup_groupId = "";
        java.lang.String _editGroup_name = "";
        java.lang.String _editGroup_username = "";
        java.lang.String _editGroup_password = "";
        com.dreamoval.mytxtbuddy.api.proxy.GroupInfo _editGroup__return = port.editGroup(_editGroup_groupId, _editGroup_name, _editGroup_username, _editGroup_password);
        System.out.println("editGroup.result=" + _editGroup__return);


        }
        {
        System.out.println("Invoking getMessageStatusesByBatch...");
        int _getMessageStatusesByBatch_start = 0;
        int _getMessageStatusesByBatch_pageSize = 0;
        java.lang.String _getMessageStatusesByBatch_batchId = "";
        java.lang.String _getMessageStatusesByBatch_username = "";
        java.lang.String _getMessageStatusesByBatch_password = "";
        java.util.List<com.dreamoval.mytxtbuddy.api.proxy.MessageResponseInfo> _getMessageStatusesByBatch__return = port.getMessageStatusesByBatch(_getMessageStatusesByBatch_start, _getMessageStatusesByBatch_pageSize, _getMessageStatusesByBatch_batchId, _getMessageStatusesByBatch_username, _getMessageStatusesByBatch_password);
        System.out.println("getMessageStatusesByBatch.result=" + _getMessageStatusesByBatch__return);


        }
        {
        System.out.println("Invoking sendMessage...");
        java.lang.String _sendMessage_subject = "";
        java.lang.String _sendMessage_message = "";
        java.lang.String _sendMessage_mobileNumbers = "";
        java.lang.String _sendMessage_from = "";
        java.lang.String _sendMessage_username = "";
        java.lang.String _sendMessage_password = "";
        java.lang.String _sendMessage__return = port.sendMessage(_sendMessage_subject, _sendMessage_message, _sendMessage_mobileNumbers, _sendMessage_from, _sendMessage_username, _sendMessage_password);
        System.out.println("sendMessage.result=" + _sendMessage__return);


        }
        {
        System.out.println("Invoking sendMessageContacts...");
        java.lang.String _sendMessageContacts_subject = "";
        java.lang.String _sendMessageContacts_message = "";
        java.lang.String _sendMessageContacts_contactIds = "";
        java.lang.String _sendMessageContacts_from = "";
        java.lang.String _sendMessageContacts_username = "";
        java.lang.String _sendMessageContacts_password = "";
        java.lang.String _sendMessageContacts__return = port.sendMessageContacts(_sendMessageContacts_subject, _sendMessageContacts_message, _sendMessageContacts_contactIds, _sendMessageContacts_from, _sendMessageContacts_username, _sendMessageContacts_password);
        System.out.println("sendMessageContacts.result=" + _sendMessageContacts__return);


        }
        {
        System.out.println("Invoking sendMessageGroups...");
        java.lang.String _sendMessageGroups_subject = "";
        java.lang.String _sendMessageGroups_message = "";
        java.lang.String _sendMessageGroups_groupIds = "";
        java.lang.String _sendMessageGroups_from = "";
        java.lang.String _sendMessageGroups_username = "";
        java.lang.String _sendMessageGroups_password = "";
        java.lang.String _sendMessageGroups__return = port.sendMessageGroups(_sendMessageGroups_subject, _sendMessageGroups_message, _sendMessageGroups_groupIds, _sendMessageGroups_from, _sendMessageGroups_username, _sendMessageGroups_password);
        System.out.println("sendMessageGroups.result=" + _sendMessageGroups__return);


        }
        {
        System.out.println("Invoking editContact...");
        java.lang.String _editContact_contactId = "";
        java.lang.String _editContact_firstName = "";
        java.lang.String _editContact_lastName = "";
        java.lang.String _editContact_gender = "";
        java.lang.String _editContact_mobile = "";
        java.lang.String _editContact_email = "";
        java.lang.String _editContact_username = "";
        java.lang.String _editContact_password = "";
        com.dreamoval.mytxtbuddy.api.proxy.ContactInfo _editContact__return = port.editContact(_editContact_contactId, _editContact_firstName, _editContact_lastName, _editContact_gender, _editContact_mobile, _editContact_email, _editContact_username, _editContact_password);
        System.out.println("editContact.result=" + _editContact__return);


        }
        {
        System.out.println("Invoking addContact...");
        java.lang.String _addContact_firstName = "";
        java.lang.String _addContact_lastName = "";
        java.lang.String _addContact_gender = "";
        java.lang.String _addContact_mobile = "";
        java.lang.String _addContact_email = "";
        java.lang.String _addContact_username = "";
        java.lang.String _addContact_password = "";
        com.dreamoval.mytxtbuddy.api.proxy.ContactInfo _addContact__return = port.addContact(_addContact_firstName, _addContact_lastName, _addContact_gender, _addContact_mobile, _addContact_email, _addContact_username, _addContact_password);
        System.out.println("addContact.result=" + _addContact__return);


        }
        {
        System.out.println("Invoking resendVerificationMail...");
        java.lang.String _resendVerificationMail_username = "";
        java.lang.String _resendVerificationMail__return = port.resendVerificationMail(_resendVerificationMail_username);
        System.out.println("resendVerificationMail.result=" + _resendVerificationMail__return);


        }
        {
        System.out.println("Invoking getMessages...");
        int _getMessages_start = 0;
        int _getMessages_pageSize = 0;
        java.lang.String _getMessages_username = "";
        java.lang.String _getMessages_password = "";
        java.util.List<com.dreamoval.mytxtbuddy.api.proxy.MessageInfo> _getMessages__return = port.getMessages(_getMessages_start, _getMessages_pageSize, _getMessages_username, _getMessages_password);
        System.out.println("getMessages.result=" + _getMessages__return);


        }
        {
        System.out.println("Invoking removeContacts...");
        java.lang.String _removeContacts_contactsIds = "";
        java.lang.String _removeContacts_username = "";
        java.lang.String _removeContacts_password = "";
        java.lang.String _removeContacts__return = port.removeContacts(_removeContacts_contactsIds, _removeContacts_username, _removeContacts_password);
        System.out.println("removeContacts.result=" + _removeContacts__return);


        }
        {
        System.out.println("Invoking getGroupContacts...");
        java.lang.String _getGroupContacts_groupId = "";
        int _getGroupContacts_start = 0;
        int _getGroupContacts_pageSize = 0;
        java.lang.String _getGroupContacts_username = "";
        java.lang.String _getGroupContacts_password = "";
        java.util.List<com.dreamoval.mytxtbuddy.api.proxy.ContactInfo> _getGroupContacts__return = port.getGroupContacts(_getGroupContacts_groupId, _getGroupContacts_start, _getGroupContacts_pageSize, _getGroupContacts_username, _getGroupContacts_password);
        System.out.println("getGroupContacts.result=" + _getGroupContacts__return);


        }
        {
        System.out.println("Invoking signup...");
        java.lang.String _signup_fullname = "";
        java.lang.String _signup_username = "";
        java.lang.String _signup_password = "";
        java.lang.String _signup__return = port.signup(_signup_fullname, _signup_username, _signup_password);
        System.out.println("signup.result=" + _signup__return);


        }
        {
        System.out.println("Invoking getGroups...");
        int _getGroups_start = 0;
        int _getGroups_pageSize = 0;
        java.lang.String _getGroups_username = "";
        java.lang.String _getGroups_password = "";
        java.util.List<com.dreamoval.mytxtbuddy.api.proxy.GroupInfo> _getGroups__return = port.getGroups(_getGroups_start, _getGroups_pageSize, _getGroups_username, _getGroups_password);
        System.out.println("getGroups.result=" + _getGroups__return);


        }
        {
        System.out.println("Invoking countGroupContacts...");
        java.lang.String _countGroupContacts_groupId = "";
        java.lang.String _countGroupContacts_username = "";
        java.lang.String _countGroupContacts_password = "";
        java.lang.String _countGroupContacts__return = port.countGroupContacts(_countGroupContacts_groupId, _countGroupContacts_username, _countGroupContacts_password);
        System.out.println("countGroupContacts.result=" + _countGroupContacts__return);


        }
        {
        System.out.println("Invoking sendMessageVerbose...");
        java.lang.String _sendMessageVerbose_subject = "";
        java.lang.String _sendMessageVerbose_message = "";
        java.lang.String _sendMessageVerbose_groupIds = "";
        java.lang.String _sendMessageVerbose_contactIds = "";
        java.lang.String _sendMessageVerbose_mobileNumbers = "";
        java.lang.String _sendMessageVerbose_reference = "";
        java.lang.String _sendMessageVerbose_from = "";
        java.lang.String _sendMessageVerbose_username = "";
        java.lang.String _sendMessageVerbose_password = "";
        java.lang.String _sendMessageVerbose__return = port.sendMessageVerbose(_sendMessageVerbose_subject, _sendMessageVerbose_message, _sendMessageVerbose_groupIds, _sendMessageVerbose_contactIds, _sendMessageVerbose_mobileNumbers, _sendMessageVerbose_reference, _sendMessageVerbose_from, _sendMessageVerbose_username, _sendMessageVerbose_password);
        System.out.println("sendMessageVerbose.result=" + _sendMessageVerbose__return);


        }
        {
        System.out.println("Invoking getContacts...");
        int _getContacts_start = 0;
        int _getContacts_pageSize = 0;
        java.lang.String _getContacts_username = "";
        java.lang.String _getContacts_password = "";
        java.util.List<com.dreamoval.mytxtbuddy.api.proxy.ContactInfo> _getContacts__return = port.getContacts(_getContacts_start, _getContacts_pageSize, _getContacts_username, _getContacts_password);
        System.out.println("getContacts.result=" + _getContacts__return);


        }
        {
        System.out.println("Invoking countContacts...");
        java.lang.String _countContacts_username = "";
        java.lang.String _countContacts_password = "";
        java.lang.String _countContacts__return = port.countContacts(_countContacts_username, _countContacts_password);
        System.out.println("countContacts.result=" + _countContacts__return);


        }
        {
        System.out.println("Invoking countMessages...");
        java.lang.String _countMessages_username = "";
        java.lang.String _countMessages_password = "";
        java.lang.String _countMessages__return = port.countMessages(_countMessages_username, _countMessages_password);
        System.out.println("countMessages.result=" + _countMessages__return);


        }
        {
        System.out.println("Invoking addGroup...");
        java.lang.String _addGroup_name = "";
        java.lang.String _addGroup_username = "";
        java.lang.String _addGroup_password = "";
        com.dreamoval.mytxtbuddy.api.proxy.GroupInfo _addGroup__return = port.addGroup(_addGroup_name, _addGroup_username, _addGroup_password);
        System.out.println("addGroup.result=" + _addGroup__return);


        }
        {
        System.out.println("Invoking getSenderNames...");
        java.lang.String _getSenderNames_username = "";
        java.lang.String _getSenderNames_password = "";
        java.util.List<java.lang.String> _getSenderNames__return = port.getSenderNames(_getSenderNames_username, _getSenderNames_password);
        System.out.println("getSenderNames.result=" + _getSenderNames__return);


        }
        {
        System.out.println("Invoking viewGroup...");
        java.lang.String _viewGroup_groupId = "";
        java.lang.String _viewGroup_username = "";
        java.lang.String _viewGroup_password = "";
        com.dreamoval.mytxtbuddy.api.proxy.GroupInfo _viewGroup__return = port.viewGroup(_viewGroup_groupId, _viewGroup_username, _viewGroup_password);
        System.out.println("viewGroup.result=" + _viewGroup__return);


        }
        {
        System.out.println("Invoking resetPassword...");
        java.lang.String _resetPassword_username = "";
        java.lang.String _resetPassword_oldPassword = "";
        java.lang.String _resetPassword_newPassword = "";
        java.lang.String _resetPassword__return = port.resetPassword(_resetPassword_username, _resetPassword_oldPassword, _resetPassword_newPassword);
        System.out.println("resetPassword.result=" + _resetPassword__return);


        }
        {
        System.out.println("Invoking removeContactsFromGroup...");
        java.lang.String _removeContactsFromGroup_contactId = "";
        java.lang.String _removeContactsFromGroup_groupId = "";
        java.lang.String _removeContactsFromGroup_username = "";
        java.lang.String _removeContactsFromGroup_password = "";
        java.lang.String _removeContactsFromGroup__return = port.removeContactsFromGroup(_removeContactsFromGroup_contactId, _removeContactsFromGroup_groupId, _removeContactsFromGroup_username, _removeContactsFromGroup_password);
        System.out.println("removeContactsFromGroup.result=" + _removeContactsFromGroup__return);


        }
        {
        System.out.println("Invoking countGroups...");
        java.lang.String _countGroups_username = "";
        java.lang.String _countGroups_password = "";
        java.lang.String _countGroups__return = port.countGroups(_countGroups_username, _countGroups_password);
        System.out.println("countGroups.result=" + _countGroups__return);


        }
        {
        System.out.println("Invoking getMessageStatusesByReference...");
        int _getMessageStatusesByReference_start = 0;
        int _getMessageStatusesByReference_pageSize = 0;
        java.lang.String _getMessageStatusesByReference_reference = "";
        java.lang.String _getMessageStatusesByReference_username = "";
        java.lang.String _getMessageStatusesByReference_password = "";
        java.util.List<com.dreamoval.mytxtbuddy.api.proxy.MessageResponseInfo> _getMessageStatusesByReference__return = port.getMessageStatusesByReference(_getMessageStatusesByReference_start, _getMessageStatusesByReference_pageSize, _getMessageStatusesByReference_reference, _getMessageStatusesByReference_username, _getMessageStatusesByReference_password);
        System.out.println("getMessageStatusesByReference.result=" + _getMessageStatusesByReference__return);


        }

        System.exit(0);
    }