• using the SubmitFile method of the OfficialFile.asmx service


    When using the SubmitFile method of the OfficialFile.asmx service, I was returned this value: NotFound

    NotFound

    Simple fix was to add my account to the Records Center Web Service Submitters group on the site.

    Healthy return message from the service:
    “Successhttp://site/_layouts/DocIdRedir.aspx?ID=AHVCF7U4ZST3-8-55&hintUrl=myLibTestA%2ftest1_2F4IOO.docx”

    Good example on how to upload load files to the Drop Off Library using OfficialFile.asmx service.
    https://msdn.microsoft.com/en-us/library/office/gg650433(v=office.14).aspx

    The post outlines setting up routing rules and submitting files.

    More info on the web service can be found here:
    http://download.microsoft.com/download/8/5/8/858F2155-D48D-4C68-9205-29460FD7698F/[MS-OFFICIALFILE].pdf

    Value                                                   Meaning
    Success                                                    The operation is successful.
    MoreInformation                                  The operation is successful but further action is needed.
    InvalidRouterConfiguration               The operation failed because the repository was not configured for routing.
    InvalidArgument                                   The operation failed because of an invalid argument.
    InvalidUser                                             The operation failed because of an invalid user.
    NotFound                                                The operation failed because the user was not authorized to submit files.
    FileRejected                                            The operation failed because of a rejected file.
    UnknownError                                       The operation failed because of an unknown error.

  • 相关阅读:
    【hdu 2569】ACM程序设计期末考试081230
    【信息安全111班暑期学习工作任务】
    【hdu 1698 Just a Hook(被搞死)】
    Win8下安装 .net framework 3.5.1 无需连网安装方法,证实有效
    【UVA 488 Triangle Wave】
    【As Easy As A+B 专题训练排序】
    【hdu 1787 GCD Again (数论、欧拉函数)】
    【hdu 2602 Bone Collector(动态规划、01背包)】
    【poj 1953 World Cup Noise】
    【poj 2478 Farey Sequence (欧拉函数、数论)】
  • 原文地址:https://www.cnblogs.com/xdanny/p/12718330.html
Copyright © 2020-2023  润新知