ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML parser

Post new topic  Reply to topic
 XML parser « View previous topic :: View next topic » 
Author Message
newbie
PostPosted: Thu Feb 19, 2004 11:38 am    Post subject: XML parser Reply with quote

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
PostPosted: Thu Feb 19, 2004 12:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
kirani
PostPosted: Thu Feb 19, 2004 5:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML parser
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.