web stats
Acess to Mirth REST API - Page 2 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #11  
Old 02-21-2018, 05:41 AM
AlexNeiva AlexNeiva is offline
Mirth Guru
 
Join Date: Oct 2013
Location: Portugal
Posts: 277
AlexNeiva is on a distinguished road
Default

Thank you odo for your response... but what i really want is use .NET to call Mirth REST API.

Quote:
Originally Posted by odo View Post
From within mirth, you can simply use the mirth client for that. It encapsulates all the low-level handling and provides easy access to all needed components of a remote mirth instance.

Check this thread for an example of using the mirth client.
Reply With Quote
  #12  
Old 02-21-2018, 10:25 PM
odo odo is offline
OBX.3 Kenobi
 
Join Date: Feb 2017
Location: Luxembourg
Posts: 139
odo is on a distinguished road
Default

Quote:
Originally Posted by AlexNeiva View Post
Thank you odo for your response... but what i really want is use .NET to call Mirth REST API.
Oh, ok - it seems I got you wrong, as I was referring to your initial post:

Quote:
Originally Posted by AlexNeiva View Post
I wanted to access the Mirth REST API services, using the Mirth itself but, with no success because of the SSL Certificate.
This is possible with the approach I mentioned.
Reply With Quote
  #13  
Old 03-19-2018, 01:07 AM
obsessio obsessio is offline
OBX.3 Kenobi
 
Join Date: Mar 2015
Location: Turkey
Posts: 164
obsessio is on a distinguished road
Default

Sorry for the late answer.
Here is the sample.


Quote:
Originally Posted by AlexNeiva View Post
That what i wanted but with no success using .NET! I got errors regarding the certificate and other stuff.
Can you post or send me some example code that you are using .NET to invoke the Mirth REST API?

Thank you
Quote:
Originally Posted by AlexNeiva View Post
Oh that would be great obsessio...
Thank you. I will be waiting for it
Reply With Quote
  #14  
Old 08-14-2019, 08:46 AM
kirbyjwilson kirbyjwilson is offline
OBX.2 Kenobi
 
Join Date: May 2012
Posts: 61
kirbyjwilson is on a distinguished road
Default

I received this error while importing the WS_Test channel.
Appliance Version 3.11.3
Mirth Connect Version 3.7.0

Would you mind uploading current versions of the 2 mirth channels?

Channel "WS_Test" is invalid. Original cause:
No such field com.mirth.connect.model.ChannelProperties.channelV isibility
---- Debugging information ----
field : channelVisibility
class : com.mirth.connect.model.ChannelProperties
required-type : com.mirth.connect.model.ChannelProperties
converter-type : com.mirth.connect.model.converters.MigratableConve rter
path : /channel/properties/channelVisibility
-------------------------------
com.thoughtworks.xstream.converters.reflection.Abs tractReflectionConverter$UnknownFieldException: No such field com.mirth.connect.model.ChannelProperties.channelV isibility
---- Debugging information ----
field : channelVisibility
class : com.mirth.connect.model.ChannelProperties
required-type : com.mirth.connect.model.ChannelProperties
converter-type : com.mirth.connect.model.converters.MigratableConve rter
path : /channel/properties/channelVisibility
Reply With Quote
Reply

Tags
custom jar, custom webservice, rest api, rest 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 05:02 PM.


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