Announcement

Collapse
No announcement yet.

Web service listener source not receiving messages

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

  • Web service listener source not receiving messages

    Hi Support, I created a new channel with a source using the connector type web service listening. I have the web service set as default service and service name Mirth and local port 8081. Then I created a .Net Mirth soap sender project and add the web reference to http://localhost:8081/services/Mirth?wsdl. In the .Net project I have this code below it sends the messages to the Mirth web service. I see the received counter increment but when I look at the source raw message there is no content. Am I doing something wrong in the .net project?



    Dim ws As New Mirth.DefaultAcceptMessageClient
    ws.acceptMessage(HL7Message.Text)

  • #2
    web service listening HL7 Messages

    Hi Support, I created a new channel using the connector type web service listener. Can the DefaultAcceptMessageClient acceptMessage accept an HL7 Messages?

    Comment


    • #3
      Yes, it should have no problem accepting any value. It's possible that the client is composing a SOAP envelope with a structure that the Web Service Listener isn't expecting, causing it to think that the argument isn't populated. In version 3.3 you can set the SOAP version binding on the listener, so try setting that to something specific like 1.1 or 1.2 and see if either work for your client.
      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.

      Comment


      • #4
        acceptMessage just take in a string which is my case its the hl7 message. I am using Mirth connect 3.1.0.7420 so I am not seeing a class properties for version . Is there anything else I can try?

        Comment


        • #5
          Do I need to use the Schema for the SOAP 1.1 envelope? Something like this?

          <?xml version="1.0" encoding="utf-8"?>
          <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
          <soap:Body>HL7 Message

          Comment

          Working...
          X