You must Sign In to post a response.
  • Category: Webservices

    To Provide Authentication before using webserivce

    I Want to provide authentication before i call my web url when i hit my webservice it should ask for login . please provide solution for this
  • #764690
    Hi pratik,

    You have to set following attribute for a web method inside web service first.
    [SoapHeader ("Authentication", Required=true)]
    Then you can implement authentication mechanism inside a webservice and for that refer following URL's:
    Hope it helps.
    Shashikant Gurav

  • #764741
    Here you go for the sample code in this regard,

    Asheej T K

  • Sign In to post your comments