Multimobile Development: Building Applications for any Smartphone
Creating and Using Custom SOAP Headers
Details Related Types
Site:  ASP Alliance
Original URL:  http://www.aspalliance.com/nothingmn/default.aspx?whichpoll=nothingmn_123&aid=123
Summary:
This quick demo shows you how to create and consume a .NET Web Service using a custom SOAP Header. This first part demonstrates how to create the Web Service. Notice that we first need to import the System.Web.Services.Protocols namespace (**1**). Then we create our class (**2**) that we want to use for the SOAP Header. And lastly we create an instance of the SOAP Header class (**3**) in our Web Service class, and then specify the SoapHeaderAttribute() (**4**).
System.Web.Services.Protocols.SoapHeader
System.Web.Services.Protocols.SoapHeaderAttribute
System.Web.Services.WebService
Ad
BootFX
Reliable and powerful .NET application framework.
iOS, Android and Windows Phone Development Training and Consultancy
Hosted by RackSRV Communications
 
Multimobile Development: Building Applications for any Smartphone
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734