Hello,

We want to serialize the XML result from the report service to a class that 
maps to reports fields. So that we can consume the result of the report as 
a  strongly typed object and we will have the ability to see the properties 
via intellisense.

What we need is, C# POCO classes that are mapped to report XML files, so 
that we can serialize to objects instantly. We tried to create the classes, 
we used the Visual Studio feature "Paste XML as Classes" which you just 
copy XML content and you paste it to C# file with this option and voila it 
creates C# classes according to the XML you copied. But the problem is, 
sometimes attribute types are not matched with the result XML in runtime, 
because the XML file you created the classes may have a fields with value 1 
(int) and the runtime result may be 2.5 (double) so the attribute in 
classes are created as int but in runtime service returns double. So we 
need to fix all that manually which is not a developer's way of doing 
things.

So do Google provide C# POCO classes for reports services XML results or 
anyone found any other way of consuming the service results with strongly 
typed classes.

Thanks a lot.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d054312e-ebbd-4d67-854e-d86d994c9e0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to