I have several web services that I need to integrate into an existing site. I have successfully tested all of them using a stand alone web service application so I know they are available and work. I have also already added them as web references to my site using Visual Studio 2010.
Each service contains methods that return arrays, sometimes arrays within arrays, of data. I need to be able to filter through all of these results and take actions based on them; sometimes displaying data, sometimes making behind the scenes actions. I imagine that a repeater will give me the most flexibility with presentation, but to start off with I would just like to bind the raw results of some of the methods to a GridView just to know the connection is working and see the data on the screen. I need guidance in binding the data to the control, but I'm getting errors even before I reach that point. Here is what the VB.NET code looks like from within the Page_Load sub:
Dim wsRequest As New [Web Reference Name Here].[Web Service Name Here]
Dim wsResult As New wsResult
wsResult = wsResult .[Method Name Here]("Passed Value")
When refreshing the page I am getting the following error:
Compiler Error Message: BC30002: Type 'wsResult ' is not defined.
Any help consuming the Web Service and then binding to control is appreciated.