We have a document type bp with folder structure.
And we have added the publish path data element to an approval step within the workflow.
When a record is created via webservices, the documents do not get published anywhere. (Looked in both Documents and Unpublished Documents folders)
But when the record is created manually it gets published into the right folder at the right step.
When the webservices record is created, is it using the same workflow as the manually created record? If not, is the form that contains the Publish Path DE on the workflow used for webservices? Another thing to check is that the user account desginated as the record creator has permissions to upload documents to DM.