on 09-24-2010 11:06 PM
Hello Folks,
There is a requirement to put the below message on the JMS queue.
EDI_DC40 2000000000001046284700 0312 PEXR2002 PAYEXT PAYEXTSAPSD0 LS SD0_200 ZMIDDLE B 0006000000 20100924174721 20091215094549 EOSE2IDKU1 200000000000104628400000100000001PEXEXTENDED PAYMENT ORDER 2000000665 ORG001EOS
However the message that XI is putting on JMS queue is:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_JMS_EFTPAYMENTS xmlns:ns0="urn:pi:eftpayments:mq"><MessagePayload>EDI_DC40 2000000000001046284700 0312 PEXR2002 PAYEXT PAYEXTSAPSD0 LS SD0_200 ZMIDDLE B 0006000000 20100924174721 20091215094549 EOSE2IDKU1 200000000000104628400000100000001PEXEXTENDED PAYMENT ORDER 2000000665 ORG001EOS ............................... </MessagePayload>
How can i get rid of the XML tagging in the start and end on the JMS adapter?
Thanks!!
Harpreet
>
> Hello Folks,
>
> There is a requirement to put the below message on the JMS queue.
>
> EDI_DC40 2000000000001046284700 0312 PEXR2002 PAYEXT PAYEXTSAPSD0 LS SD0_200 ZMIDDLE B 0006000000 20100924174721 20091215094549 EOSE2IDKU1 200000000000104628400000100000001PEXEXTENDED PAYMENT ORDER 2000000665 ORG001EOS
>
> However the message that XI is putting on JMS queue is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ns0:MT_JMS_EFTPAYMENTS xmlns:ns0="urn:pi:eftpayments:mq"><MessagePayload>EDI_DC40 2000000000001046284700 0312 PEXR2002 PAYEXT PAYEXTSAPSD0 LS SD0_200 ZMIDDLE B 0006000000 20100924174721 20091215094549 EOSE2IDKU1 200000000000104628400000100000001PEXEXTENDED PAYMENT ORDER 2000000665 ORG001EOS ............................... </MessagePayload>
>
> How can i get rid of the XML tagging in the start and end on the JMS adapter?
>
> Thanks!!
> Harpreet
either use content conversion modules in your JMS adpater as mentioned in the earlier post or write a simple java map to extract the required payload from the XML and post that payload to the adapter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use file content conversion in JMS receiver communication channel,anyway MQ will support Text and XML files.
refer below link and search in sdn..
http://wiki.sdn.sap.com/wiki/display/XI/HowTo...ContentconversionmodulewithJ2EEJMS+adapter
Regards,
Raja Sekhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.