Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
7 subscribers
Views
3849 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hi, Is there a way to convert a document contents to base64binary form usin
gauravg568
over 9 years ago
Hi,
Is there a way to convert a document contents to base64binary form using an expression function or an expression function plugin on a SAIL form? We are trying to integrate with DocuSign using SOAP API, and need a way to pass the document contents in base64binary form. Would appreciate your insight.
OriginalPostID-196054
OriginalPostID-196054
Discussion posts and replies are publicly visible
0
Eliot Gerson
Appian Employee
over 9 years ago
I would recommend against doing this. The approach you describe can result in performance issues and increased memory usage. We have seen many problems in the past when people have tried to implement this sort of thing. It would be better to find a way to send the document as an attachment. One possibility might be to do the base64 conversion (if it is absolutely necessary to have a base64 conversion involved a all) within the web service to pass it to docusign, and then have the web service convert it back into a pdf, docx, etc before sending it back to Appian. But converting documents to base64 within Appian, or passing documents that are already in base64 format into Appian is discouraged.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
gauravg568
over 9 years ago
Hi Eliot, thanks for sharing your insight. Yes, our goal was to do the base64 conversion within the webservicequery Appian function thereby not having a need to store the base64 conversion. We could even make the SOAP webservice call using the Appian OOB webservice smart service. However, do you know if there is a cloud compatible Appian function/function plugin that will allow us to convert a document contents to base64binaryform which we could pass along to this DocuSign's SOAP API webservice call?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Amitkumar
over 9 years ago
I am not sure whether HTTP File Upload smart service help you to resolve your use case. But you should be able to put your Appian document into external system. Please give a try to this smart service if you are just looking to send document to external system.
forum.appian.com/.../HTTP_File_Upload_Smart_Service.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
akshayan
Certified Lead Developer
over 9 years ago
Take a look at "Advanced Call Web Service" shared component.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
As above - you'll want to use the Advance Call Web Service, which mitigates the performance issues Eliot mentioned:
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
gauravg568
over 9 years ago
The Advanced Call Web Service node results in an error when setting Authentication parameters in the SOAP header. The error has been reproduced by author of this plugin, and a ticket for this has been opened (CEX-1657).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel