1. Appian PM has been published as a webservice WSDL.
2. 3rd party system to invoke this WSDL by sending in base64 document.
3. on Appian PM have to convert the base64 to Appian document.
Please suggest
Discussion posts and replies are publicly visible
Hi ganeshbabuj ,
There could be different approaches for the same.
Approach 1:
If you are using a 19.2+ version of Appian, you can directly convert the base 64 document into an Appian document using an Integration object.
Please refer this link: https://docs.appian.com/suite/help/19.3/Integration_Object.html#receiving-base64-inline-with-json
If you are using a lower version please find below some alternate approaches.
Approach 2:
Step 1. Write the Base64 content received in Appian into the database.
I believe that the extension and the file name for the document is also received in Appian.
Step 2. Using Get Base64 Document from Database smart service, retrieve the base 64 value from db, convert the value into an Appian document.
The smart service returns you the Appian doc ID of the converted document.
Inputs:
1. Document Name - The name of the received document.
2. Format - The extension of the received document.
3. Jndi Name -Check with data source value provided in your Data Store created.
4. Sql Statement - Provide the dynamic statement to retrieve the base 64 string.
5. Target Folder - Appian folder in which the document is to be saved.
Outputs:
1. Save the ac!Document value into a process variable to get the Appian doc ID
Approach 3:
Step 1: Create a plugin that directly converts the base 64 string into an Appian document.This can help save the time of writing/retrieving the Base 64 value to and from the db respectively.
Regards,
Vaisakh Sekhar