Locked How call web services method without visual studio ?

  • Tuesday, July 10, 2012 1:26 PM
     
     

    Dear Folks,

    I would like to know answers about the following questions:

    1. How to consume the web service from other editor( without visual studio ).?

    2. How to consume the web service from visual studio?

    3. how to create web service proxy in programmatic using asp.net with c#?

    4. how to create the xml web service proxy using c# ?

    Appreciate for your helps and answers.

    Thank you

    Regards

    Immanuel Chelladurai


All Replies

  • Wednesday, July 11, 2012 6:52 AM
     
      Has Code

    1. You can use jquery/ajax

            $.ajax({
                type: "POST",
                url: pageUrl + "/DisplayMessage",
                data: '{}',
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: OnSuccessCall,
                error: OnErrorCall
            });

    2. Right click on solution, Just add a web reference and call webservice using the object of reference

    3&4, you can use wsdl.exe to create a programmatic proxy class


    Donate Your Car / Buy Donated Cars in California Charity Thanks, Nishanth Mohan