problem trying to consume web service that returns a strongly typeddataset from 1.1 web app

S

steven

I've got a web site in .net 1.1 that uses a .net 2.0 web service. If
any of the methods in the web service return a strongly typed dataSet,
I get the following error when trying to instantiate the webService:

"Method Service.get_SreetList can not be reflected."


Here's an example of one of the methods that causes the exception:

<WebMethod( _
Description:="This method gets all the streets ")> _
Public Function get_SreetList() As
AddressVerificationDataSet.STREET_MASTER_COWDataTable
Return objDAL.GetStreetList()
End Function

If I replace this function with something more generic, I have no
exception when instantiating the web service:

<WebMethod( _
Description:="This method gets all the streets ")> _
Public Function get_DataSet() As System.Data.DataSet
Dim oDs As New System.Data.DataSet
Return oDs
End Function

Any way to fix this?

Tks
 

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,968
Messages
2,570,153
Members
46,701
Latest member
XavierQ83

Latest Threads

Top