C# .net How we valiadate a xml with Multiple xml-schemas
Posted
by allen8374
on Stack Overflow
See other posts from Stack Overflow
or by allen8374
Published on 2010-04-28T02:57:57Z
Indexed on
2010/04/28
3:03 UTC
Read the original article
Hit count: 566
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:m0="http://www.MangoDSP.com/schema"
xmlns:m1="http://www.onvif.org/ver10/schema">
<SOAP-ENV:Body>
<m:CreateView xmlns:m="http://www.MangoDSP.com/mav/wsdl">
<m:View token="">
<m0:Name>View1</m0:Name>
<m0:ProfileToken>AnalyticProfile1</m0:ProfileToken>
<m0:IgnoreZone>
<m0:Polygon>
<m1:Point y="0.14159" x="0.12159"/>
<m1:Point y="0.24159" x="0.34159"/>
<m1:Point y="0.14359" x="0.94159"/>
</m0:Polygon>
</m0:IgnoreZone>
<m0:SceneType>Outdoor</m0:SceneType>
<m0:CustomParameters>
<m0:CustomParameter>
<m0:Name>ViewParam1</m0:Name>
<m0:CustomParameterInt>0</m0:CustomParameterInt>
</m0:CustomParameter>
</m0:CustomParameters>
<m0:SnapshotURI><!--This element is ignored for the create view request -->
<m1:Uri>http://www.blabla.com</m1:Uri>
<m1:InvalidAfterConnect>true</m1:InvalidAfterConnect>
<m1:InvalidAfterReboot>true</m1:InvalidAfterReboot>
<m1:Timeout>P1Y2M3DT10H30M</m1:Timeout>
</m0:SnapshotURI>
</m:View>
</m:CreateView>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
xmlns:m="http://www.MangoDSP.com/mav/wsdl" as localfile:"ma.wsdl" xmlns:m0="http://www.MangoDSP.com/schema" as localfile:"MaTypes.xsd"
how can i validate it.
© Stack Overflow or respective owner