<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to retrieve a PDF from a webservice response and convert it to an Appian document</title><link>https://community.appian.com/discussions/f/integrations/14677/how-to-retrieve-a-pdf-from-a-webservice-response-and-convert-it-to-an-appian-document</link><description>I have a webservice integration configured that returns a PDF response (application/pdf). How can I convert this into an Appian document?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to retrieve a PDF from a webservice response and convert it to an Appian document</title><link>https://community.appian.com/thread/65896?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2019 15:01:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c917b536-2df3-439e-bea8-e8fd2e6efdeb</guid><dc:creator>Chanakya Volam</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/wendys8"&gt;wendys8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can follow instructions in the below link and you will be able to get the bearer token thru rest calls&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developers.docusign.com/esign-rest-api/code-examples/config-and-auth#2-configure-client-and-request-authorization-code"&gt;https://developers.docusign.com/esign-rest-api/code-examples/config-and-auth#2-configure-client-and-request-authorization-code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Once you get the token you can pass it as part of header in your HTTP File download and you will be able to get the file from docusign&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve a PDF from a webservice response and convert it to an Appian document</title><link>https://community.appian.com/thread/65894?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2019 13:32:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dfef30bd-13df-4619-9e99-6adeb8c70773</guid><dc:creator>wendys8</dc:creator><description>&lt;p&gt;Yes, including it in the header does work but I&amp;#39;m not sure how to configure it to get that token dynamically. I have a connected system and integration setup which works to handle the authentication and get the token, but I can&amp;#39;t use the integration for the HTTP file download SS.&amp;nbsp;For testing purposes I had been&amp;nbsp;checking the integration to get the token and then just manually using it in the smart service.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve a PDF from a webservice response and convert it to an Appian document</title><link>https://community.appian.com/thread/65891?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2019 12:41:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9c85e6fe-538d-4ca9-8969-828c64a4e6c7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Great news. After a quick look at the docuSign API it looks like the token should be included in the header. But this is just guessing as I have no actual experience with docuSign.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve a PDF from a webservice response and convert it to an Appian document</title><link>https://community.appian.com/thread/65890?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2019 12:32:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3d9dc604-2034-4899-a832-0e84a7f6e1d0</guid><dc:creator>wendys8</dc:creator><description>&lt;p&gt;This is working except I need to use a bearer token authentication. How can I configure this? (Use case is to download a doc from DocuSign)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve a PDF from a webservice response and convert it to an Appian document</title><link>https://community.appian.com/thread/65789?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 12:58:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:65c1ec44-db32-4fd5-8508-4bff1462eaf7</guid><dc:creator>Jim Schweitzer</dc:creator><description>&lt;p&gt;You could try this plugin:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.appian.com/b/appmarket/posts/download-document-from-url"&gt;community.appian.com/.../download-document-from-url&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve a PDF from a webservice response and convert it to an Appian document</title><link>https://community.appian.com/thread/65787?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 12:28:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5dfbae0-7fb1-451c-b8c1-41d7ea7ff5d7</guid><dc:creator>Carlos Santander</dc:creator><description>&lt;p&gt;Misread the question. Thanks for clarifying, &lt;a href="/members/robert.shankin"&gt;Robert Shankin&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve a PDF from a webservice response and convert it to an Appian document</title><link>https://community.appian.com/thread/65781?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 05:04:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0275784b-331e-4ca1-b906-523d4420daf9</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You might try to use the HTTP File Download smart service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve a PDF from a webservice response and convert it to an Appian document</title><link>https://community.appian.com/thread/65779?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 00:39:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d4fcdb69-84f6-460c-b247-d0b361dcf660</guid><dc:creator>Robert Shankin</dc:creator><description>&lt;p&gt;This option suggested by &lt;a href="/members/carloss"&gt;Carlos Santander&lt;/a&gt; would work for sending, but not receiving a document.&lt;/p&gt;
&lt;p&gt;Consider retrieving the document as base64.&amp;nbsp; There are a few shared components in the &lt;a href="/b/appmarket" rel="noopener noreferrer" target="_blank"&gt;AppMarket&lt;/a&gt; that you might use to then convert this back into a doc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to retrieve a PDF from a webservice response and convert it to an Appian document</title><link>https://community.appian.com/thread/65778?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 00:28:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:690217e0-31ae-4fb5-b977-c994b16f00a0</guid><dc:creator>Carlos Santander</dc:creator><description>&lt;p&gt;Check out integration objects (&lt;a href="https://docs.appian.com/suite/help/19.1/Integration_Object.html"&gt;https://docs.appian.com/suite/help/19.1/Integration_Object.html&lt;/a&gt;) and the auto-detect option for content type (&lt;a href="https://docs.appian.com/suite/help/19.1/Integration_Content_Types.html#document-(auto-detect)"&gt;https://docs.appian.com/suite/help/19.1/Integration_Content_Types.html#document-(auto-detect)&lt;/a&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>