gsoap 无法生成命名空间的!!坐等!!
通过GSOAP生成 webservice服务器段的代码后,访问该服务,返回的响应中没有
命名空间的定义,那位大侠知道? 谢谢
这个是服务端返回的应答
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope>
<SOAP-ENV:Body><tds:GetServicesResponse><tds:Service><tds:Namespace>http://www.onvif.org/ver10/events/wsdl</tds:Namespace><tds:XAddr>http://192.168.1.134:80/onvif/device_service</tds:XAddr><tds:Version><tt:Major>0</tt:Major><tt:Minor>3</tt:Minor></tds:Version></tds:Service></tds:GetServicesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
在<SOAP-ENV:Envelope> 中缺少对 SOAP-ENV命名空间的定义!!!