Hello,
Am new to web services.
i am exposing a web service that returns a datatable, but when i reference
the web service and call it it seems to be returning
GetCountriesResponseGetCountriesResult. Am not able to figure out what i am
doing wrong.
<WebService(Namespace:="http://www.abc.com")> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
<DataObjectAttribute()> _
Public Class RankingManager
Inherits System.Web.Services.WebService
<WebMethod()> _
Public Function GetCountries() As DataTable
Dim ranking As New RankingDB
Return ranking.getCountries
End Function
Thanks for all the help
Regards
Ishan
Tomar - 04 Mar 2008 19:15 GMT
I am slightly uanble to understand your problem. But we had implemented tons
of webservices in one of the application. Th approach we took is to get the
data as string from database and later convert that data into dataset or
datatable.
--Hemant
> Hello,
>
[quoted text clipped - 24 lines]
> Regards
> Ishan