QA

IOTA^_^    

Sams Teach Yourself ASP.NET in 21 Days, Second Edition
By Chris Payne
Table of Contents
Day 17.  Consuming and Securing XML Web Services


Q&A

Q1:

Will non-Web method functions be seen in the proxy class as well?

A1:

No, the proxy only sees the methods that contain the <WebMethod()> attribute. Recall that methods without this attribute cannot be seen at all over the Web.

Q2:

Can SOAP headers be used for functions other than security?

A2:

Absolutely! SOAP headers can contain any custom information you want. Any Web method that uses the <SoapHeader()> attribute will require the header to be sent along with any communication. Thus, this is a convenient way to send information that doesn't necessarily belong in the parameter list of a method.


    IOTA^_^    
    Top


    Sams Teach Yourself ASP. NET in 21 Days
    Sams Teach Yourself ASP.NET in 21 Days (2nd Edition)
    ISBN: 0672324458
    EAN: 2147483647
    Year: 2003
    Pages: 307
    Authors: Chris Payne

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net