web stats
WebClient returns emtpy response - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 08-16-2016, 09:45 PM
blablabla blablabla is offline
What's HL7?
 
Join Date: Aug 2016
Posts: 2
blablabla is on a distinguished road
Default WebClient returns emtpy response

Hello Community,

Mirth Connect Admin 3.4.1.8057, JAVA 8

i build a HTTP Listener Channel in Mirth and it's only purpose is: send the incoming Message to another Channel. That's not the problem and it was way to easy to build soming like this.
I tried to send an HTTP Request via C# WebClient-Class and the Message is received perfecty. The only thing that doesn't work is the response. At least i need to get the 200 or 500 as response but it's always empty. I tried every auto-gernerated response and the Soure Queue ON but nothing help.
I thought the C# WebClient-Class dosen't work and tested it with other Post request and i got responses. So there need to be something that i overlooked in the Channel Configuration.

Hopfully one of you can help me out. Thanks.
Attached Files
File Type: xml MicMessageReceiver_DEV.xml (10.6 KB, 3 views)
Reply With Quote
  #2  
Old 08-17-2016, 11:31 PM
blablabla blablabla is offline
What's HL7?
 
Join Date: Aug 2016
Posts: 2
blablabla is on a distinguished road
Default

I got it working for me with a simple PostProcessor script:
var res = responseMap.get("d1");
return res.getStatus().toString();

But I should get the standard Reponse without that postporcessor response, or am i wrong?
Reply With Quote
  #3  
Old 11-03-2016, 04:42 AM
sharana sharana is offline
What's HL7?
 
Join Date: Nov 2016
Posts: 1
sharana is on a distinguished road
Default Get Transfomed Message from the HTTP Sender/Channel Connector

With PostProcessor we get only the message id, not complete transformed message.

Anyone help me on how to get the complete transformed message HTTP Sender/Channel connector.

Or Any other way to get the transformed message.


Attached the Channel file
Attached Files
File Type: xml HL7 Puru.xml.xml (49.5 KB, 1 views)
Reply With Quote
Reply

Tags
http listener, response, webclient

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 09:47 AM.


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