Forum Discussion
Try changing below statement:
def jmsEndpoint = new JMSEndpoint("jms://MQSession::QueueName")
to
def jmsEndpoint = new JMSEndpoint("jms://${session}::${channelType}_${send}::${channelType}_${receive}")
session is MQSession
channelType is queue or topic
send is Name of the queue to which message has to be send
receive is Name of the queue on which it receives response
nmrao The error remains the same. I have copied below the exception log form my application's logging.
I have renamed some of the names below.
<RecoverableException>
<Function>mpgw_nameOf the EG</Function>
<Type>Multiprotocol Gateway</Type>
<Name/>
<Label/>
<Catalog>Datapower</Catalog>
<Severity>3</Severity>
<Number>0x00030001</Number>
<Text>illegal character 'R' at offset 0 of dpmq://dpmq_Eai/fsh_MQ_Name?RequestQueue=QueueName</Text>
</RecoverableException>
- nmrao9 years agoCommunity HeroRe-iterating that it is not helpful unless full stack trace is posted (need to have match lines of the script as well)
Hope you are trying to send a soap request, right?- asn_0079 years agoContributor
nmrao That is all I had to show what error I could see.
The script doesn't throw any error.
I am posting a simple xml to a queue.
When I copy & post the same xml which was generated by the script, through RFHUTIL, I dont see any errors in my app logging.
- asn_0079 years agoContributor
I skipped the Groovy steps to send to the queue and instead updated the generated xml in the Request tab, but still the same issue
When I copy the xml from the Request tab, create an xml file using notepad & post this file through rfhutilc, there is no error at all.
Has it got anything to do with the editor ? encoding ?