Also, for debugging I find tracing the actual web service requests and
responses to be very helpful. If you have a look at the documentation
for the SoapExtension class in MSDN there is an example SoapExtension
which dumps the full SOAP request and response to a text file which
can be invaluable. It is usable as is or you can tweak it to your
needs.

On 5/17/05, Bill Bassler <[EMAIL PROTECTED]> wrote:
> I'm confused.
> In a regular .net library app, I can generate a set of .net classes from a
> schema using xsd.exe /c. I can then generate/deserialize to a fully
> populated object based on the submitted xml doc string using:
> 
> XmlSerializer serializerIn = new XmlSerializer(typeof
> (Esylvan.EnterpriseLibrary.Types.ElmsEnrollment.ElmsResponse));
> System.IO.StringReader reader = new System.IO.StringReader
> (_xmlResponseDocument.OuterXml);  <-- xml doc string
> _enrollmentResponse =
> (Esylvan.EnterpriseLibrary.Types.ElmsEnrollment.ElmsResponse)
> serializerIn.Deserialize(reader);
> 
> However, if attempt basically the same deserialization process using a wsdl
> generated proxy for that type deserialization "works" but the process does
> not create any objects internal to the outer container as it does when I
> deserialize directly from the xsd generated classes.
> 
> Why?
> I took a look at the xmlSerialization attributes and many (but not all)
> between the proxy and the xsd generated classes are the same.
> 
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
> 
> View archives and manage your subscription(s) at http://discuss.develop.com
> 


-- 

Regards,

William D. Bartholomew
http://blog.bartholomew.id.au/

===================================
This list is hosted by DevelopMentor�  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to