Previous Section  < Day Day Up >  Next Section

18.8. Test Your Understanding

1:

Which base class must the Web Service class inherit from for the Web Service to use the ASP.NET Session and Application objects?

2:

What is the difference between a WebService attribute and a WebService directive?

3:

How can we create a Web Service that exposes two methods having the same name?

4:

Which SoapHttpClientProtocol member is used to make a synchronous call to a Web method? An asynchronous call?

5:

You are using a Web Service that has heavy traffic or is subject to downtime. How can you ensure that your client program waits no longer than 10 seconds for a request?

6:

Which WSDL element contains the URL of the target Web Service?

  1. 
    <Definitions>
    
    

  2. 
    <Message>
    
    

  3. 
    <Service>
    
    

  4. 
    <Binding>
    
    

7:

Which attribute must be applied to a Web method for the method to access a SOAP header?

8:

What three ways can a proxy be used to make asynchronous calls to a Web Service?

    Previous Section  < Day Day Up >  Next Section