cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong format in JMS Adapter

Former Member
0 Kudos

Hi,

we have an interface from R3 to MQSeries using a JMS adapter.

When we put the message in queue MQ the message format is wrong.

The message correct should be:

<?xml version="1.0" encoding="UTF-8" ?>

<requestMsg>

<dse_operationName>MPB8</dse_operationName>

<dse_formattedData>

<kColl id="entryData">

<field id="Usuario" value="NXCARDP" />

<field id="PAN" value="45516401393530624" />

</kColl>

</dse_formattedData>

<dse_processParameters>LIST</dse_processParameters>

</requestMsg>

But, the message that MQ receive is:

0000 RFH \00\00\00\02\00\00\00\E4\00\00\01\11\00\00\04\

0000-1 E4MQSTR \00\00\00\00\00\00\04\B8\00\00\00 <mcd><

0000-2 Msd>

0001 jms_text</Msd></mcd> \00\00\00\98<jms><Dst>queue:

0001-1 ///AEA.Q

0002 L.ANSWER.MT.I?CCSID=1252</Dst><Rto>queue:///AEA.QL

0003 .ANSWER.SAP</Rto><Tms>1191940306584</Tms><Cid>SINC

0004 RO</Cid><Dlv>2</Dlv></jms> <?xml version="1.0" en

0005 coding="UTF-8"?>\0A<requestMsg><dse_operationName>

0005-1 MP

0006 B8</dse_operationName><dse_formattedData><kColl id

0007 ="entryData"><field id="Usuario" value="NXCARDP"><

0008 /field><field id="PAN" value="45516401393530624"><

0009 /field></kColl></dse_formattedData><dse_processPar

0010 ameters>LIST</dse_processParameters></requestMsg>.

The MQ is unable to process the message because the properties of JMS adapter are being included in the begining of the message.

We don't know why and how to avoid this.

Thanks for advanced.

Paloma

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Try and change the transport network protocol to TCP/IP and JMS-Compliant to Websphere(non-JMS) in your communication channel. And also in the "Mapping of Message" choose Message Payload = JMS Payload.

BR

Sameer

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sameer,

the message has well format now. We had the mistake in the property JMS-compliant.

Thanks a lot.

Paloma

Former Member
0 Kudos

Hi

Try with this blog it wil solve your problem

Thanks

sudhir sharma