Walkthrough: Debugging a Communications Workflow Application

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This topic demonstrates the basic steps in debugging speech and instant messaging (IM) communications workflow applications.

Prerequisites

  • Microsoft Office Communications Server 2007 R2.

  • Microsoft Office Communicator 2007 R2.

  • One of the following editions of Microsoft Visual Studio 2008 development system: Standard Edition, Professional Edition, or Team System 2008 Team Suite.

  • Microsoft Unified Communications Managed API2.0 SDK.

  • After installing the Unified Communications Managed API2.0 SDK, install a language pack.

  • For speech workflow applications, audio devices need enabling so that you can hear and speak through Office Communicator. For more information, see Set Up Audio and Video.

Before Debugging

To prepare a workflow communications application for debugging

  1. Create the application. For more information see the sections on creating speech and IM applications in Walkthrough: Hello World.

  2. Establish accounts on the server running Office Communications Server. For more information, see Establish Accounts on Office Communications Server.

  3. Update the default code added to Program.cs by the new project template. For more information, in Walkthrough: Hello World see “Update Template Code.”

Debugging a Speech Communications Workflow Application

For information about modifying template code to create an application endpoint in a communications workflow application, see Walkthrough: Hello World.

To debug a speech application

  1. Run Visual Studio 2008 as an administrator.

  2. On the test computer, log on to Office Communicator using a user account enabled for Office Communications Server. For more information, in Establish Accounts on Office Communications Server see “Add a User Account.”

  3. On the test computer, in Office Communicator, in the Search box, type the URI of the application contact object. For more information, see Establish Accounts on Office Communications Server.

  4. In Visual Studio 2008, on the Build menu click Build Solution.

  5. Press F5 to debug the solution, and wait until the application starts to run.

  6. In Office Communicator, click the Call button appearing next to the URL created in step 3.

  7. Listen for a prompt from the speech application.

Debugging an IM Communications Workflow Application

For information about modifying template code to create an application endpoint in a communications workflow application, see Walkthrough: Hello World.

To debug an IM application

  1. Run Visual Studio 2008 as an administrator.

  2. On the test computer, log on to Office Communicator using a user account enabled for Office Communications Server. For more information, in Establish Accounts on Office Communications Server see “Add a User Account.”

  3. On the test computer, in Office Communicator, in the Search box, type the URI of the application contact object. For more information, see Establish Accounts on Office Communications Server.

  4. In Visual Studio 2008, on the Build menu click Build Solution.

  5. Press F5 to debug the solution, and wait until the application starts to run.

  6. In Office Communicator, enter some message text and then press ENTER.

  7. Watch for a prompt from the IM application.

See Also

Other Resources

Unified Communications Managed API 2.0 Workflow SDK Documentation

Unified Communications Workflow Sample Applications