DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 31 Jul 2007 08:32:03 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Dave T


XML Node to XML Document   
I have a web service method that returns an XMLDocument.  When I call it from 
an aspx page, the intellisense says that the method is of type XMLNode, so 
when I try, stupidly, to get the results of the web service call into an 
XMLDocument in the client, it fails with the error

System.Web.Services.Protocols.SoapException: Server was unable to process 
request. ---> System.InvalidCastException: Unable to cast object of type 
'System.Xml.XmlElement' to type 'System.Xml.XmlDocument'.

Does anyone know where I might find out more about this?

Thanks
Date:Tue, 31 Jul 2007 08:32:03 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us