1.webservice带用户名和密码的代码生成
wsimport -encoding utf-8 -d D:\test -keep http://sapwsd50.sapdns.cn:8350/dir/wsdl?p=sa/155f5e1d47ab33d0a6fdb1a9b55b833e -Xauthfile D:\Xauthfile.txt -p hikvision.wsbx.oa
Xauthfile.txt内容为:http://WST_USER:[email protected]:8350/dir/wsdl?p=sa/a7a1cbbd0ec735b6b2bdc804888c18c5(若请求地址为https,则为https)
http://WST_USER:[email protected]:8350/dir/wsdl?p=sa/155f5e1d47ab33d0a6fdb1a9b55b833e