开发者

silverlight picking basic instead of wsHttpBinding

开发者 https://www.devze.com 2023-02-25 14:45 出处:网络
When I add a service silverlight is picking basic instead of wsHttpBinding.What might cause this and how can I avoid it?This is my web.config:

When I add a service silverlight is picking basic instead of wsHttpBinding. What might cause this and how can I avoid it? This is my web.config:

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

        <system.serviceModel>
            <standardEndpoints />
            <bindings />
            <services>
                <service name="Service2">
                    <endpoint binding="wsHttpBi开发者_Go百科nding" 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>


Didn't put the namespace in Not supported by silverlight

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号