Hello,
We have NAV configured with Zetadocs which works as expected from application use. However we have a new interface developed to import purchase invoices from a 3rd party system. All vendor purchase invoices and related documents are available in a 3rd party system which we are importing to NAV for tallying and invoicing. We are able to import the purchase invoices using NAV webservices but I am unsure how we can import the documents/attachments into NAV Zetadocs. I tried by adding http://<server>/ZetadocsArchive?singleWsdl to visual studio reference and using the client service in C#
ArchiveServiceClient client = new ArchiveServiceClient();
client.Archive();
client.Close();
This doesn't work as there is no field/parameter to link the record id. And also I can pass file name, location of the file etc to this service but it gives the error "The creator of this fault did not specify a Reason".
I am looking for samples to invoke Zetadocs Archive service to import attachments into NAV. Thanks in advance.