Hi,
Not 100% sure if this is the correct group to post in but.
I have a class that I want to serialize/deserialize to match the MM7
specifications, which I have done but now that we are starting to
connect to a few different people we have realised that there are
multiple versions of the specification and each one has been defined
in a different namespace, now the actual xml is the same between the
versions
example :
Release 6 version 1. 4
<?xml version="1.0"?>
<Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://
schemas.xmlsoap.org/soap/envelope/">
<Header>
<TransactionID d3p1:mustUnderstand="1" xmlns:d3p1="http://
schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.3gpp.org/ftp/
Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4">test</
TransactionID>
</Header>
<Body>
<SubmitReq xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/
23.140/schema/REL-6-MM7-1-4">
<MM7Version>6.8.0</MM7Version>
<SenderIdentification>
<VASPID>GENE</VASPID>
<VASID>GENE</VASID>
</SenderIdentification>
<Recipients>
<To>
<Number>61405192054</Number>
</To>
</Recipients>
<Subject>Subject</Subject>
<Content href="cid:content_part" />
</SubmitReq>
</Body>
</Envelope>
Release 5 versiojn 1.3
<?xml version="1.0" ?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/
23_series/23.140/schema/REL-5-M M7-1-3" env:mustUnderstand="1">
vas00001-sub
</mm7:TransactionID>
</env:Header>
<env:Body>
<SubmitReq xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/
23.140/schema/REL-5-MM7-1 -3">
<MM7Version>5.6.0</MM7Version>
<SenderIdentification>
<VASPID>GENE_TEST</VASPID>
<VASID>GENE</VASID>
</SenderIdentification>
<Recipients>
<To>
<Number>61414760983</Number>
</To>
</Recipients>
<Subject>Testing</Subject>
<Content href="cid:content_part"/>
</SubmitReq>
</env:Body>
</env:Envelope>
The only difference is the namespaces, is there anyway in .NET to
control the serialization and map different namespaces onto one so
that we can just have one set of classes defined ?
Thanks for any help here