Hi
I’m trying to get the file from local drive with built in service pub.file:getFile.
As the documentation states:
WmPublic. Retrieves a specified file from the local file system.
filename - String The absolute path name of the file in the local file system (for example c:\rubicon\document.xml).
So I’m putting path in the fileName field with example of: C:\Users\test\Downloads\test\test.txt.
I’ve got there three lines with text.
After running the service I’m catching an error:
com.wm.app.b2b.server.ServiceException: [ISS.0086.9256] File [C:\Users\test\Downloads\test\test.txt] does not exist
at pub.CommonUtils.checkFileExists(CommonUtils.java:533)
at pub.file.getFile(file.java:1103)
at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source)
Rest of fields in this service are optional so I leave them empty.
What’s wrong with this? Any ideas?