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
What is cross page posting? How is it done?
What are the advantages and disadvantages of Using Cookies?
What is a session http?
What is data caching?
How can we make sure that Web API returns JSON data only?
What is difference between session and application in asp net?
What kind of programming language is ASP.NET?
What are the server control tags in asp.net.?
Where the assembly is stored in asp.net?
How would you implement inheritance using c#?
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
What websites use asp.net?
What is state management techniques in asp.net?
What are the difference between overriding and overloading?
Explain the steps to be followed to use passport authentication.