This element enables the endpoint behavior that makes it possible to consume the service from ASP.NET AJAX web pages.
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior> of <endpointBehaviors>
<enableWebScript>
Attributes
None.
Child Elements
None.
Parent Elements
This behavior should only be used in conjunction with either the <webHttpBinding> standard binding, or the <webMessageEncoding> binding element. For more information on this behavior, see WebScriptEnablingBehavior.
Reference
<webHttp>
WebScriptEnablingElement
WebScriptEnablingBehavior
Other Resources
ASP.NET AJAX Integration and JSON Support
© 2007 Microsoft Corporation. All rights reserved.