Forum Discussion

paulavijit's avatar
paulavijit
New Contributor
14 years ago

Sending MapMessage through HermesJMS

I am trying to send a MapMessage to a JMS Topic in Weblogic 10.3 using HermesJMS in-built with sopaUI 3.6.1 with the following XML:

<content>
<entry type="4">
<mapMessage>
<headerProperty name="headerProperty1" type="java.lang.String" value="headerPropertyValue1"/>
<bodyProperty name="bodyProperty1" type="java.lang.String" value="bodyPropertyValue1"/>
<bodyProperty name="bodyProperty2" type="java.lang.String" value="bodyPropertyValue2"/>
</mapMessage>
</entry>
</entry>
</content>

I get the following error in HermesJMS while sending the above MapMessage:

java.lang.NullPointerException
at hermes.impl.DefaultXMLHelper.createMessage(DefaultXMLHelper.java:430)
at hermes.impl.DefaultXMLHelper.fromMessageSet(DefaultXMLHelper.java:270)
at hermes.impl.DefaultXMLHelper.fromXML(DefaultXMLHelper.java:195)
at hermes.impl.DefaultHermesImpl.fromXML(DefaultHermesImpl.java:1198)
at hermes.browser.tasks.SendMessageTask.invoke(SendMessageTask.java:157)
at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
at java.lang.Thread.run(Unknown Source)

The same works perfectly fine with the standalone HermesJMS v1.13

Is it a known issue in the built-in HermesJMS with soapUI 3.6.1? Is a fix coming soon for this issue?
No RepliesBe the first to reply