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

How many types of session state management options available in asp.net?

1050


Why do we use datasource in asp.net?

978


Can I read the hard disk serial # of the client computer using asp.net?

1098


What does it mean your session has timed out?

990


What is a postback ispostback and autopostback in asp net?

903


How to send a DataReader as a parameter to a remote client ?

3425


Explain the asp.net mvc folder conventions? : asp.net mvc

1005


Is there any property names “isnavigating”?

1059


What are the validation controls available in ASP.NET?

1011


Distinguish between Server-side and Client-side code with its functionality?

1143


What is the mvc framework?

1015


What is an il?

1038


In which situation can you not use a viewstate?

966


Explain the basic functionality of garbage collector?

988


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

900