如何从sharepoint下载所有wsdl文件?

时间:2014-04-16 15:13:08

标签: java web-services sharepoint wsdl

  1. >我想从

    下载以下wsdl文件
      

    sharepoint(Alerts.wsdl,dspsts.wsdl,lists.wsdl,   publishedlinksservice.wsdl,sites.wsdl,versions.wsdl,admin.wsdl,   dws.wsdl,meetings.wsdl,permissions.wsdl,socialdataservice.wsdl,   views.wsdl,authentication.wsdl,forms.wsdl,people.wsdl,   sharepointemailws.wsdl,spsearch.wsdl,webpartpages.wsdl,copy.wsdl,   imaging.wsdl,search.wsdl,sitedata.wsdl,usergroup.wsdl,webs.wsdl)。

  2.   

1 个答案:

答案 0 :(得分:1)

使用以下网址。替换< server>使用您的服务器名称。同时更改协议httphttps

https://<server>/sites/_vti_adm/Admin.asmx?WSDL
https://<server>/sites/_vti_bin/Alerts.asmx?WSDL
https://<server>/sites/_vti_bin/authentication.asmx?WSDL
https://<server>/sites/_vti_bin/Copy.asmx?WSDL
https://<server>/sites/_vti_bin/DspSts.asmx?WSDL
https://<server>/sites/_vti_bin/DspSts.asmx?WSDL
https://<server>/sites/_vti_bin/Dws.asmx?WSDL
https://<server>/sites/_vti_bin/Forms.asmx?WSDL
https://<server>/sites/_vti_bin/Imaging.asmx?WSDL
https://<server>/sites/_vti_bin/Lists.asmx?WSDL
https://<server>/sites/_vti_bin/Meetings.asmx?WSDL
https://<server>/sites/_vti_bin/people.asmx?WSDL
https://<server>/sites/_vti_bin/Permissions.asmx?WSDL
https://<server>/sites/_vti_bin/publishedlinksservice.asmx?WSDL
https://<server>/sites/_vti_bin/search.asmx?WSDL
https://<server>/sites/_vti_bin/SiteData.asmx?WSDL
https://<server>/sites/_vti_bin/Sites.asmx?WSDL
https://<server>/sites/_vti_bin/socialdataservice.asmx?WSDL
https://<server>/sites/_vti_bin/spsearch.asmx?WSDL
https://<server>/sites/_vti_bin/UserGroup.asmx?WSDL
https://<server>/sites/_vti_bin/Versions.asmx?WSDL
https://<server>/sites/_vti_bin/Views.asmx?WSDL
https://<server>/sites/_vti_bin/Webs.asmx?WSDL

您可以使用curl轻松获取所有内容。示例:

curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Admin.asmx?WSDL -o Admin.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Alerts.asmx?WSDL -o Alert.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/authentication.asmx?WSDL -o authentication.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Copy.asmx?WSDL -o Copy.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/DspSts.asmx?WSDL -o DspSts.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/DspSts.asmx?WSDL -o DspSts.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Dws.asmx?WSDL -o Dws.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Forms.asmx?WSDL -o Forms.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Imaging.asmx?WSDL -o Imaging.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Lists.asmx?WSDL -o Lists.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Meetings.asmx?WSDL -o Meetings.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/people.asmx?WSDL -o people.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Permissions.asmx?WSDL -o Permissions.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/publishedlinksservice.asmx?WSDL -o publishedlinksservice.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/search.asmx?WSDL -o search.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/SiteData.asmx?WSDL -o SiteData.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Sites.asmx?WSDL -o Sites.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/socialdataservice.asmx?WSDL -o socialdataservice.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/spsearch.asmx?WSDL -o spsearch.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/UserGroup.asmx?WSDL -o UserGroup.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Versions.asmx?WSDL -o Versions.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Views.asmx?WSDL -o Views.asmx.wsdl
curl --anyauth --user 'username:password' http://[sphost]/_vti_bin/Webs.asmx?WSDL -o Webs.asmx.wsdl