3 messages in com.googlegroups.adwords-apiRe: Error handling in .NET?
FromSent OnAttachments
briguy18 Jan 2007 08:25 
zdvs...@hotmail.com20 Jan 2007 16:47 
Andy22 Jan 2007 03:07 
Subject:Re: Error handling in .NET?
From:zdvs...@hotmail.com (zdvs@hotmail.com)
Date:01/20/2007 04:47:22 PM
List:com.googlegroups.adwords-api

It's a shame that .NET doesn't support failures in Web Services and/or WSDL.EXE (the program that interpretes a WSDL file) ignores 'fail' objects. I defined an XSD file for the ApiException object, using that I can parse the OuterText member of the exception. My code then raises a new (self-defined) exception with the ApiException class.

Unfortunately every now and then a failure pops up that couldn't be interpreted by my XSD.