web stats
Unable to get HTTP response Payload from a http_sender connector - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-19-2017, 07:45 AM
mxaos mxaos is offline
Mirth Newb
 
Join Date: Jun 2011
Location: Padua, Italy
Posts: 6
mxaos is on a distinguished road
Exclamation Unable to get HTTP response Payload from a http_sender connector

Hi all,
I have this channel pickin' up a file URI in a database (source) and two destinations:
  1. ('http_call'), an http_sender connector performing the HTTP access to the URI (read from the database) and
  2. ('document_save'), a pure Javascript connector that brings the http incoming stream and put it on the filesystem.

the http_sender destination correctly access the web endpoint and I can see the file content in the channel messages under the connector mappings:


Scope | Variable | Value
Response | http_call | SUCCESS: %PDF-1.4 % ...


But I'm not able to get this value on any of these variables:

responseMap.get('http_call')
$('http_call')

in order to put them into a file for saving.

Somebody could help me?

The version I'm working on is 2.1.1.5490

Thanks in advance.

Marco

Last edited by mxaos; 09-19-2017 at 07:53 AM. Reason: mirth version
Reply With Quote
Reply

Tags
http_reader, javascript, response map

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 11:00 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation