If you want to take this one level further:
Create an XSD that describes ApiException and its child member,
ApiError. When you catch a SoapException, take the Detail.OuterXml
member, and parse it with XmlSerializer.Deserialize() For this you
need an XSD that describes the XML fragment.
The beauty
That's fantastic!I'll try this out right now on my own adwords' application.
Thanks a lot.
Bye,
Eric
On Mon, Aug 24, 2009 at 04:57, Harutyun Terteryan wrote:
> Hi all
>
> I find solution for mentioned issue.
> In the api methods throws Exception on soapException catch block and set
> catched
Hi all
I find solution for mentioned issue.
In the api methods throws Exception on soapException catch block and set
catched soapException as InnerException, so
we can get that exception and it's Detail property witch contains InnerText
from web service.
Best
Harut.
On Mon, Aug 24, 2009 at 10:57