AnsweredAssumed Answered

GetItem WebMethod using Copy.asmx Web service returning no node but '0' in response XML

Question asked by murad_haider5 on Sep 10, 2014
Latest reply on Sep 15, 2014 by andrewg@intellinet.com

I am creating a site workflow in which I am trying to use Copy.asmx service to copy document (file) from one farm (SP 2007) to another (SP 2013) in a SharePoint environment. I am using 'GetItem' web method provided by Copy.asmx service to get the Document file stream that is to be copied to the destination document library. The problem i am facing is the response of service is always '0' as given below:

 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>
<GetItemResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
 
<GetItemResult>0</GetItemResult>
</GetItemResponse>

</soap:Body>

</soap:Envelope>

 

And also, there is no variable to store Base 64 thing in Nintex so i am using simple text variable to store the response. I am not getting any response xml but a '0'. The workflow is being created on destination site. The files i am trying to download are actually in PDF format.

Your suggestions are greatly welcomed. Any help is appreciated.

Outcomes