gsoap: [ 应用 ] >借助gsoap通过网络传送C语言的结构体实例的方法

 

HTTP/1.1 200 OK Server: gSOAP/2.8 Content-Type: application/soap+xml; charset=utf-8 Content-Length: 16116 Connection: close <?xml version="1.0" encoding="UTF-8"?> <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:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tev1="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:tev2="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:tev3="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tev4="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:ns1="http://www.onvif.org/ver20/analytics/humanface" xmlns:ns2="http://www.onvif.org/ver20/analytics/humanbody"> <SOAP-ENV:Header> </SOAP-ENV:Header> <SOAP-ENV:Body> <tr2:GetProfilesResponse> <tr2:Profiles fixed="true" token="profile_1_1"> <tr2:Name>profile_1_1</tr2:Name> <tr2:Configurations> <tr2:VideoSource token="video_source_1"> <tt:Name>video_source_1</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:SourceToken>source_1</tt:SourceToken> <tt:Bounds height="1728" width="2304" y="0" x="0"> </tt:Bounds> </tr2:VideoSource> <tr2:VideoEncoder Profile="Main" GovLength="50" token="video_encoder_1_1"> <tt:Name>video_encoder_1_1</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:Encoding>H264</tt:Encoding> <tt:Resolution> <tt:Width>2304</tt:Width> <tt:Height>1728</tt:Height> </tt:Resolution> <tt:RateControl ConstantBitRate="true"> <tt:FrameRateLimit>25</tt:FrameRateLimit> <tt:BitrateLimit>2147483647</tt:BitrateLimit> </tt:RateControl> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>0</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:Quality>70</tt:Quality> </tr2:VideoEncoder> <tr2:Metadata token="metadata_1"> <tt:Name>metadata_1</tt:Name> <tt:UseCount>0</tt:UseCount> <tt:PTZStatus> <tt:Status>false</tt:Status> <tt:Position>false</tt:Position> </tt:PTZStatus> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>5</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:SessionTimeout>PT0S</tt:SessionTimeout> </tr2:Metadata> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_1_2"> <tr2:Name>profile_1_2</tr2:Name> <tr2:Configurations> <tr2:VideoSource token="video_source_1"> <tt:Name>video_source_1</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:SourceToken>source_1</tt:SourceToken> <tt:Bounds height="1728" width="2304" y="0" x="0"> </tt:Bounds> </tr2:VideoSource> <tr2:VideoEncoder Profile="Main" GovLength="50" token="video_encoder_1_2"> <tt:Name>video_encoder_1_2</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:Encoding>H264</tt:Encoding> <tt:Resolution> <tt:Width>640</tt:Width> <tt:Height>480</tt:Height> </tt:Resolution> <tt:RateControl ConstantBitRate="true"> <tt:FrameRateLimit>25</tt:FrameRateLimit> <tt:BitrateLimit>2147483647</tt:BitrateLimit> </tt:RateControl> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>0</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:Quality>70</tt:Quality> </tr2:VideoEncoder> <tr2:Metadata token="metadata_1"> <tt:Name>metadata_1</tt:Name> <tt:UseCount>0</tt:UseCount> <tt:PTZStatus> <tt:Status>false</tt:Status> <tt:Position>false</tt:Position> </tt:PTZStatus> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>5</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:SessionTimeout>PT0S</tt:SessionTimeout> </tr2:Metadata> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_2_1"> <tr2:Name>profile_2_1</tr2:Name> <tr2:Configurations> <tr2:VideoSource token="video_source_2"> <tt:Name>video_source_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:SourceToken>source_2</tt:SourceToken> <tt:Bounds height="1520" width="2688" y="0" x="0"> </tt:Bounds> </tr2:VideoSource> <tr2:VideoEncoder Profile="Main" GovLength="50" token="video_encoder_2_1"> <tt:Name>video_encoder_2_1</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:Encoding>H264</tt:Encoding> <tt:Resolution> <tt:Width>1280</tt:Width> <tt:Height>720</tt:Height> </tt:Resolution> <tt:RateControl ConstantBitRate="true"> <tt:FrameRateLimit>25</tt:FrameRateLimit> <tt:BitrateLimit>6144</tt:BitrateLimit> </tt:RateControl> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>0</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:Quality>1</tt:Quality> </tr2:VideoEncoder> <tr2:Analytics token="video_analytics_2"> <tt:Name>video_analytics_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:AnalyticsEngineConfiguration> <tt:AnalyticsModule Name="motion_module_2" Type="tt:CellMotionEngine"> <tt:Parameters> <tt:SimpleItem Value="50" Name="Sensitivity"> </tt:SimpleItem> <tt:ElementItem Name="Layout"> <tt:CellLayout Rows="18" Columns="22"> <tt:Transformation> <tt:Translate y="-1" x="-1"> </tt:Translate> <tt:Scale y="0.109999999" x="0.0900000036"> </tt:Scale> </tt:Transformation> </tt:CellLayout> </tt:ElementItem> </tt:Parameters> </tt:AnalyticsModule> <tt:AnalyticsModule Name="tamper_module_2" Type="tt:TamperEngine"> <tt:Parameters> <tt:SimpleItem Value="50" Name="Sensitivity"> </tt:SimpleItem> <tt:ElementItem Name="Transformation"> <tt:Transformation> <tt:Translate y="-1" x="-1"> </tt:Translate> <tt:Scale y="0.000199999995" x="0.000199999995"> </tt:Scale> </tt:Transformation> </tt:ElementItem> <tt:ElementItem Name="Field"> <tt:PolygonConfiguration> <tt:Polygon> <tt:Point x="0" y="0" /> <tt:Point x="0" y="10000" /> <tt:Point x="10000" y="10000" /> <tt:Point x="1000" y="0" /> </tt:Polygon> </tt:PolygonConfiguration> </tt:ElementItem> </tt:Parameters> </tt:AnalyticsModule> <tt:AnalyticsModule> <tt:Parameters /> </tt:AnalyticsModule> </tt:AnalyticsEngineConfiguration> <tt:RuleEngineConfiguration> <tt:Rule Name="motion_rule_2" Type="tt:CellMotionDetector"> <tt:Parameters> <tt:SimpleItem Value="0P8A8A==" Name="ActiveCells"> </tt:SimpleItem> <tt:SimpleItem Value="5" Name="MinCount"> </tt:SimpleItem> <tt:SimpleItem Value="1000" Name="AlarmOnDelay"> </tt:SimpleItem> <tt:SimpleItem Value="1000" Name="AlarmOffDelay"> </tt:SimpleItem> </tt:Parameters> </tt:Rule> </tt:RuleEngineConfiguration> </tr2:Analytics> <tr2:PTZ token="ptz_2"> <tt:Name>ptz_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:NodeToken>ptz_node_2</tt:NodeToken> <tt:DefaultContinuousPanTiltVelocitySpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace</tt:DefaultContinuousPanTiltVelocitySpace> <tt:DefaultContinuousZoomVelocitySpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace</tt:DefaultContinuousZoomVelocitySpace> <tt:DefaultPTZTimeout>PT0H3M0S</tt:DefaultPTZTimeout> </tr2:PTZ> <tr2:Metadata token="metadata_2"> <tt:Name>metadata_2</tt:Name> <tt:UseCount>0</tt:UseCount> <tt:PTZStatus> <tt:Status>false</tt:Status> <tt:Position>false</tt:Position> </tt:PTZStatus> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>5</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:SessionTimeout>PT0S</tt:SessionTimeout> </tr2:Metadata> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_2_2"> <tr2:Name>profile_2_2</tr2:Name> <tr2:Configurations> <tr2:VideoSource token="video_source_2"> <tt:Name>video_source_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:SourceToken>source_2</tt:SourceToken> <tt:Bounds height="1520" width="2688" y="0" x="0"> </tt:Bounds> </tr2:VideoSource> <tr2:VideoEncoder Profile="Main" GovLength="50" token="video_encoder_2_2"> <tt:Name>video_encoder_2_2</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:Encoding>H264</tt:Encoding> <tt:Resolution> <tt:Width>848</tt:Width> <tt:Height>480</tt:Height> </tt:Resolution> <tt:RateControl ConstantBitRate="true"> <tt:FrameRateLimit>25</tt:FrameRateLimit> <tt:BitrateLimit>512</tt:BitrateLimit> </tt:RateControl> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>0</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:Quality>3</tt:Quality> </tr2:VideoEncoder> <tr2:Analytics token="video_analytics_2"> <tt:Name>video_analytics_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:AnalyticsEngineConfiguration> <tt:AnalyticsModule Name="motion_module_2" Type="tt:CellMotionEngine"> <tt:Parameters> <tt:SimpleItem Value="50" Name="Sensitivity"> </tt:SimpleItem> <tt:ElementItem Name="Layout"> <tt:CellLayout Rows="18" Columns="22"> <tt:Transformation> <tt:Translate y="-1" x="-1"> </tt:Translate> <tt:Scale y="0.109999999" x="0.0900000036"> </tt:Scale> </tt:Transformation> </tt:CellLayout> </tt:ElementItem> </tt:Parameters> </tt:AnalyticsModule> <tt:AnalyticsModule Name="tamper_module_2" Type="tt:TamperEngine"> <tt:Parameters> <tt:SimpleItem Value="50" Name="Sensitivity"> </tt:SimpleItem> <tt:ElementItem Name="Transformation"> <tt:Transformation> <tt:Translate y="-1" x="-1"> </tt:Translate> <tt:Scale y="0.000199999995" x="0.000199999995"> </tt:Scale> </tt:Transformation> </tt:ElementItem> <tt:ElementItem Name="Field"> <tt:PolygonConfiguration> <tt:Polygon> <tt:Point x="0" y="0" /> <tt:Point x="0" y="10000" /> <tt:Point x="10000" y="10000" /> <tt:Point x="1000" y="0" /> </tt:Polygon> </tt:PolygonConfiguration> </tt:ElementItem> </tt:Parameters> </tt:AnalyticsModule> <tt:AnalyticsModule> <tt:Parameters /> </tt:AnalyticsModule> </tt:AnalyticsEngineConfiguration> <tt:RuleEngineConfiguration> <tt:Rule Name="motion_rule_2" Type="tt:CellMotionDetector"> <tt:Parameters> <tt:SimpleItem Value="0P8A8A==" Name="ActiveCells"> </tt:SimpleItem> <tt:SimpleItem Value="5" Name="MinCount"> </tt:SimpleItem> <tt:SimpleItem Value="1000" Name="AlarmOnDelay"> </tt:SimpleItem> <tt:SimpleItem Value="1000" Name="AlarmOffDelay"> </tt:SimpleItem> </tt:Parameters> </tt:Rule> </tt:RuleEngineConfiguration> </tr2:Analytics> <tr2:PTZ token="ptz_2"> <tt:Name>ptz_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:NodeToken>ptz_node_2</tt:NodeToken> <tt:DefaultContinuousPanTiltVelocitySpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace</tt:DefaultContinuousPanTiltVelocitySpace> <tt:DefaultContinuousZoomVelocitySpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace</tt:DefaultContinuousZoomVelocitySpace> <tt:DefaultPTZTimeout>PT0H3M0S</tt:DefaultPTZTimeout> </tr2:PTZ> <tr2:Metadata token="metadata_2"> <tt:Name>metadata_2</tt:Name> <tt:UseCount>0</tt:UseCount> <tt:PTZStatus> <tt:Status>false</tt:Status> <tt:Position>false</tt:Position> </tt:PTZStatus> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>5</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:SessionTimeout>PT0S</tt:SessionTimeout> </tr2:Metadata> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_3_1"> <tr2:Name>profile_3_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_3_2"> <tr2:Name>profile_3_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_4_1"> <tr2:Name>profile_4_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_4_2"> <tr2:Name>profile_4_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_5_1"> <tr2:Name>profile_5_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_5_2"> <tr2:Name>profile_5_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_6_1"> <tr2:Name>profile_6_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_6_2"> <tr2:Name>profile_6_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_7_1"> <tr2:Name>profile_7_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_7_2"> <tr2:Name>profile_7_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_8_1"> <tr2:Name>profile_8_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_8_2"> <tr2:Name>profile_8_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_9_1"> <tr2:Name>profile_9_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_9_2"> <tr2:Name>profile_9_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_10_1"> <tr2:Name>profile_10_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_10_2"> <tr2:Name>profile_10_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_11_1"> <tr2:Name>profile_11_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_11_2"> <tr2:Name>profile_11_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_12_1"> <tr2:Name>profile_12_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_12_2"> <tr2:Name>profile_12_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_13_1"> <tr2:Name>profile_13_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_13_2"> <tr2:Name>profile_13_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_14_1"> <tr2:Name>profile_14_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_14_2"> <tr2:Name>profile_14_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_15_1"> <tr2:Name>profile_15_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_15_2"> <tr2:Name>profile_15_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_16_1"> <tr2:Name>profile_16_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_16_2"> <tr2:Name>profile_16_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> </tr2:GetProfilesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>这个报文怎么会报错 the required attributue 'Name' is missing
10-29
HTTP/1.1 200 OK Server: gSOAP/2.8 Content-Type: application/soap+xml; charset=utf-8 Content-Length: 16229 Connection: close <?xml version="1.0" encoding="UTF-8"?> <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:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tev1="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:tev2="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:tev3="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tev4="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:ns1="http://www.onvif.org/ver20/analytics/humanface" xmlns:ns2="http://www.onvif.org/ver20/analytics/humanbody"> <SOAP-ENV:Body> <tr2:GetProfilesResponse> <tr2:Profiles fixed="true" token="profile_1_1"> <tr2:Name>profile_1_1</tr2:Name> <tr2:Configurations> <tr2:VideoSource token="video_source_1"> <tt:Name>video_source_1</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:SourceToken>source_1</tt:SourceToken> <tt:Bounds height="1728" width="2304" y="0" x="0"> </tt:Bounds> </tr2:VideoSource> <tr2:VideoEncoder Profile="Main" GovLength="50" token="video_encoder_1_1"> <tt:Name>video_encoder_1_1</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:Encoding>H264</tt:Encoding> <tt:Resolution> <tt:Width>2304</tt:Width> <tt:Height>1728</tt:Height> </tt:Resolution> <tt:RateControl ConstantBitRate="true"> <tt:FrameRateLimit>25</tt:FrameRateLimit> <tt:BitrateLimit>2147483647</tt:BitrateLimit> </tt:RateControl> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>0</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:Quality>70</tt:Quality> </tr2:VideoEncoder> <tr2:Metadata token="metadata_1"> <tt:Name>metadata_1</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:PTZStatus> <tt:Status>false</tt:Status> <tt:Position>false</tt:Position> </tt:PTZStatus> <tt:Analytics>true</tt:Analytics> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>5</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout> </tr2:Metadata> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_1_2"> <tr2:Name>profile_1_2</tr2:Name> <tr2:Configurations> <tr2:VideoSource token="video_source_1"> <tt:Name>video_source_1</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:SourceToken>source_1</tt:SourceToken> <tt:Bounds height="1728" width="2304" y="0" x="0"> </tt:Bounds> </tr2:VideoSource> <tr2:VideoEncoder Profile="Main" GovLength="50" token="video_encoder_1_2"> <tt:Name>video_encoder_1_2</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:Encoding>H264</tt:Encoding> <tt:Resolution> <tt:Width>640</tt:Width> <tt:Height>480</tt:Height> </tt:Resolution> <tt:RateControl ConstantBitRate="true"> <tt:FrameRateLimit>25</tt:FrameRateLimit> <tt:BitrateLimit>2147483647</tt:BitrateLimit> </tt:RateControl> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>0</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:Quality>70</tt:Quality> </tr2:VideoEncoder> <tr2:Metadata token="metadata_1"> <tt:Name>metadata_1</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:PTZStatus> <tt:Status>false</tt:Status> <tt:Position>false</tt:Position> </tt:PTZStatus> <tt:Analytics>true</tt:Analytics> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>5</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout> </tr2:Metadata> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_2_1"> <tr2:Name>profile_2_1</tr2:Name> <tr2:Configurations> <tr2:VideoSource token="video_source_2"> <tt:Name>video_source_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:SourceToken>source_2</tt:SourceToken> <tt:Bounds height="1520" width="2688" y="0" x="0"> </tt:Bounds> </tr2:VideoSource> <tr2:VideoEncoder Profile="Main" GovLength="50" token="video_encoder_2_1"> <tt:Name>video_encoder_2_1</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:Encoding>H264</tt:Encoding> <tt:Resolution> <tt:Width>1280</tt:Width> <tt:Height>720</tt:Height> </tt:Resolution> <tt:RateControl ConstantBitRate="true"> <tt:FrameRateLimit>25</tt:FrameRateLimit> <tt:BitrateLimit>6144</tt:BitrateLimit> </tt:RateControl> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>0</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:Quality>1</tt:Quality> </tr2:VideoEncoder> <tr2:Analytics token="video_analytics_2"> <tt:Name>video_analytics_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:AnalyticsEngineConfiguration> <tt:AnalyticsModule Type="tt:CellMotionEngine" Name="motion_module_2"> <tt:Parameters> <tt:SimpleItem Value="50" Name="Sensitivity"> </tt:SimpleItem> <tt:ElementItem Name="Layout"> <tt:CellLayout Rows="18" Columns="22"> <tt:Transformation> <tt:Translate y="-1" x="-1"> </tt:Translate> <tt:Scale y="0.109999999" x="0.0900000036"> </tt:Scale> </tt:Transformation> </tt:CellLayout> </tt:ElementItem> </tt:Parameters> </tt:AnalyticsModule> <tt:AnalyticsModule Type="tt:TamperEngine" Name="tamper_module_2"> <tt:Parameters> <tt:SimpleItem Value="50" Name="Sensitivity"> </tt:SimpleItem> <tt:ElementItem Name="Transformation"> <tt:Transformation> <tt:Translate y="-1" x="-1"> </tt:Translate> <tt:Scale y="0.000199999995" x="0.000199999995"> </tt:Scale> </tt:Transformation> </tt:ElementItem> <tt:ElementItem Name="Field"> <tt:PolygonConfiguration> <tt:Polygon> <tt:Point x="0" y="0" /> <tt:Point x="0" y="10000" /> <tt:Point x="10000" y="10000" /> <tt:Point x="1000" y="0" /> </tt:Polygon> </tt:PolygonConfiguration> </tt:ElementItem> </tt:Parameters> </tt:AnalyticsModule> <tt:AnalyticsModule> <tt:Parameters /> </tt:AnalyticsModule> </tt:AnalyticsEngineConfiguration> <tt:RuleEngineConfiguration> <tt:Rule Type="tt:CellMotionDetector" Name="motion_rule_2"> <tt:Parameters> <tt:SimpleItem Value="0P8A8A==" Name="ActiveCells"> </tt:SimpleItem> <tt:SimpleItem Value="5" Name="MinCount"> </tt:SimpleItem> <tt:SimpleItem Value="1000" Name="AlarmOnDelay"> </tt:SimpleItem> <tt:SimpleItem Value="1000" Name="AlarmOffDelay"> </tt:SimpleItem> </tt:Parameters> </tt:Rule> </tt:RuleEngineConfiguration> </tr2:Analytics> <tr2:PTZ token="ptz_2"> <tt:Name>ptz_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:NodeToken>ptz_node_2</tt:NodeToken> <tt:DefaultContinuousPanTiltVelocitySpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace</tt:DefaultContinuousPanTiltVelocitySpace> <tt:DefaultContinuousZoomVelocitySpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace</tt:DefaultContinuousZoomVelocitySpace> <tt:DefaultPTZTimeout>PT0H3M0S</tt:DefaultPTZTimeout> </tr2:PTZ> <tr2:Metadata token="metadata_2"> <tt:Name>metadata_2</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:PTZStatus> <tt:Status>false</tt:Status> <tt:Position>false</tt:Position> </tt:PTZStatus> <tt:Analytics>true</tt:Analytics> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>5</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout> </tr2:Metadata> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_2_2"> <tr2:Name>profile_2_2</tr2:Name> <tr2:Configurations> <tr2:VideoSource token="video_source_2"> <tt:Name>video_source_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:SourceToken>source_2</tt:SourceToken> <tt:Bounds height="1520" width="2688" y="0" x="0"> </tt:Bounds> </tr2:VideoSource> <tr2:VideoEncoder Profile="Main" GovLength="50" token="video_encoder_2_2"> <tt:Name>video_encoder_2_2</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:Encoding>H264</tt:Encoding> <tt:Resolution> <tt:Width>848</tt:Width> <tt:Height>480</tt:Height> </tt:Resolution> <tt:RateControl ConstantBitRate="true"> <tt:FrameRateLimit>25</tt:FrameRateLimit> <tt:BitrateLimit>512</tt:BitrateLimit> </tt:RateControl> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>0</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:Quality>3</tt:Quality> </tr2:VideoEncoder> <tr2:Analytics token="video_analytics_2"> <tt:Name>video_analytics_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:AnalyticsEngineConfiguration> <tt:AnalyticsModule Type="tt:CellMotionEngine" Name="motion_module_2"> <tt:Parameters> <tt:SimpleItem Value="50" Name="Sensitivity"> </tt:SimpleItem> <tt:ElementItem Name="Layout"> <tt:CellLayout Rows="18" Columns="22"> <tt:Transformation> <tt:Translate y="-1" x="-1"> </tt:Translate> <tt:Scale y="0.109999999" x="0.0900000036"> </tt:Scale> </tt:Transformation> </tt:CellLayout> </tt:ElementItem> </tt:Parameters> </tt:AnalyticsModule> <tt:AnalyticsModule Type="tt:TamperEngine" Name="tamper_module_2"> <tt:Parameters> <tt:SimpleItem Value="50" Name="Sensitivity"> </tt:SimpleItem> <tt:ElementItem Name="Transformation"> <tt:Transformation> <tt:Translate y="-1" x="-1"> </tt:Translate> <tt:Scale y="0.000199999995" x="0.000199999995"> </tt:Scale> </tt:Transformation> </tt:ElementItem> <tt:ElementItem Name="Field"> <tt:PolygonConfiguration> <tt:Polygon> <tt:Point x="0" y="0" /> <tt:Point x="0" y="10000" /> <tt:Point x="10000" y="10000" /> <tt:Point x="1000" y="0" /> </tt:Polygon> </tt:PolygonConfiguration> </tt:ElementItem> </tt:Parameters> </tt:AnalyticsModule> <tt:AnalyticsModule> <tt:Parameters /> </tt:AnalyticsModule> </tt:AnalyticsEngineConfiguration> <tt:RuleEngineConfiguration> <tt:Rule Type="tt:CellMotionDetector" Name="motion_rule_2"> <tt:Parameters> <tt:SimpleItem Value="0P8A8A==" Name="ActiveCells"> </tt:SimpleItem> <tt:SimpleItem Value="5" Name="MinCount"> </tt:SimpleItem> <tt:SimpleItem Value="1000" Name="AlarmOnDelay"> </tt:SimpleItem> <tt:SimpleItem Value="1000" Name="AlarmOffDelay"> </tt:SimpleItem> </tt:Parameters> </tt:Rule> </tt:RuleEngineConfiguration> </tr2:Analytics> <tr2:PTZ token="ptz_2"> <tt:Name>ptz_2</tt:Name> <tt:UseCount>2</tt:UseCount> <tt:NodeToken>ptz_node_2</tt:NodeToken> <tt:DefaultContinuousPanTiltVelocitySpace>http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace</tt:DefaultContinuousPanTiltVelocitySpace> <tt:DefaultContinuousZoomVelocitySpace>http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace</tt:DefaultContinuousZoomVelocitySpace> <tt:DefaultPTZTimeout>PT0H3M0S</tt:DefaultPTZTimeout> </tr2:PTZ> <tr2:Metadata token="metadata_2"> <tt:Name>metadata_2</tt:Name> <tt:UseCount>1</tt:UseCount> <tt:PTZStatus> <tt:Status>false</tt:Status> <tt:Position>false</tt:Position> </tt:PTZStatus> <tt:Analytics>true</tt:Analytics> <tt:Multicast> <tt:Address> <tt:Type>IPv4</tt:Type> <tt:IPv4Address>0.0.0.0</tt:IPv4Address> </tt:Address> <tt:Port>0</tt:Port> <tt:TTL>5</tt:TTL> <tt:AutoStart>false</tt:AutoStart> </tt:Multicast> <tt:SessionTimeout>PT0H1M0S</tt:SessionTimeout> </tr2:Metadata> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_3_1"> <tr2:Name>profile_3_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_3_2"> <tr2:Name>profile_3_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_4_1"> <tr2:Name>profile_4_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_4_2"> <tr2:Name>profile_4_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_5_1"> <tr2:Name>profile_5_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_5_2"> <tr2:Name>profile_5_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_6_1"> <tr2:Name>profile_6_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_6_2"> <tr2:Name>profile_6_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_7_1"> <tr2:Name>profile_7_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_7_2"> <tr2:Name>profile_7_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_8_1"> <tr2:Name>profile_8_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_8_2"> <tr2:Name>profile_8_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_9_1"> <tr2:Name>profile_9_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_9_2"> <tr2:Name>profile_9_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_10_1"> <tr2:Name>profile_10_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_10_2"> <tr2:Name>profile_10_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_11_1"> <tr2:Name>profile_11_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_11_2"> <tr2:Name>profile_11_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_12_1"> <tr2:Name>profile_12_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_12_2"> <tr2:Name>profile_12_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_13_1"> <tr2:Name>profile_13_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_13_2"> <tr2:Name>profile_13_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_14_1"> <tr2:Name>profile_14_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_14_2"> <tr2:Name>profile_14_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_15_1"> <tr2:Name>profile_15_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_15_2"> <tr2:Name>profile_15_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_16_1"> <tr2:Name>profile_16_1</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> <tr2:Profiles fixed="true" token="profile_16_2"> <tr2:Name>profile_16_2</tr2:Name> <tr2:Configurations> </tr2:Configurations> </tr2:Profiles> </tr2:GetProfilesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>这段报文哪里缺了 required attribute "NAME"
10-25
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值