none
已经开启元数据了,为什么还会出错? RRS feed

  • 问题

  •             <behaviors>
                    <serviceBehaviors>
                        <behavior name="MyServiceBehaviour">

                            <serviceMetadata httpGetEnabled="true" />

                            <serviceDebug includeExceptionDetailInFaults="true" />

                        </behavior>
                    </serviceBehaviors>
                </behaviors>

    <services>
                    <service name="MyService" behaviorConfiguration="MyServiceBehaviour">

                    </service>
                </services>

    已经开启元数据了, 为什么还在提示:

    Metadata publishing for this service is currently disabled. 

    2010年4月25日 23:50

答案

全部回复