WCF - Control namespaces when deserializing

Choco

New Member
An external (java) app sends messages to our web service. This message contains multiple namespaces:\[code\]<StUF:Fo01Bericht xmlns:StUF="http://www.egem.nl/StUF/StUF0300"> <LVO:stuurgegevens xmlns:LVO="http://www.vrom.nl/StUF/sector/lvo/0305"> <StUF:versieStUF>0300</StUF:versieStUF> <StUF:berichtcode>Fo01</StUF:berichtcode> </LVO:stuurgegevens> <StUF:body> <StUF:code>200</StUF:code> <StUF:plek>LVO</StUF:plek> <StUF:eek:mschrijving>test</StUF:eek:mschrijving> </StUF:body></StUF:Fo01Bericht>\[/code\]The WCF service cannot deserialize this message because of the LVO prefix on the second line (it should have been StUF according to the WSDL). I want to get our web service to accept these messages. Is there a way to do this - preferably using attributes?
 
Top