Announcement

Collapse
No announcement yet.

Sending data to Mirth Web Service Listener

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

  • Sending data to Mirth Web Service Listener

    Hi,

    We have created a Mirth channel with Web Service Listener as source. We have a standardised C# application that generates the SOAP message and send the data to any web service. It is sending data to all kind of web services except the service available in the Mirth Web Service Listener.

    Generated SOAP message :

    Code:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:level1="http://ws.connectors.connect.mirth.com/">
      <soap:Body>
        <level1:acceptMessage>
          <level1:arg0>test Data</level1:arg0>
        </level1:acceptMessage>
      </soap:Body>
    </soap:Envelope>
    But if we are removing the namespace information (level1) for the argument alone, then it is successfully sending the data.

    For that SOAP message :

    Code:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:level1="http://ws.connectors.connect.mirth.com/">
      <soap:Body>
        <level1:acceptMessage>
          <arg0>test Data</arg0>
        </level1:acceptMessage>
      </soap:Body>
    </soap:Envelope>
    What might be the issue here? Could anyone please help?
Working...
X