web stats
Create custom web service listener - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2012, 01:55 AM
johns johns is offline
Mirth Newb
 
Join Date: Nov 2012
Posts: 9
johns is on a distinguished road
Default Create custom web service listener

HI,

Can anyone give me detail steps like which class to extend, which jar file to use and all to create custom web service listener for mirth connect 2.2.1 . I have setup mirth using eclipse.

Thanks in advance.
John
Reply With Quote
  #2  
Old 11-21-2012, 08:33 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,124
narupley is on a distinguished road
Default

Quote:
Originally Posted by johns View Post
HI,

Can anyone give me detail steps like which class to extend, which jar file to use and all to create custom web service listener for mirth connect 2.2.1 . I have setup mirth using eclipse.

Thanks in advance.
John
The class you want to extend is AcceptMessage in the connectors.ws package.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
  #3  
Old 11-21-2012, 09:00 PM
johns johns is offline
Mirth Newb
 
Join Date: Nov 2012
Posts: 9
johns is on a distinguished road
Default

HI Narupley,

Thanks for the reply.

Where I can write the service class (which path)? And what else I need to do along with extending the acceptMessage class ?

Please give me the steps if possible.

Thanking you,
John.
Reply With Quote
Reply

Tags
custom, listener, web service

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 02:42 PM.


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