Announcement

Collapse
No announcement yet.

Receiving replies from a webservice

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Receiving replies from a webservice

    I am new to Mirth and am trying to set up a channel to work with an existing webservice written in .Net. The webservice recieves the SOAP request, processes the data it receives, writes to a database, and sends back a reply.

    So far, this all works great. My question is, how do I configure Mirth to receive the reply back from my webservice and can I then write the reply data to a log file or a to database?

  • #2
    Re: Receiving replies from a webservice

    Good question! Currently Mirth only supports sending data one way via SOAP. If you would like to have this functionality, please add it to the JIRA (www.mirthproject.org/jira) and we will roadmap it in.

    Thanks!
    -Chris
    Chris Lang

    Comment


    • #3
      Re:Receiving replies from a webservice

      Refer Issue Tracker http://www.mirthproject.org/communit...owse/MIRTH-409

      Comment


      • #4
        Re:Receiving replies from a webservice

        Sorry, but I think this can be done with Mirth 1.5.0

        1) Create a channel with an SOAP Sender.
        2) Add a new destination in that channel. This destinadion will handle the answer of the WS. The transformer of this destination can see the SOAP answer, and its status.

        Of course, this is different than invoking a WW from JS, but can be used as a solution.

        The mayor issue of this, is the complex work need to treat a SOAP response (due to the big number of namespaces).

        Comment


        • #5
          Re:Receiving replies from a webservice

          Yes, the workaround suggested by Chris is similar and is working fine. The new feature request added to JIRA (Minor - low priority) is to facilitate calling a WS directly from a JS step inside transformer and process the results returned by the WS.

          Comment

          Working...
          X