Re: WCF IIS 7
От: Holms США  
Дата: 26.04.11 08:14
Оценка:
Здравствуйте, vadi, Вы писали:

V><?xml version="1.0" encoding="utf-8" ?>
V><configuration>
V>  <system.serviceModel>
V>    <services>
V>      <service name="WcfServiceLibrary1.Service1" behaviorConfiguration="MEXServiceTypeBehavior">
V>    <host>
V>        <baseAddresses>
V>            <add baseAddress="http://localhost/testWcf2/test.svc"/>
V>        </baseAddresses>
V>    </host>
V>        <endpoint address="" binding="wsHttpBinding" contract="WcfServiceLibrary1.IService1"/>
V>        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
V>      </service>
V>    </services>
V>    <behaviors>
V>      <serviceBehaviors>
V>        <behavior name="MEXServiceTypeBehavior">
V>             <serviceMetadata httpGetEnabled="true" />
V>        <serviceDebug includeExceptionDetailInFaults="false"/>        
V>        </behavior>
V>      </serviceBehaviors>
V>    </behaviors>
V>  </system.serviceModel>

V></configuration>


попробуй так
<behavior name="MEXServiceTypeBehavior"> -> <behavior name="">

<service name="WcfServiceLibrary1.Service1" behaviorConfiguration="MEXServiceTypeBehavior"> -> <service name="WcfServiceLibrary1.Service1" >
... << RSDN@Home 1.2.0 alpha 5 rev. 1497>>
The life is relative and reversible.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.