How to consume a webservice in a windows application without
adding through the web reference?



How to consume a webservice in a windows application without adding through the web reference?..

Answer / sanjay

create a proxy class by using wsdl.exe.Once it done,through
this class you can call webservice.

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More ASP.NET Interview Questions

what are the main advantage in .net?

4 Answers   TCS,


I am using ASP.Net 2.0. I added the following code in button_Click page. but 'PreviousPage' is not taking as a keyword. It throughs an error. Page Poster = this.PreviousPage; TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest"); sDisplay = txtNewTest.Text; Response.Write(sDisplay); The following is the Error Message: 'controls_LoginMain' does not contain a definition for 'PreviousPage'

2 Answers  


If we remove web.config or machine.config from the application then, is this application will works?

0 Answers  


What is rich control in asp.net?

0 Answers  


How to Insert/Add in ASPXgridview

0 Answers   Infosys,


Define satellite assemblies.

0 Answers  


Input:http://www.allinterview.com/forms/questionform.php Output:http://www.allinterview.com/forms/questionform Write c# program to get the above desired output for the given Input.....

3 Answers   Bally Technologies,


Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?

0 Answers  


What is slidemaster?

0 Answers  


Explain diff. Betn dataset and recordset?

0 Answers  


What is the difference between server-side scripting and client-side scripting?

0 Answers  


Have you used microsoft dataaccess blocks and Exception blocks?

1 Answers   Microsoft,


Categories