creating web service in VB.NET -


i have little background in web , need task myself grateful boss told me (as far understand) - have write web service server gets parameters, check validity , insert/update them in database. parameters delivered packet written in soap - wsdl file. have using vb.net in visual studio 2010. read bit , if understand correctly .net takes care of soap wsdl issue, transparent me, isn't it? or should install or implement concerning that? saw examples in net have implement web_method in asmx file, so? if yes, parameters method - whole bunch of 20 parametres supposed in packet? need declare or update in order connect db? appreciated - uf answer long happy pointer relevant material can read , learn. lot

try reading this msdn article: describes how write simple web service using visual basic .net

here main steps linked msdn article:

  1. start visual studio .net or visual studio.
  2. create new active server pages (asp) .net web service project. name web service mathservice , point location appropriate web server running asp.net if necessary.
  3. change name of solution file mathservice consistency.
  4. change name of default web service created service1.asmx mathservice.asmx.
  5. click click here switch code view in designer environment switch code view.

    change name of class public class service1 public class mathservice.

  6. define methods encapsulate functionality of service. each method exposed service must flagged webmethod attribute in front of it. without attribute, method not exposed service.

  7. click build on build menu build web service.

  8. browse mathservice.asmx web service page test web service. if set local computer host page, url http://localhost/mathservice/mathservice.asmx.

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -