[Mono-dev] WebMethod attribute

C S Vadiraj csvadiraj at novell.com
Fri Apr 25 07:46:18 EDT 2008


** High Priority **

Hi,

I'm using a WebMethod attribute in my app. The transaction is failing with version mono-1.2.6 however it is successful
with version 1.2.5.


Here is the snippet that I'm using..



[WebMethod, Privilege ("view")]
        public string Ping () {
            log.Info("Got ping request from client") ;
            return String.Format ("pong");
        }



The same code run on mono-1.2.5 runtime goes fine and I get pong as response.. But not on 1.2.6.


Any idea whats wrong with 1.2.6. 


Thanks,
Vadiraj



More information about the Mono-devel-list mailing list