Wrox Programmer Forums
BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9
This is the forum to discuss the Wrox book Professional SharePoint 2007 Development by John Holliday, John Alexander, Jeff Julian, Eli Robillard, Brendon Schwartz, Matt Ranlett, J. Dan Attis, Adam Buenz, Tom Rizzo; ISBN: 9780470117569
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 13th, 2007, 05:24 PM
Registered User
Join Date: Oct 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 5 - Web Services Sample

I've been working through this book for the past week or 2 and I am trying to follow along with every sample in the book so that I can get the most out of what I am reading. I've found that there is very little commenting of code done by the authors to help explain what they are doing and there have been a few instances so far where the examples provided by the authors do not work.

In Chapter 5 the first couple of sample applications work as expected if you follow along, but the last sample application for Web Services is very difficult to follow. Its almost as if the author of the chapter felt the topic was too difficult to communicate in a sample so he didn't really try.

For example, on page 227 item 2 the instruction says to right-click on the Web References folder and select Add Web Reference. The problem is that there is no Web References folder. I right-clicked the project and selected Add Web Reference and was brought to the dialog box referenced by the author.

Item 3 instructs the reader to do a couple of steps and click "ok", referencing Figure 5-17. The problem is that there is no "OK" button to click. The instruction should be click "Add Reference".

Item 4 takes you through a couple of steps and discusses that the app.config file will be created and refers the reader to Figure 5-18. In that screen shot there is no app.config file. In addition, in that screen shot there are NUMEROUS other files (ConfigReader.cs, User.cs, etc....) listed in the Solution Explorer section of the screen shot. I have none of these files on my screen, which sends me back a few pages to see what I missed since I've apparently not followed along, otherwise my screen would resemble Figure 5-18.

Starting on Page 229, it seems like the author is giving up trying to teach/demonstrate what is going on. Listing 5-9 is code for a class, but I have no idea where this code is stored within the project since no filename is referenced. There's a snippet of code on page 230 to create a mechanism for storing and passing around user information, but again there's no instruction as to where this code should go. The next few pages continue on, finally on page 240 the entire exercise is wrapped up in a brief paragraph, saying that users and groups needed to have been already created in our Active Directory and the test cases help to illustrate the power and limitations of two simple web services calls. Or not help.
Old July 8th, 2008, 08:19 AM
Registered User
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I just read the chapter 5 topic and I tried to do the example excercise, and god damn I wasn't at all at happy mood.

I love the wrox books, but this was the 'record low' in my journeys

Old July 8th, 2008, 01:53 PM
Wrox Author
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to erobillard


As mentioned in the Introduction, all the source code is provided here:



Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6 : Web Services and Ajax 2mk BOOK: Professional Ajax ISBN: 978-0-471-77778-6 1 February 11th, 2008 04:21 AM
Chapter 26 XML Web Services - error handing? RichDiaz BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 0 August 20th, 2007 04:47 PM
Web Services SOAP Example (Chapter 26) pagates BOOK: Professional C#, 2nd and 3rd Editions 0 February 17th, 2005 03:16 PM
Sample Code for Beginning .Net Web Services Telekomiker .NET Web Services 1 October 25th, 2003 02:40 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.