none
Integration with SharePoint from ruby not working as expected. (SharePoint 2010) RRS feed

  • Question

  • We are trying to upload a document with Metadata to a SharePoint document library in SP2010 using webservices from Ruby, we are able to upload the document, but the metadata is not getting updated by using the OOB webservice copy.asmx.

    We are using the method – CopyIntoItems and the below XML has been passed to the soap webservice.

    <soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
      <soapenv:Body>
        <soap:CopyIntoItems>
          <soap:SourceUrl>http://null</soap:SourceUrl>
          <soap:DestinationUrls>
            <soap:string>https://xxx.xxx.com/sites/siteName/LibraryName/test3.txt</soap:string>
          </soap:DestinationUrls>
          <soap:Fields>
            <soap:FieldInformation type="Text" ID="{xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}" InternalName="EmployeeID" DisplayName="EmployeeID_0" value="123"/>
          </soap:Fields>
          <soap:Stream>SGVsbG8=</soap:Stream>
        </soap:CopyIntoItems>
      </soapenv:Body>
    </soapenv:Envelope>

    Friday, June 28, 2019 6:43 AM