i was trying to generate a word document with a table, so i created this document as a SSRS Report and i tried to generate the document using the SSRS web service. the result is a Base64Binary saved to a single line of text variable, but what is need is to upload it to a document library. i am using Nintex Workflow 2013 without Nintex live.
Solved! Go to Solution.
You could probably use some powershell script to copy your file (saved as binary) from your localshare to SharePoint. Nintex probably only has the option to Copy To FileShare (Only for document libraries) as a workflow action but not the reverse.
Couple of options you could choose depending on what could be feasible?
1) Powershell script to copy the file created by your SSRS (which I believe should be saved in some shared local path) and upload it to the SharePoint Document library. There are tons on scripts online let me know if you need any help.
2) Create a webservice which would also essentially do the same job, but Nintex workflow could call this webservice and push the files on to the SharePoint document library,
Let me know if this helps.
You can try to call the SharePoint web service "Copy.asmx", method "CopyIntoItems" :
This method needs a base64 file Stream. The "SourceUrl" is actually not used by the method, it's just for info (you can set the "SourceUrl" the same as the destination).
To achieve that, you can use the "Call web service" Nintex Workflow action with the following configuration :
Regarding the "Web service message", I advice you to use the "SOAP editor".
Hope this helps,