WS BASE64 GET METHOD

Hi all,

I have a REST WS with method post that returns a base64, but I don't know how to call it and save the result as a appian document

I tried to save the value in the database but the result can be around 14,000,000  (a pdf document with 21 pages) and the text datatype can save only 60,000

Any suggest???

  Discussion posts and replies are publicly visible

Parents Reply
  • My team did the change today Slight smile

    This is the response

    Value

    Dictionary success: true result: HttpResponse statusLine: "HTTP/1.1 200 " statusCode: 200 headers: Dictionary Content-Type: "application/json;charset=UTF-8" Transfer-Encoding: "chunked" Date: "Tue, 25 Jun 2019 23:18:20 GMT" Set-Cookie: "2fda0f841098fcd74d7c1f0e5a1e16ce=cddacee4b606584a58d5a087c2d642e9; path=/; HttpOnly; Secure" contentType: "application/json;charset=UTF-8" body: "{"respuesta":"A001","codigoBase64":"JVBERi0xLjUNCiW1tbW1DQoxI........

    and i configured this entries

    Endpoint:

    ="">transversalservice-aperturabei-destdoc-dev.appls.cto1.paas.gsnetcloud.corp/.../base64"

    Method:

    =POST

    Request Body:

    ="{   ""canal"":""CANAL DIGITAL"",  ""appOrigen"":""APERTURA DE CUENTAS"",  ""nivel"":""PMN1"",  ""tipoDocumento"":"""",  ""tipoConsulta"":""B64"",  ""tipoOper"":""A"",  ""parametros"":[     {           ""filenet"":""morales"",      ""idDocumento"":""A089E56A-0000-CD17-970C-4FE9ED4F6C85""    }  ]}"

    Document Json Path:

    ="codigoBase64"

    File Name:

    ="archivo.txt"

    Folder:

    "TMP_From_WS"

    But I have an error, but I don't know which is

    the errorocurred=true

    the errrorlog=Changed to Local Appian Error: null Local Appian Error: null

    Any help???

    Thanks

Children