Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to use web services with code?(with example code)

Answer Posted / nithya

First we need to create webmethod in webservice.
And we need to expose the webmethod as wsdl file.

Who wants to consume those webmethod they have to create a
class file by using wsdl tag in dotnet command prompt.

once the class file has been created and we can create
instance for that and start accessing all the methods from
the class file.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cross page posting? How is it done?

897


What are the advantages and disadvantages of Using Cookies?

921


What is a session http?

866


What is data caching?

920


How can we make sure that Web API returns JSON data only?

966


What is difference between session and application in asp net?

966


What kind of programming language is ASP.NET?

1080


What are the server control tags in asp.net.?

1008


Where the assembly is stored in asp.net?

959


How would you implement inheritance using c#?

955


How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC

830


What websites use asp.net?

977


What is state management techniques in asp.net?

977


What are the difference between overriding and overloading?

996


Explain the steps to be followed to use passport authentication.

991