Wrox Programmer Forums
|
BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842
This is the forum to discuss the Wrox book Professional WCF Programming: .NET Development with the Windows Communication Foundation by Scott Klein; ISBN: 9780470089842
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 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 December 25th, 2007, 11:50 PM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hi Everyone,

I have fixed the Message Contract example. I have sent it to Wrox to be put up on the web site, but with it being the holidays, it might be a few days. However, I am more than happy to send it to you directly. If you will send me an email, I will send you the code. My email address is found in the book in the first couple of pages, in the "About the Author" section.

Send me an email and I will send you the code.

Again, I sincerely apologize for this. This certainly was not intentional.

Thanks...

Scott

========================
Scott Klein
Author of:
Professional SQL Server 2005 XML
Professional WCF Programming: .NET Development with the Windows Communication Foundation
Professional LINQ
========================
 
Old December 31st, 2007, 03:18 PM
Authorized User
 
Join Date: Dec 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Scott,

I sent you an e-mail asking for the code. I am wondering if I perhaps had the wrong e-mail address. Did you get it?

 
Old December 31st, 2007, 06:34 PM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

No, I did not. My email address is [email protected]. I will be happy to send you the code.

========================
Scott Klein
Author of:
Professional SQL Server 2005 XML
Professional WCF Programming: .NET Development with the Windows Communication Foundation
Professional LINQ
========================
 
Old January 11th, 2008, 02:17 AM
Registered User
 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Scott,

I have sent you an email ([email protected]) asking you to mail the modified code. Did you get it?. I checked in wrox site for modified code and didn't find it.

Now i getting a new error in VS2008 RTM version
"The type name 'TCP' does not exist in the type 'OrderBookServiceClient.TCP.OrderBookServiceClient ', in the proxy code reference.cs generated by VS2008. I am not sure what it is..

Earlier the same code is compling with out an error in VS2008 Beta 2
version.
Thanks for your help.
-Prakash


 
Old January 11th, 2008, 08:50 AM
Registered User
 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi all,

I have correced the Message contract example as below and it's working and able to reterive the order number.

Do the below steps:

1. In form load event replace the code as textBox6.Text = "";
2. In the both switch clause, replace the code as below
 WCFServiceClient.TCP.BookOrder result = ((WCFServiceClient.TCP.IServiceClass)client).Place Order(Val1);
textBox6.Text = result.OrderNumber;
3. In the WCFService.ServiceClass, add the below constructor

public BookOrder()
        {
            this.isbn = "";
            this.quantity = 0;
            this.firstname = "";
            this.lastname = "";
            this.address = "";
            this.ordernumber = "";
        }

Good luck.

-Prakash


 
Old January 11th, 2008, 09:08 AM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Prakash,

As I stated earlier, this book was written using VS 2005, not 2008. Your best bet is to re-download the code for Chapter 6 and start with that because the changes you state above were already included in the recently uploaded code, as well as other changes.

I have not tested against 2008, but plan on doing so in the upcoming weeks.



========================
Scott Klein
Author of:
Professional SQL Server 2005 XML
Professional WCF Programming: .NET Development with the Windows Communication Foundation
Professional LINQ
========================
 
Old January 11th, 2008, 12:34 PM
Authorized User
 
Join Date: Dec 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

All,

I have all examples through chapter 8 working in VS2008. If anyone needs project samples, let me know and I will be happy to e-mail them to you.

Just e-mail me at [email protected] if you would like the vs2008 examples.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 7 Error message carlfoster BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 1 January 31st, 2007 02:07 PM
Tracking of Contract Dates for Employees lushh Access 2 October 16th, 2006 03:50 AM
Chapter 1: "Server Unavailable" message tcruz345 BOOK: Beginning ASP.NET 1.0 1 September 11th, 2003 02:17 AM





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