views:

13

answers:

0

Hi, I am using a web service that requires connection through ssl. I have the connection configured in my app.config this way:

            <binding name="WsDatosSociosSoap" closeTimeout="00:01:00" openTimeout="00:01:00"
                receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
                bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
                maxBufferSize="524288" maxBufferPoolSize="524288" maxReceivedMessageSize="524288"
                messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
                useDefaultWebProxy="true">
                <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                <security mode="None">
                    <transport clientCredentialType="None" proxyCredentialType="None"
                        realm="" />
                    <message clientCredentialType="UserName" algorithmSuite="Default" />
                </security>
            </binding>

and the endpoint:

<endpoint address="http://localhost:8978/WebSocioInfinitus/wsDatosSocios.asmx"
                binding="basicHttpBinding" bindingConfiguration="WsDatosSociosSoap"
                contract="DatosSocios.WsDatosSociosSoap" name="WsDatosSociosSoap" />

how do I adapt the connection when the service "WsDatosSocios" requires ssl???

thanks!!! Nicole