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 are the parts of an http response?
What are the merits and demerits of viewstate?
What is asp net objects?
Differentiate between authentication and authorization.
Who can consume WebAPI?
What is the difference between login controls and forms authentication?
What is the differences between a primary key and a unique key in sql server?
Do I need to have the latest version of windows media player installed?
Define machine.config in .net?
What are the two Layouts supported by a Web form in ASP.NET?
How to you can limit Access to Web API to Specific HTTP Verb?
Why mvc is better than asp.net? : Asp.Net MVC
How to Insert/Add in ASPXgridview
Give an example of cookie abuse.
What is a 307 redirect?