Incorrect data types returned

I

Ishan Bhalla

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top