web stats
Mirth 3.0.0.Web Service Listener - Custom service. - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2013, 04:43 AM
yara85 yara85 is offline
What's HL7?
 
Join Date: Dec 2012
Posts: 3
yara85 is on a distinguished road
Default Mirth 3.0.0.Web Service Listener - Custom service.

Hi,

I need to know how to configure a custom web service in MIRTH 3.0

Thanks. Regards
Reply With Quote
  #2  
Old 10-17-2013, 07:35 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,101
narupley is on a distinguished road
Default

Quote:
Originally Posted by yara85 View Post
Hi,

I need to know how to configure a custom web service in MIRTH 3.0

Thanks. Regards
It's done the same way as in 2.x. Drop your custom JAR into the custom-lib directory and restart the server. Then in your Web Service Listener settings, choose "Custom service" and type in the fully-qualified class name. When the channel is deployed, it will automatically publish an endpoint with your custom class (and methods) behind it.
__________________
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 12-03-2013, 01:36 AM
rajashree rajashree is offline
What's HL7?
 
Join Date: Sep 2013
Posts: 1
rajashree is on a distinguished road
Default

I Dropped custom JAR into the custom-lib directory and restarted the server. Then in Web Service Listener settings, where can I get fully-qualified class name?
Reply With Quote
  #4  
Old 12-03-2013, 08:21 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,101
narupley is on a distinguished road
Default

Quote:
Originally Posted by rajashree View Post
I Dropped custom JAR into the custom-lib directory and restarted the server. Then in Web Service Listener settings, where can I get fully-qualified class name?
You have to type in the fully-qualified class name yourself. Presumably you were the one who created the custom class right? Only you (or whoever created it) would know that information.
__________________
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
Reply

Tags
custom, mirth 3.0, 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 09:13 AM.


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