Which code fragment should you use?

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application consumes an ASMX Web service.

The Web service is hosted at the following URL.
http://www.contoso.com/TemperatureService/Convert.asmx

You need to ensure that the client computers can communicate with the service as part of the <system.serviceModel> configuration.
Which code fragment should you use?

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application consumes an ASMX Web service.

The Web service is hosted at the following URL.
http://www.contoso.com/TemperatureService/Convert.asmx

You need to ensure that the client computers can communicate with the service as part of the <system.serviceModel> configuration.
Which code fragment should you use?

A.
<client>
<endpointaddress=”http://www.contoso.com/TemperatureService/Convert.asmx” binding=”wsHttpBinding” />
</client>

B.
<client>
<endpoint address=”http://www.contoso.com/TemperatureService/Convert.asmx” binding=”basicHttpBinding” />
</client>

C.
<client>
<endpoint address=”http://www.contoso.com/TemperatureService/Convert.asmx” binding=”ws2007HttpBinding” />
</client>

D.
<client>
<endpoint address=”http://www.contoso.com/TemperatureService/Convert.asmx” binding=”wsDualHttpBinding” />
</client>



Leave a Reply 0

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