<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior name="Behavior"> ------------行为
<webHttp defaultOutgoingResponseFormat="Json" />
</behavior>
<!--<behavior name="cn.health_china.pm.web.QuestionaireAspNetAjaxBehavior">
<enableWebScript />
</behavior>-->
</endpointBehaviors>
<!--<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>-->
</behaviors>
<bindings>
<webHttpBinding> -----------绑定
<binding name="Binding" maxReceivedMessageSize="102400000" />
</webHttpBinding>
</bindings>
<services>
<service name="cn.health_china.pm.web.service.Questionaire">
<endpoint behaviorConfiguration="Behavior" binding="webHttpBinding" ----binding 绑定方式
bindingConfiguration="Binding" contract="cn.health_china.pm.web.service.Questionaire" />
</service> ------contract 契约
</services>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"
multipleSiteBindingsEnabled="true" />
</system.serviceModel>
</configuration>