S
Sriranjan
Hi,
How do I deserialize an object based on a random XML file? I have tried
using the XMLSerializer.Deserialize method but it does not set the
values for the members. I need tto do this because I am trying to
invooke a web service by passing this object as the input.
Here is the sample XML file which I am trying to deserialize:
- <ItemSearch xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SubscriptionId>1VCN8RB15QCDW22CGY82</SubscriptionId>
<AssociateTag>aTag</AssociateTag>
<AWSAccessKeyId>accesskey</AWSAccessKeyId>
<MarketplaceDomain>market</MarketplaceDomain>
<Request />
<Shared />
<Validate>invalidate</Validate>
<XMLEscaping>escaped</XMLEscaping>
</ItemSearch>
Thanks,
Sri
How do I deserialize an object based on a random XML file? I have tried
using the XMLSerializer.Deserialize method but it does not set the
values for the members. I need tto do this because I am trying to
invooke a web service by passing this object as the input.
Here is the sample XML file which I am trying to deserialize:
- <ItemSearch xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SubscriptionId>1VCN8RB15QCDW22CGY82</SubscriptionId>
<AssociateTag>aTag</AssociateTag>
<AWSAccessKeyId>accesskey</AWSAccessKeyId>
<MarketplaceDomain>market</MarketplaceDomain>
<Request />
<Shared />
<Validate>invalidate</Validate>
<XMLEscaping>escaped</XMLEscaping>
</ItemSearch>
Thanks,
Sri