Ask a Question related to ASP.NET Web Services, Design and Development.
-
Brad Quinn #1
XmlNode -> Schema -> Object
I apologize, this question pertains to WebServices only indirectly.
Lets say I have an XmlNode that validates against some schema. I also have
a class that was generated by the xsd tool using said schema.
What is the best way to get from an XmlNode to an instance of the class?
I would really like to make the class be a parameter to a WebMethod, but the
schema is more rigorous than the class definition.
I'm not sure what to do here.
Brad Quinn Guest
-
Error returning an XmlNode from a webservice
I am using WSE 2.0 and ASP.NET to consume two webservices. The first works fine 100% of the time - the second doesn't. The first has a signature... -
HttpPOST fails when using XmlNode
Can someone explain why HTTP Post fails when implementing this simple webmethod? public XmlNode Echo(XmlNode doc) { return doc; } -
[WebMethod] passing, receving XmlNode Without a Namespace
Hi all, For some reasons I sometimes use the following interface for xml passing: public XmlNode getSomeOutputXml(XmlNode someInputXml) { }... -
XmlNode in Web Services...
Requirements have made me to come up with a Web Service that accepts XML as input. Figured out that XmlNode is possible to work with and it works... -
NullReferenceException...hitting them all today...on XmlNode return
Hi again, I've solved my previous posting (which I'll comment in when it appears) -- I had a http://www.developersdex.com *** Don't just... -
Dino Chiesa [MSFT] #2
Re: XmlNode -> Schema -> Object
For an answer, check the response to the cross-post in
microsoft.public.dotnet.xml
"Brad Quinn" <brad_quinn@yahoo.com> wrote in message
news:%235QFaVhVDHA.2364@TK2MSFTNGP09.phx.gbl...have> I apologize, this question pertains to WebServices only indirectly.
>
> Lets say I have an XmlNode that validates against some schema. I alsothe> a class that was generated by the xsd tool using said schema.
>
> What is the best way to get from an XmlNode to an instance of the class?
>
> I would really like to make the class be a parameter to a WebMethod, but> schema is more rigorous than the class definition.
>
> I'm not sure what to do here.
>
>
Dino Chiesa [MSFT] Guest



Reply With Quote

