Forum Discussion

Sudde's avatar
Sudde
New Contributor
13 years ago

Error while send MQ message with Hermes | Invalid format.

Hello All,

Actually I am trying to use hermes (1.14) with SoapUI (4.5.1) in order to send MQ messages to one of my servers. I've apparently successfully configured hermes on my machine, and i am able to see the option on my service to use a JMS endpoint... and there is where i am facing issues...

When i am sending a valid MQ message to my server, the same is being automatically set as MQHRF2 and not MQSTR like its expected on my end. I am able to see this MQHRF2 message on my server, but the same is not being processed due the MQ format not be MQSTR.

My main question is:

Is there a way to set this MQ format on Hermes to MQSTR and not MQHRF2?

This is a sample mq message used to reach out my server; Let me know in case any other information needed.

<?xml version="1.0" encoding="UTF-8"?>
<OperationNameRequest xmlns = "***********************************">
<ns3:mqMessageHeader xmlns = "" xmlns:ns3 = "***********************************">

--Sensitive information

</ns3:mqMessageHeader>
<data>
<operationName
xmlns:soapenv = "************************************"
xmlns:xsd = "***********************************"
xmlns:xsi = "***********************************"
xmlns = "***********************************">

--Sensitive information

</operationName>
</data>
</OperationNameRequest>

5 Replies

  • Sudde's avatar
    Sudde
    New Contributor
    Does anyone have any idea?

    Thanks all for the support.
  • Sudde's avatar
    Sudde
    New Contributor
    Hello all,

    If i am doing it wrong please let me know, thanks and regards.
  • Hi, as this question is related to SoapUI, you have much better chances at getting an answer if you use the SoapUI threads... especially if you're a Pro customer, you should use the Pro threads, which are answered by the moderators as well as SmartBear Support itself!

    Anyway, I am investigating this issue and hope to post an answer soon.

    Regards,
    Renato
  • webserviceAutom's avatar
    webserviceAutom
    Occasional Contributor
    Is it possible to test MSMQ using HermesJMS and SOAP UI? The project I am working on is using NServiceBus which will use MSMQ protocol.