/Katmai_August2008_RTM/HelloWorld/README_HelloWorld.htm
HTML | 570 lines | 489 code | 79 blank | 2 comment | 0 complexity | f360e43c1ba89d9d2acaede7e70d2f7d MD5 | raw file
- <html DIR="LTR" xmlns:tool="http://www.microsoft.com/tooltip" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
- <head>
- <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8" />
- <META NAME="save" CONTENT="history" />
- <title>Readme_HelloWorld Sample</title>
-
-
-
- <style TYPE="text/css">
- body
- {
- background: #FFFFFF;
- color: #000000;
- font-family: Verdana;
- font-size: medium;
- font-style: normal;
- font-weight: normal;
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 0;
- margin-right: 0;
- width: 100%;
- }
- div.#mainSection
- {
- font-size: 70%;
- width: 100%;
- padding-left: 10;
- margin-right: 10;
- }
- div.#mainBody
- {
- font-size: 90%;
- margin-top: 10;
- padding-bottom: 20;
- }
- div.#header
- {
- background-color: #D2D2D2;
- padding-top: 0;
- padding-bottom: 0;
- padding-left: 10;
- padding-right: 0;
- width: 100%;
- }
- div.#header table
- {
- border-bottom-color: #C8CDDE;
- border-bottom-style: solid;
- border-bottom-width: 1;
- width: 100%;
- }
- span.#runningHeaderText
- {
- color: #003399;
- font-size: 90%;
- }
- span.#nsrTitle
- {
- /* color: #003399;*/
- font-size: 120%;
- font-weight: 600;
- }
- div.#header table td
- {
- color: #000000;
- font-size: 70%;
- margin-top: 0;
- margin-bottom: 0;
- padding-right: 20;
- }
- div.#header table tr.#headerTableRow3 td
- {
- padding-bottom: 2;
- padding-top: 5;
- }
- div.#header table.#bottomTable
- {
- border-top-color: #FFFFFF;
- border-top-style: solid;
- border-top-width: 1;
- text-align: left;
- }
- div.#footer
- {
- font-size: 90%;
- margin-top: 0;
- margin-bottom: 0;
- margin-left: -5;
- margin-right: 0;
- padding-top: 2;
- padding-bottom: 2;
- padding-left: 0;
- padding-right: 0;
- width: 100%;
- }
- hr.#footerHR
- {
- border-bottom-color: #EEEEFF;
- border-bottom-style: solid;
- border-bottom-width: 1;
- border-top-color: C8CDDE;
- border-top-style: solid;
- border-top-width: 1;
- height: 3;
- color: #D2D2D2;
- }
- div.section
- {
- padding-top: 2;
- padding-bottom: 2;
- padding-right: 15;
- width: 100%;
- }
- .heading
- {
- color: #000000;
- font-weight: bold;
- margin-top: 18;
- margin-bottom: 8;
- }
- h1.heading
- {
- color: #000000;
- font-size: 150%;
- }
- .subHeading
- {
- color: #000000;
- font-weight: bold;
- font-size: 150%;
- margin-bottom: 4;
- }
- h2.subHeading
- {
- color: #000000;
- font-weight: bold;
- font-size: 130%;
- }
- h3.subHeading
- {
- color: #000000;
- font-size: 125%;
- font-weight: bold;
- }
- h4.subHeading
- {
- color: #000000;
- font-size: 110%;
- font-weight: bold;
- }
- h4.procedureHeading
- {
- color: #000080;
- font-size: 110%;
- font-weight: bold;
- }
- h5.subHeading
- {
- color: #000000;
- font-size: 100%;
- font-weight: bold;
- }
- img
- {
- padding-bottom: 10;
- }
- img.toggle
- {
- border: 0;
- margin-right: 5;
- padding-bottom: 10;
- }
- img.copyCodeImage
- {
- border: 0;
- margin: 1;
- margin-right: 3;
- padding-bottom: 10;
- }
- img.downloadCodeImage
- {
- border: 0;
- margin-right: 3;
- padding-bottom: 10;
- }
- img.viewCodeImage
- {
- border: 0;
- margin-right: 3;
- padding-bottom: 10;
- }
- img.note
- {
- border: 0;
- margin-right: 3;
- padding-bottom: 10;
- }
- img.#membersOptionsFilterImage
- {
- border: 0;
- margin-left: 10;
- vertical-align: middle;
- padding-bottom: 10;
- }
- img.#toggleAllImage
- {
- margin-left: 4;
- vertical-align: middle;
- padding-bottom: 10;
- }
- div.#mainSection table
- {
- border: 0;
- font-size: 100%;
- width: 100%;
- margin-top: 5px;
- margin-bottom: 15px;
- }
- div.#mainSection table tr
- {
- vertical-align: top;
- }
- div.#mainSection table th
- {
- text-align: left;
- background: #D8D8D8;
- border-bottom-color: #D8D8D8;
- border-bottom-style: solid;
- border-bottom-width: 1;
- color: #000000;
- padding-left: 5;
- padding-right: 5;
- }
- div.#mainSection table td
- {
- background: #F2F2F2;
- border-top-color: #D8D8D8;
- border-top-style: solid;
- border-top-width: 1;
- padding-left: 5;
- padding-right: 5;
- }
- div.#mainSection table td.imageCell
- {
- white-space: nowrap;
- }
- div.code
- {
- width: 98%;
- }
- div.code table
- {
- border: 0;
- font-size: 95%;
- margin-bottom: 5;
- width: 100%
- }
- div.code table th
- {
- text-align: left;
- background: #D8D8D8;
- border-bottom-color: #D8D8D8;
- border-bottom-style: solid;
- border-bottom-width: 1;
- color: #000000;
- font-weight: bold;
- padding-left: 5;
- padding-right: 5;
- }
- div.code table td
- {
- background: #CCCCCC;
- border-top-color: #D8D8D8;
- border-top-style: solid;
- border-top-width: 1;
- padding-left: 5;
- padding-right: 5;
- padding-top: 5;
- }
- div.alert
- {
- margin-left: 10;
- width: 98%;
- }
- div.alert table
- {
- border: 1;
- font-size: 100%;
- width: 100%;
- border: solid 1 #DEDFEF;
- }
- div.alert table th
- {
- text-align: left;
- background: #D8D8D8;
- border-bottom-width: 0;
- color: #000000;
- padding-left: 5;
- padding-right: 5;
- border: solid 1 #DEDFEF;
- }
- div.alert table td
- {
- background: #FFFFFF;
- border-top-color: #D8D8D8;
- border-top-style: solid;
- border-top-width: 1;
- padding-left: 5;
- padding-right: 5;
- border: solid 1 #DEDFEF;
- }
- span.copyCode
- {
- color: #0000ff;
- font-size: 90%;
- font-weight: normal;
- cursor: hand;
- float: right;
- display: inline;
- text-align: right;
- }
- .downloadCode
- {
- color: #0000ff;
- font-size: 90%;
- font-weight: normal;
- cursor: hand;
- }
- .viewCode
- {
- color: #0000ff;
- font-size: 90%;
- font-weight: normal;
- cursor: hand;
- }
- div.code pre
- {
- font-family: Monospace, Courier New, Courier;
- font-size: 105%;
- color: #000000;
- }
- code
- {
- font-family: Monospace, Courier New, Courier;
- font-size: 105%;
- color: #000000;
- }
- dl
- {
- margin-top: 0;
- padding-left: 1;
- }
- dd
- {
- margin-bottom: 0;
- margin-left: 0;
- padding-left: 20;
- }
- dd p
- {
- margin-top: 5;
- }
- ul
- {
- margin-left: 17;
- list-style-type: disc;
- }
- ul ul
- {
- margin-bottom: 4;
- margin-left: 17;
- margin-top: 3;
- list-style-type: disc;
- }
- ol
- {
- margin-left: 24;
- list-style-type: decimal;
- }
- ol ol
- {
- margin-left: 24;
- margin-top: 3;
- list-style-type: lower-alpha;
- }
- li
- {
- margin-top: 0;
- margin-bottom: 0;
- padding-bottom: 0;
- padding-top: 0;
- margin-left: 5;
- }
- p
- {
- margin-bottom: 15;
- }
- .tip
- {
- color: #0000FF;
- font-style: italic;
- cursor:hand;
- text-decoration:underline;
- }
- .math
- {
- font-family: Times New Roman;
- font-size: 125%
- }
- .sourceCodeList
- {
- font-family: Verdana;
- font-size: 90%;
- }
- pre.viewCode
- {
- width: 100%;
- overflow: auto;
- }
- li:hover table, li.over table
- {
- background-color: #C0C0C0;
- }
- li:hover ul, li.over ul
- {
- background-color: #d2d2d2;
- border: 1px solid #000;
- display: block;
- }
- </style>
- </head>
- <body>
- <!--Topic built:08/05/2008 01:28:33-->
-
-
-
-
-
-
-
-
-
-
- <div id="header">
- <table width="100%" id="topTable"><tr>
- <td align="left">
- <span id="nsrTitle">Readme_HelloWorld Sample</span>
- </td>
- <td align="right">
- <span id="headfb" class="feedbackhead">
- </span>
- </td>
- </tr></table>
-
-
-
- </div>
- <div id="mainSection">
- <div id="mainBody"><p> 08/05/2008 01:28:33</p>
-
- <font color="DarkGray"> </font><p />
- <span id="changeHistory">
- </span>
- <p>The Hello World sample provides a simple Service Broker application that shows you how to send and receive a message by using Service Broker.</p>
- <p>
- Samples are provided for educational purposes only. They are not intended to be used in a production environment and have not been tested in a production environment. Microsoft does not provide technical support for these samples. Sample applications and assemblies should not be connected to or used with your production SQL Server database or your report server without the permission of the system administrator.
- </p>
- <p>Before running this sample, make sure that SQL Server is installed, including the following components:</p>
- <ul><li>
-
- SQL Server Database Engine
- <br />
- </li><li>
- The AdventureWorks<b> </b>sample database <br />
- </li><li>
-
- Database Engine Samples<br />
- </li></ul>
- <h1 class="heading">Running the Sample</h1><div id="sectionSection0" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
- <h4 class="procedureHeading" xmlns="">To run the sample</h4><div id="procedureSectionEBBDBHA" class="section" xmlns=""><ol><li>
- <content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
- <p xmlns="">Open the project file in SQL Server Management Studio.</p>
- </content>
- </li><li>
- <content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
- <p xmlns="">Run Setup.sql. This script creates the Service Broker objects for the services.</p>
- </content>
- </li><li>
- <content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
- <p xmlns="">Open SendMessage.sql, select all lines from the beginning of the file to the comment ‘End Selection Here' and run selected part of the script. This part of the script begins a dialog conversation from InitiatorService to TargetService and sends a message on this conversation.</p>
- </content>
- </li><li>
- <content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
- <p xmlns="">Run ReceivesMessages.sql. This script receives Service Broker messages from the TargetQueue, displays the messages and ends the corresponding conversations at the target.</p>
- </content>
- </li><li>
- <content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
- <p xmlns="">Open SendMessage.sql, select all lines from the comment ‘End Selection Here' to the end of the file and run selected part of the script. This part of the script waits for a response message, displays the message and ends the corresponding conversation at the initiator.</p>
- </content>
- </li></ol></div>
- </content></div><!--[if gte IE 5]>
- <tool:tip element="seeAlsoToolTip" avoidmouse="false"/><tool:tip element="languageFilterToolTip" avoidmouse="false"/><tool:tip element="roleInfoSpan" avoidmouse="false"/>
- <![endif]--></div>
- <div id="footer">
-
- © 2008 Microsoft Corporation. All rights reserved.
- </div>
- </div>
- </body>
- </html>