web stats
How to add custom soap message handler - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 08-29-2016, 07:52 AM
jeyasithar jeyasithar is offline
Mirth Newb
 
Join Date: Sep 2014
Posts: 13
jeyasithar is on a distinguished road
Default How to add custom soap message handler

Hi,

How can I add my own soap message handler, so that I can consume the whole soap envelope for forwarding purpose?

https://www.mirthcorp.com/community/...wse/MIRTH-3834

Is there a class that I can create extending so and so?

Thanks,
Jey
Reply With Quote
  #2  
Old 08-29-2016, 10:26 AM
jeyasithar jeyasithar is offline
Mirth Newb
 
Join Date: Sep 2014
Posts: 13
jeyasithar is on a distinguished road
Default Custom handler created - But message not dispatched

I have created the custom message handler by following https://www.mkyong.com/webservices/j...n-server-side/

Custom message handler works! But the message is not dispatched to the Mirth source transformer.

Any help?
Reply With Quote
  #3  
Old 08-29-2016, 12:27 PM
eduardoa eduardoa is offline
Mirth Employee
 
Join Date: Mar 2013
Location: Santa Fe Springs, California
Posts: 134
eduardoa is on a distinguished road
Default

If you search around the forums many people have asked this question. You have to use the WebServiceReceiver object provided and call processData on it to dispatch a message to the channel.
Reply With Quote
Reply

Tags
custom, webservice

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 05:29 PM.


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