Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Incorrect data types returned

Reply
Thread Tools

Incorrect data types returned

 
 
Ishan Bhalla
Guest
Posts: n/a
 
      03-03-2008
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.BasicPr ofile1_1)> _
<Global.Microsoft.VisualBasic.CompilerServices.Des ignerGenerated()> _
<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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incorrect number of bytes returned by getsockopt(socket.SOL_SOCKET,socket.TCP_INFO, buflen) Ashwin Rao Python 2 12-03-2009 09:36 PM
Need help in programmatically accessing the data returned by data access method... Siva ASP .Net 1 04-17-2006 06:48 PM
equivalent c data types for vc++ data types ramu C Programming 2 02-20-2006 09:33 AM
data binding with no data returned? How can this be handled? Kostia ASP .Net 0 04-27-2004 05:22 PM
Data types returned by web service J. Garth Ogzewalla ASP .Net Web Services 1 10-13-2003 08:57 PM



Advertisments