Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Thu, 21 Aug 2008 07:40:56 -0700 (PDT),    group: microsoft.public.dotnet.framework.aspnet        back       


problem trying to consume web service that returns a strongly typed dataset from 1.1 web app   
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
date: Thu, 21 Aug 2008 07:40:56 -0700 (PDT)   author:   steven

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us