HOTSPOT
You are developing a WCF service.
The service must be interoperable with ASP.NET web service clients. In addition, it must be a time-out of three
hours.
You need to configure the service to meet the requirements.
You have the following markup:
Which markup segments should you include in Target 1, Target 2, Target 3, Target 4, Target 5, Target 6 and
Target 7 to complete the markup? (To answer, select the appropriate markup segment from each drop-down
list in the answer area.)
Hot Area:
Explanation:
Target 1: wsHTTPBinding
wsHttpBinding is the full-blown binding, which supports a ton of WS-* features and standards. It has lots more
security features: you can use sessionful connections, you can use reliable messaging, you can use
transactional control.
Incorrect: Not basicHttpBinding: basicHttpBinding is the very basic binding (SOAP 1.1). It is not much in terms
of security, not much else in terms of features, but compatible to just about any SOAP client out there. It is
great for interoperability, but weak on features and security.
Target 2: timeout
Bindingconfiguration (Target 2) and Binding name (Target 4) must be the same. Timeout is not use elsewhere
and is an appropriate choice.
Target 3: WSHttpBinding
Target 4: timeout
Bindingconfiguration (Target 2) and Binding name (Target 4) must be the same. Timeout is not use elsewhere
and is an appropriate choice.
Target 5: CloseTimeout
The following timeouts are available on WCF bindings: OpenTimeout, CloseTimeout, SendTimeout, and
ReceiveTimeout.
Target 6: 03:00:00
3 hours, 0 minutes, and 0 seconds.
Target 7: WSHttpBinding
https://msdn.microsoft.com/en-us/library/hh924831(v=vs.110).aspx
it should be using basicHttp, which is compatible with basic asmx web service.
basicHttpBinding
timeout
basicHttpBinding
timeout
closeTimeout
03:00:00
+1
No it’s wshttpBinding
It’s basicHttpBinding – please have a look at this very question at older dumps.
answer is basichttpbinding refer to the link below
https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/interop-with-aspnet-web-services
T1,3,7 should be BasicHttpBinding, not WSHttpBinding.
basicHttpBinding
closeTimeOut
basicHttpBinding
closeTimeOut
closeTimeOut
03:00:00
basicHttpBinding