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

Explain cashing in asp.net.

980


Where viewstate value is stored in asp.net?

1082


Can we use html in asp.net?

925


What is preprocessor in .net?

970


What is server transfer?

893


What is DataGrid wheater its a Server Control or something else ?

1076


How to disable validator control by client side JavaScript?

1050


How does the iis work?

1021


Who creates jsessionid?

1025


How can you identify that the page is post back?

989


What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?

974


Explain server control extensibility with reference to asp.net 2.0 ?

990


What is datagrid asp.net?

1039


What is globalization and localization in asp net?

982


What are validator? How do you disable them?

1123