java - 如何从共享点下载所有 wsdl 文件?

标签 java web-services sharepoint wsdl

<醇>
  • > 我想从

    下载以下 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).

  • 最佳答案

    使用以下 URL。将 替换为您的服务器名称。同时更改协议(protocol) 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
    

    关于java - 如何从共享点下载所有 wsdl 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23113463/

    相关文章:

    java - 从 Hashmap 填充 JList 并检索键

    java - 字符串数组不显示在 JOptionPane 中

    java - Android 改变颜色有延迟?

    c# - 线程中止异常

    c# - 删除项目类型 GUID <ProjectTypeGuid>

    java - 为什么我们在Builder设计模式中需要 'Builder class'?

    c# - DataContractAttribute、IExtensibleDataObject、ExtensionDataObject 上的错误

    java - 使用 Java 和观察者模式使用 Jersey 的 RESTful Web 服务

    javascript - 尝试获取超链接列表项 SharePoint 2016 REST API

    SharePoint 2010 网站集管理选项