AnsweredAssumed Answered

Problem using IBM MQ Native protocol

Question asked by GuidoDelgadoBAC on Feb 14, 2017
Latest reply on Feb 23, 2017 by DevTestUser

Hi, I have created a Virtual Service (using Request and Response Pairs) with IBM MQ Native protocol using DevTest version 9.1, then, when I try to use the virtual service in my Workstation I get this error:

 

============================================================================
| com.thoughtworks.xstream.io.StreamException: : unterminated entity ref (position:TEXT Request {id=0, o...@1:85 in java.io.StringReader@64f9b22e)
============================================================================
| Step: VS Image Response Selection
----------------------------------------------------------------------------
| Message: : unterminated entity ref (position:TEXT Request {id=0, o...@1:85 in java.io.StringReader@64f9b22e)
----------------------------------------------------------------------------
| Trapped Exception: : unterminated entity ref (position:TEXT Request {id=0, o...@1:85 in java.io.StringReader@64f9b22e)
| Trapped Message: com.thoughtworks.xstream.io.StreamException: : unterminated entity ref (position:TEXT Request {id=0, o...@1:85 in java.io.StringReader@64f9b22e)
----------------------------------------------------------------------------
STACK TRACE
com.thoughtworks.xstream.io.StreamException: : unterminated entity ref (position:TEXT Request {id=0, o...@1:85 in java.io.StringReader@64f9b22e)
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:124)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:141)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:118)
at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:103)
at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:63)
at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1061)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1052)
at com.itko.lisa.vse.stateful.model.Streamer.fromXML(Streamer.java:92)
at com.itko.lisa.vse.stateful.ConversationalStep.execute(ConversationalStep.java:453)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1295)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1210)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1195)
at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(WalkThruPanel.java:1057)
at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:70)
at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:964)
at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)
at java.lang.Thread.run(Unknown Source)
Caused by: org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:TEXT Request {id=0, o...@1:85 in java.io.StringReader@64f9b22e)
at org.kxml2.io.KXmlParser.exception(Unknown Source)
at org.kxml2.io.KXmlParser.error(Unknown Source)
at org.kxml2.io.KXmlParser.pushEntity(Unknown Source)
at org.kxml2.io.KXmlParser.pushText(Unknown Source)
at org.kxml2.io.KXmlParser.nextImpl(Unknown Source)
at org.kxml2.io.KXmlParser.next(Unknown Source)
at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:109)
... 19 more
============================================================================

 

 

And the virtual service can not put the message in the queue and the execution ends.

 

I am using:

  • IBM MQ v8.0.0.5.
  • Windows 7 Professional
  • Devtest Workstation 9.1.0

 

Attached the request and response pair, the virtual service project and the log from my worstation.

 

Attachments

Outcomes