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

    How to create web service for Verinet E2/E4 in c# asp.net

    Hi to all.
    I am venkat, i am web developer, currently now i am working employee management system .
    already my client using Siemens Siveillance Fusion system for multiple purpose(e.g access control and cctv camera ),access control system generate employee id card with barcode for register employee,each employees sweap ID card .the reader read the barcode number and send to Verinet e2/E4 controller .Here Creating Web service for each controller access after the data is transferred to sql server, here created new asp.net web application ,i want integrate with my application Web service.

    once I create New web service for Verinet E2/E4 How to create for that web service.
    I have only knowledge only web service, I dont know how to create that if any one have idiea about that WEb service Please Post your code or any Reference link

    thank You
    Venkat
    venkatachalam.sanvels@yahoo.com
  • #760585
    Hi

    Create a web service by adding the reference and call the methods present in your service through client application.

    Creating webservice using visual studio 2010
    -Select new asp.net empty wesite and name as yourwebservice.
    -Right click on website path and select add new
    item.
    -Secelct webservice template from list and name as yourservice.
    -Visual studio creates asmx and cs files.

    public class yourService :
    System.Web.Services. WebService
    {

    [webmethod]
    Public void yourmethod()
    {
    //logic of your service
    }
    }

    Regards

    Sridhar Thota.
    "Poverty means.. Poverty of knowledge.."

    Sridhar Thota.
    Editor: DNS Forum.

  • #760586
    Hi

    Creating client application to use your web service.
    -Select new asp.net website, name it.
    -Add new item, select default.aspx web form.
    -Go to solution explorer right click and add
    webreference(your service).
    -Adding reference will create proxy class to
    communicate with service.

    protected void Button1_Click( object sender,
    EventArgs e)
    {
    localhost. yourService obj=new
    localhost. yourService();
    bool b=obj.yourmethod();
    }

    Go through below link of article on creating and consuming webservice.

    www.dotnetspider.com/resources/46129-Creating-and-consuming-webservice.aspx

    Regards

    Sridhar Thota.
    "Poverty means.. Poverty of knowledge.."

    Sridhar Thota.
    Editor: DNS Forum.


  • Sign In to post your comments