|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XML parser |
« View previous topic :: View next topic » |
Author |
Message
|
newbie |
Posted: Thu Feb 19, 2004 11:38 am Post subject: XML parser |
|
|
Guest
|
Hi,
When I create an XML in WMQI and send it to an application on AS/400, the application's XML parser cannot parse the XML. I believe this application is using IBM's APIs (I guess they are called DOM APIs) for this. Is it possible that while creating XML in WMQI, I can set the encoding character without changing the domain to XML ? Is it possible that the parser on the AS/400 box expects messages in ASCII format and not EBCDIC ? |
|
Back to top |
|
 |
EddieA |
Posted: Thu Feb 19, 2004 12:58 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
What do you mean by:
Quote: |
set the encoding character without changing the domain to XML |
Quote: |
Is it possible that the parser on the AS/400 box expects messages in ASCII format and not EBCDIC |
No, the AS/400 will (should) be expecting EBCDIC. Make sure the message is sent with a format of MQSTR and the application on the AS/400 is doing a GET With Convert.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
kirani |
Posted: Thu Feb 19, 2004 5:20 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Another option would be to generate EBCDIC output message from WMQI by setting Properties folder.
Code: |
SET OutputRoot.Properties.CodedCharSetId = AS400_CCSID; -- Enter correct CCSID of your AS400 Queue manager.
SET OutputRoot.Properties.Encoding = AS400_Encoding; -- Enter Encoding of your AS400 Queue manager.
|
_________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|