public void TestCreateExternalMessage()
        {
            IChatterSoapService service = new ChatterService.ChatterSoapService(_url);

            service.Login(_username, _password, _token);
            service.CreateExternalMessage("http://orng.info", "Test", "Test of create external message", "025693078");
        }
        public static void CreateActivity(SqlString url, SqlString username, SqlString password, SqlString token, SqlDateTime createdDT, SqlBoolean externalMessage, SqlString employeeId, SqlString actUrl, SqlString actTitle, SqlString actBody)
        {
            IChatterSoapService service = new ChatterSoapService(url.Value);

            service.AllowUntrustedConnection();
            service.Login(username.Value, password.Value, token.Value);

            service.CreateProfileActivity(employeeId.IsNull ? null : employeeId.Value, actUrl.IsNull ? null : actUrl.Value, actTitle.IsNull ? null : actTitle.Value, actBody.IsNull ? null : actBody.Value, createdDT.Value);
            if (externalMessage.IsTrue)
            {
                service.CreateExternalMessage(actUrl.IsNull ? null : actUrl.Value, actTitle.IsNull ? null : actTitle.Value, actBody.IsNull ? null : actBody.Value, employeeId.IsNull ? null : employeeId.Value);
            }
        }
 public void TestCreateExternalMessage()
 {
     IChatterSoapService service = new ChatterService.ChatterSoapService(_url);
     service.Login(_username, _password, _token);
     service.CreateExternalMessage("http://orng.info", "Test", "Test of create external message", "025693078");
 }