Building XML Web Services for the Microsoft .NET Platform Comments and Corrections (324115)



The information in this article 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: "cache" Should Be "callback"
  • 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: "cache" Should Be "callback"

MORE INFORMATION

CD-ROM: "cache" Should Be "callback"

On the companion CD, in Chapter 12\Caching\DynamicCaching.asmx,

Change:
HttpContext.Current.Cache.Insert("Fees, feesDocument,
	cacheDependency, Cache.noAbsoluteExpiration,
	Cache.NoSlidingExpiration, CacheItemPriority.Not Removable,
	cache);
To:
HttpContext.Current.Cache.Insert("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:

"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."

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 "Then modify the Inherits property in the ASMX header to point to the new class name." 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 = "";
string destination = "";
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:
<Amount>151.43</Amount>
</GetWeather>
To:
<Amount>151.43</Amount>
</TransferFunds>


Page 337: Warning Event Should Be Error Event

There is an error in paragraph 3 on page 337.

Change:
"This code writes a warning event to the Application Log."

To:
"This code writes an error event to the Application Log."

Page 355: Error Regarding Failover Cluster

There is an error in the Highly Available Scale-Up Resources section on page 355.

Change:
"To achieve high scalability for a resource hosted on a single server, you can use a failover cluster."

To:
"To achieve high availability for a resource hosted on a single server, you can use a failover cluster."

Page 370: "cache" Should Be "callback"

On page 370, in the code sample at the top of the page, the Insert function incorrectly references a parameter "cache". This should be "callback".

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

To:
HttpContext.Current.Cache.Insert("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.

Modification Type:MinorLast Reviewed:9/13/2004
Keywords:kbdocerr kbdocfix kbinfo KB324115