web stats
Create a web service listener - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2014, 06:27 AM
t.delfresno t.delfresno is offline
What's HL7?
 
Join Date: Sep 2014
Posts: 2
t.delfresno is on a distinguished road
Default Create a web service listener

Hi everyone,

Before of all I have to say that I'm newbie on mirth connect and in this community so thanks in advance for your help and glad to be here!

I have the next issue and I haven't seen any post related that get me light over it.

I must setup a web service listener in order to accept HL7 messages from a provider, encapsulated in XML, and parse in HL7 to my application.

The transformer side is not a problem, (from XML to HL7) my problem is with the web service listener. I have the WSDL schema of the service but I don't have any idea to build a web service listener from it. I tried to construct it with the help of this example without any luck:

http://www.mirthcorp.com/community/w...+Connect+3.0.1

So, the question is, there are any way to construct a web service listener from a WSDL file? If not, there are some "how to" to construct it?

Thanks!

Toni del Fresno
Reply With Quote
  #2  
Old 09-23-2014, 06:34 AM
rastababy rastababy is offline
OBX.2 Kenobi
 
Join Date: Mar 2008
Posts: 72
rastababy
Default

Its just as the link suggests:

You need to compile the java code and put it into a jar file. Copy that file to the Mirth custom-lib directory and restart mirth.

Once that is completed you can then reference the custom webservice via a listener. Replace the default name of the service class name with your new method.

If you do not need a custom webservice, then use the default that Mirth provides.

The listener will construct the WSDL for you on the fly. You only create webservice clients from wsdl's, not servers/listeners.

Take note of the port as it will be needed in the client call to your new webservice.
Reply With Quote
Reply

Tags
web service, web service listener, web services listener, wsdl

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 08:56 PM.


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