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 Message Standards within WMQI

Post new topic  Reply to topic
 XML Message Standards within WMQI « View previous topic :: View next topic » 
Author Message
tchagan
PostPosted: Tue May 28, 2002 6:32 am    Post subject: XML Message Standards within WMQI Reply with quote

Apprentice

Joined: 10 Feb 2002
Posts: 31

Hi,

as a company we are currently designing XML message schemas. A lot of our messages end up being like the example below

<tst:TestMessage xmlns:bid="http://www.example.com/schema/mTestMessageV1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.com/schema/mTestMessageV1
mTestMessageV1_X.xsd">
<Header>
<Stuff>Blah</Stuff>
</Header>
</tst:TestMessage>

The above is valid well-formed XML, WMQI will parse it, but what I cannot find is how to access this within a compute node i.e.

set OutputRoot.XML.Convert.Stuff = tst:TestMessage.Header.Stuff;

The above generates a syntax error (I'm using MQSI V2.0.1 csd3).

Is it possible to access the XML in 2.0.1 or in 2.1 ?

thanks in advance

Terry
Back to top
View user's profile Send private message
CodeCraft
PostPosted: Tue May 28, 2002 1:37 pm    Post subject: Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

Perhaps:

set OutputRoot.XML.Convert.Stuff
= InputRoot.XML."tst:TestMessage".Header.Stuff;

(Note quotes).
Back to top
View user's profile Send private message
tchagan
PostPosted: Wed May 29, 2002 1:33 am    Post subject: Cheers! Reply with quote

Apprentice

Joined: 10 Feb 2002
Posts: 31

Thanks, works a treat!

I always forget about those damn quotes!


Terry
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Fri Sep 27, 2002 5:21 am    Post subject: Problems in using Support Pac ID04 for Using XML Schemas Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I am replicating the message obtained:
XML schema Import Utility V1.00 for MQSI - Copyright (C) IBM Corp. 2001 (Sep 5 2001)
Execution date and time 2002-09-27-19.25.52
Processing parameters file testschema.txt
<== evaluateParm returned 1
Connecting to database MQSIMRDB using db2admin pw db2admin
Connection successful MQSIMRDB
Accessing MRM database MQSIMRDB using db2admin password db2admin
==> getMRMInfo database name MQSIMRDB user db2admin password db2admin
Gathering information about MRM data repository from REPOSITORY table
***** Unable to retrieve SQLSTATE diagrc 100 for SQLFetch in routine getMRMInfo
*****Database error 100 during SQLFetch in routine getMRMInfo SQLSTATE
No data available for fetch - rc=100
MRM info gathered for MessageSet TESTSCHEMA id 0 NextElementID 0 nextAttrId 0 nextMbrAttr -1
<== getMRMInfo returned 0 errSw 1
Errors accessing MRM database - RC = 0


Generally SQLSTATE of 100 indicates no data found but the message set exists in the repository as was also shown by mqsilistmsgset utility.

I need to use schemas in my work and considering that others have been able to use the utility,I would appreciate any help to finetune my system to run the utility.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML Message Standards within WMQI
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.