Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE -> Backend via ADO
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00881202
Message ID:
00882195
Views:
16
Viv,

>I've been experimenting using XMLDataDocument as the parameter type. Oddly this won't get through the SOAP layer when passing it back to the .NET web service. If the type is specified as XMLElement it works fine. The only difference in the schemas generated is that the XMLDataDocument is mixed complex type. AFAIK this just means that the content *can* be mixed - not that it has to be. Don't know why this throws things. I'm using the webservices.htc and guessing the problem may lie there...

I don't think that's it. The SOAP parser knows about a few complex types like DataSet and XmlElement and performs custom actions on it. XmlDataDocument (or XmlDocument for that matter) aren't. This really shouldn't be a big deal from your end though since you can just pass the document element back and then on the other end simply reload the XmlDataDocument with this Xml... One thing that is nice that a lot of Soap Parsers can deal with Xml Elements directly so this is not just a .Net thing unlike soe of the other complex types like DataSet.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform