Announcement

Collapse
No announcement yet.

Reply data in SOAP Listener channel.

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

  • Reply data in SOAP Listener channel.

    I made a channel with "SOAP Listener" as a source connector type.

    Mirth can reply with an standard message from the destination (such as "file something.txt written succesfully")

    I've read that Mirth 1.5 only works in one way with web services, but, does anybody knows if there is any way to make a customized reply?

    I intend retrieve data from a database when SOAP Listener receives a request and reply this data.

    regards,

    carles massallé.

  • #2
    Re:Reply data in SOAP Listener channel.

    Refer Issue Tracker http://www.mirthproject.org/communit...owse/MIRTH-409
    For a discussion on a possible workaround, refer
    Calling an external web service from transformer

    Comment


    • #3
      Re:Reply data in SOAP Listener channel.

      I am currently using Mirth as an SOAP Sender, However, I need to send the SOAP message over an SSL. Which means that I have to access the WSDL URL using the secure connection (https://machine:8443/service/JWS?wsdl). Mirth does not seem to find the method when using https. Is there any configuration or setup that I need to do?

      Regards,
      Marcy

      Comment


      • #4
        Re:Reply data in SOAP Listener channel.

        As I understand, SSL isn't supported directly in Mirth.
        Refer the following post:
        Mirth & HTTPS SOAP transports


        Post edited by: nshaik, at: 07/26/2007 08:23

        Comment


        • #5
          Re:Reply data in SOAP Listener channel.

          Anybody knows if reply a custom SOAP message from SOAP Listener channel is now possible in Mirth 1.7.1 ?

          I still intend retrieve data from a database when SOAP Listener receives a request and reply this data.

          regards,

          carles massallé

          Comment


          • #6
            Re:Reply data in SOAP Listener channel.

            As far as I know, you can always put a custom message in the SOAP response using the
            responseMap.put(connector, ResponseFactory.getFailureResponse('message'))
            or
            responseMap.put(connector, ResponseFactory.getSuccessResponse('message'))

            funcions in a JS transformer. But the problem that we have (me too, because I'm on a very related issue) is how to detect if the processing of a message produces any error at any step. If you can detect this, you can modify the response using the funtions above in the postprocessor script tab.

            Hope this helps

            Comment

            Working...
            X