Which two actions should you perform?

You write a client application that uses a Web service.
The Web service is hosted in a Windows service application.
The Web service can be called only by using TCP.
You are provided with the proxy that is enabled by Web Services Enhancements (WSE) 3.0.
The proxy was generated by adding a Web reference by using Microsoft Visual Studio 2005.
You need to ensure that the proxy calls the Web service correctly.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

You write a client application that uses a Web service.
The Web service is hosted in a Windows service application.
The Web service can be called only by using TCP.
You are provided with the proxy that is enabled by Web Services Enhancements (WSE) 3.0.
The proxy was generated by adding a Web reference by using Microsoft Visual Studio 2005.
You need to ensure that the proxy calls the Web service correctly.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.
On the Destination property of the proxy, set the TransportAddress property to the TCP address of the hosted Web service.

B.
Set the Action object in the SOAP request’s addressing headers to the name of the Web service method you want to call.

C.
Change the URL of the proxy to the TCP address of the hosted Web service.

D.
Set the Action object in the SOAP request’s addressing headers to the TCP address of the Web service you want to call.



Leave a Reply 0

Your email address will not be published. Required fields are marked *