Microsoft KB Archive/324115

= Building XML Web Services for the Microsoft .NET Platform Comments and Corrections =

Article ID: 324115

Article Last Modified on 9/13/2004

-

APPLIES TO


 * MSPRESS Building XML Web Services for the Microsoft .NET Platform, ISBN 0-7356-1406-7

-



This article was previously published under Q324115



SUMMARY
This article contains comments, corrections, and information about known errors relating to the Microsoft Press book Building XML Web Services for the Microsoft .NET Platform, ISBN 0-7356-1406-7.

The following topics are covered:


 * CD-ROM: &quot;cache&quot; Should Be &quot;callback&quot;
 * Page 13: Missing Three Steps In Exercise
 * Page 19: Incorrect Text
 * Page 21: Error In Code Sample
 * Page 23: Error In WebFileUtil Code Sample
 * Page 35: GetWeather Should Be TransferFund
 * Page 337: Warning Event Should Be Error Event
 * Page 355: Error Regarding Failover Cluster
 * Page 370: &quot;cache&quot; Should Be &quot;callback&quot;



CD-ROM: &quot;cache&quot; Should Be &quot;callback&quot;
On the companion CD, in Chapter 12\Caching\DynamicCaching.asmx,

Change: HttpContext.Current.Cache.Insert(&quot;Fees, feesDocument,   cacheDependency, Cache.noAbsoluteExpiration,    Cache.NoSlidingExpiration, CacheItemPriority.Not Removable,    cache); To: HttpContext.Current.Cache.Insert(&quot;Fees, feesDocument,   cacheDependency, Cache.noAbsoluteExpiration,    Cache.NoSlidingExpiration, CacheItemPriority.Not Removable,    callback);

Page 13: Missing Three Steps In Exercise
There are three steps missing from the top of page 13. The following three steps should be inserted at the top of the page:

&quot;3. Open Order.aspx in HTML mode by double-clicking on the filename in Solution Explorer and then using the buttons in the lower left corner of the file’s working window to toggle between Design mode and HTML mode.

4.  Modify the Inherits attribute in the .aspx file’s header to read Commerce.Order. After the Web project has been set up, switch Order.aspx back to Design mode so you can add some controls to the Web Form.

5.  Open the Toolbox, and add the following Web Form controls onto the Web Form’s design surface by double-clicking each control: label, text box, calendar control, and button.&quot;

The existing step 3 at the top of page 13 should be renumbered to step 6.

Page 19: Incorrect Text
There is an incorrect statement on page 19.

The line &quot;Then modify the Inherits property in the ASMX header to point to the new class name.&quot; should be removed.

Page 21: Error In Code Sample
There is an error in the code sample on page 21.

Change:

s.Close

To:

s.Close;

Page 23: Error In WebFileUtil Code Sample
There is an error in the code sample on page 23.

Change: string source = args[1]; string destination = source;

To: string source = &quot;&quot;; string destination = &quot;&quot;; if (args.Length == 2) {     source = args[1]; destination = source; }

Page 35: GetWeather Should Be TransferFund
There is an error in the code sample at the top of page 35.

Change: 151.43  To: 151.43 

Page 337: Warning Event Should Be Error Event
There is an error in paragraph 3 on page 337.

Change:

&quot;This code writes a warning event to the Application Log.&quot;

To:

&quot;This code writes an error event to the Application Log.&quot;

Page 355: Error Regarding Failover Cluster
There is an error in the Highly Available Scale-Up Resources section on page 355.

Change:

&quot;To achieve high scalability for a resource hosted on a single server, you can use a failover cluster.&quot;

To:

&quot;To achieve high availability for a resource hosted on a single server, you can use a failover cluster.&quot;

Page 370: &quot;cache&quot; Should Be &quot;callback&quot;
On page 370, in the code sample at the top of the page, the Insert function incorrectly references a parameter &quot;cache&quot;. This should be &quot;callback&quot;.

Change: HttpContext.Current.Cache.Insert(&quot;Fees, feesDocument,   cacheDependency, Cache.noAbsoluteExpiration,    Cache.NoSlidingExpiration, CacheItemPriority.Not Removable,    cache); To: HttpContext.Current.Cache.Insert(&quot;Fees, feesDocument,   cacheDependency, Cache.noAbsoluteExpiration,    Cache.NoSlidingExpiration, CacheItemPriority.Not Removable,    callback);

Microsoft Press is committed to providing informative and accurate books. All comments and corrections listed above are ready for inclusion in future printings of this book. If you have a later printing of this book, it may already contain most or all of the above corrections.

Additional query words: 0-7356-1406-7 SHORT .NET XML

Keywords: kbinfo kbdocfix kbdocerr KB324115

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.