does mono implement credentials because when i want to use a distant webservice on an 
IIS server i get ann  401 (access refused) error.
But when i accept anonymous request this 401 error disappear!
the code of the webservice:
        try{    
        Websrvcl.localhost.Service1 srv =  new Websrvcl.localhost.Service1();
        srv.Credentials = new System.Net.NetworkCredential("kiorky","*******");
        srv.PreAuthenticate = true;                             
        smachaine = ""+ srv.HelloWorld();               
        Label1.Text=smachaine;
        }
        catch (System.Exception ex)
        {
        Response.Write(ex.Message);
        }
}

and is there an util like wsdl.exe on mono?
regards
-- 
----------------------------
- Gloire au monde libre    -
----------------------------
    I{ i () r |{ Y
    Debian User
---------------------------------------------
-- Mathieu PASQUET     
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
---------------------------------------------


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to