You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/labs/OnvifTest/Template.cs

27 lines
1.9 KiB

namespace OnvifTest
{
public class Template
{
public const string GetServiceRequestTemplage = @"<s:Envelope
xmlns:s=""http://www.w3.org/2003/05/soap-envelope""
xmlns:a=""http://schemas.xmlsoap.org/ws/2004/08/addressing"">
<s:Header>
<a:Action s:mustUnderstand=""1"">http://schemas.xmlsoap.org/ws/2005/04/discovery/Probe</a:Action>
<a:MessageID>urn:uuid:{0}</a:MessageID>
<a:ReplyTo>
<a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address>
</a:ReplyTo>
<a:To s:mustUnderstand=""1"">urn:schemas-xmlsoap-org:ws:2005:04:discovery</a:To>
</s:Header>
<s:Body>
<Probe
xmlns=""http://schemas.xmlsoap.org/ws/2005/04/discovery"">
<d:Types
xmlns:d=""http://schemas.xmlsoap.org/ws/2005/04/discovery""
xmlns:dp0=""http://www.onvif.org/ver10/device/wsdl"">dp0:Device
</d:Types>
</Probe>
</s:Body>
</s:Envelope>";
}
}