Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

  • heralight

    heralight

    Member

    49 Points

    30 Posts

    Re: Silverlight 2.0 Secure Webservices SSL failed (without cross domain call) but works in WPF

    Apr 17, 2008 09:27 AM | LINK

    I would like, but to access to web service in silverlight beta 1, as I understand, we must create an EndPointAddress and a BasicHTTPBinding object (explicitly or implicitly in Add service reference) that why I can't directly access to the main browser ssl connection through web service instance.

    For example :

    My silverlight is download from https://www.mock.com/jws/silverlight/test.html

    my  web service is  https://www.mock.com/jws/ws

    I need to do:

                Binding bd = new BasicHttpBinding();
      EndpointAddress address = new EndpointAddress("https://www.mock.com/jws/ws");

    myWebService = new WSClient(bd, address); 

    In this case, in SSL, client doesn't understand server... because my web service instance doesn't have any certificate X509 or doesn't accept it. 

     

     Any Idea... ? [:P]


     Alexandre

     

     

    --
    Please mark the posts as answers if they help and unmark if they don't.
    http://www.hera.cc