Josh Twist wrote:
> Oops sorry - Martijn, mustn't have finnished reading your post
> properly! My apologies:
>
> public class Field {
> [XmlAttribute()]
> public string Name;
>
> [XmlText()]
> public string Value;
> }
Thanks

That seems to work perfectly, I didn't know it was that easy
So the response and request of my webservice calls are now properly
(de)serialized, but there's one little thingy left... the HTML pages
that .NET generates for a webservice indicate that the following XML for
my class will/should be in the response/request:
<Field Name="string" />
That might confuse webservice consumers, as this is not correct,
according to the actual output of a webmethod that returns an instance
of my class...
--
Thanks,
Martijn Saly