Consume a Web sevice

Discussion in 'ASP.NET WebServices' started by Amila, Sep 9, 2011.

  1. http://123.231.66.12/gslwssuperbestbuynew/

    I wan to pass above web service values to one Grid view in asp using c#
    or
    simply i want to know how to map relation xml ( in above web service ) to Grid view in asp using c# with all data in one..

    plz anyone reply me...
     
  2. That web service supports a single method (SuperBestBuy) that returns any old undefined arbitrary xml as it's response. Without knowing the structure of that xml response it's impossible to advise or know how to bind this response to a GridView.

    Probably the best thing to do is contact the vendor of this service for detailed information about what xml response you might receive if you were to call this service.

    Once you know what the xml response looks like, the easiest and most automatic way to bind xml to any data bound control will be to use an XmlDataSource: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.xmldatasource.aspx
     

Share This Page