2011-04-12 61 views
0

當我添加一個服務silverlight是基本而不是wsHttpBinding。什麼可能導致這種情況,我該如何避免它?這是我的web.config:silverlight picking基本而不是wsHttpBinding

<configuration> 
     <system.web> 
      <compilation debug="true" targetFramework="4.0" /> 
     </system.web> 

     <system.serviceModel> 
      <standardEndpoints /> 
      <bindings /> 
      <services> 
       <service name="Service2"> 
        <endpoint binding="wsHttpBinding" bindingConfiguration="" name="Service2Endpoint" 
         bindingName="wsHttpBindingFirst" contract="IService2" /> 
       </service> 
      </services> 
      <behaviors> 
       <serviceBehaviors> 
        <behavior name=""> 
         <serviceMetadata httpGetEnabled="true" /> 
         <serviceDebug includeExceptionDetailInFaults="false" /> 
        </behavior> 
       </serviceBehaviors> 
      </behaviors> 
      <serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> 
     </system.serviceModel> 
    </configuration> 

回答

0

沒有把在 命名空間通過Silverlight的

不支持
相關問題