Recently we have used cws soap api method for document creation using Java language.
docMan.createDocument() without metadata is working fine but, with metadata it is not working in our dev content server. But, same docMan.createDocument() with metadata is working fine in our client content server along with client's trigger setup too.
Both our Content Server and client's Content Server versions are same 16.2.11. Still we analyzing the issue from our end with SOAP api.
Meantime, we have created new code with Rest api implementations too. This Rest API code is working fine in our environment as well as client environment in most of the places. But, rest api code is failing in client environment for only one folder which has trigger configuration.
It seems trigger is moving the document immediately from that folder using trigger "Add Version" and Move to trigger events once the document is added/created in that parent folder. Trigger is throwing error as particular Category Attribute xxxxx is missing while doing the move trigger event.
My question here is, how both api are working internally with document creation along with category metadata and what is the difference between docMan.createDocument() and api/v1/nodes endpoint?
Do we have any other alternate or equivalent rest api endpoint for docMan.createDocument() SOAP api method? Because this SOAP method's createDocument with metadata is working fine in client environment with their trigger events.
SOAP api createDocument() with metadata is not working with our environment and as we have Rest API based implementation on hand, we are planning to stick with Rest api implementation instead of CWS SOAP.
So, we need alternative or equivalent endpoint for docMan.createDocument() soap api method. Any suggestion please?