Sudde
13 years agoNew Contributor
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>
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>