Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Professional ASP.NET 4 in C# and VB by Bill Evjen, Scott Hanselman, Devin Rader; ISBN: 9780470502204
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 4 : in C# and VB 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
  #1 (permalink)  
Old August 1st, 2011, 03:47 AM
Registered User
 
Join Date: Aug 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Services & Header SOAP

Hi,
My name is Giuliano Greco and I am a Italian engineer.
I bought the book Professional ASP.NET 4 in C # and VB and I was growing
the example of chapter 31 "Working with Services" precisely as:
Using SOAP Headers created a class which is a web service and then HelloHeader
HelloSoapHeader.asmx. Then, we create a page .aspx where it is consumed
service with this code:
<%@ Page Language="C#" %>

<script runat="server">
protected void Page_Load(object sender, System.EventArgs e) {
localhost.HelloSoapHeader ws = new localhost.HelloSoapHeader();
localhost.HelloHeader wsHeader = new localhost.HelloHeader();
wsHeader.Username = "Bill Evjen";
wsHeader.Password = "Bubbles";
ws.HelloHeaderValue = wsHeader;
Label1.Text = ws.HelloWorld();
}
</script>

I can not understand where the property is located in the class since HelloHeaderValue
is not defined?

In all the examples of your books do not have this property.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to create proper SOAP Header to call a web shashi.prakash Biztalk 5 July 31st, 2013 03:31 AM
Domain Services & Application Services MrFixxiT BOOK: Professional ASP.NET Design Patterns 1 September 20th, 2011 09:17 AM
Web Services and SOAP Policy sloesch VB.NET 0 December 21st, 2005 12:59 PM
Web Services SOAP Example (Chapter 26) pagates BOOK: Professional C#, 2nd and 3rd Editions 0 February 17th, 2005 03:16 PM
Soap Client & Permissions jlick Pro VB 6 0 June 22nd, 2004 10:38 AM





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