|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
RE: XSD Schema attributes and Resolving Node and Flow names |
« View previous topic :: View next topic » |
Author |
Message
|
Lillian |
Posted: Mon Feb 10, 2003 11:58 pm Post subject: RE: XSD Schema attributes and Resolving Node and Flow names |
|
|
Centurion
Joined: 15 Apr 2002 Posts: 102
|
I have two queries below.
1.I have imported an XSD Schema using mqsiimpxmlshema command.The message
set was imported successfully.
My WMQI flow maps a fixed format message to a IAAXML format(imported).The
mapping of element and attribute is correct however i have problems with
declaration.
On the message set properties ,i have the properties Suppress XML
Declaration and Standalone Document set to No.This results in the
declaration
<?xml version="1.0" standalone="no"?>
How do i enfore the Encoding declaration? i want the Encoding to be set to
UTF-8 so that my declaration is
<?xml version="1.0" encoding="UTF-8"?>
2.Is it possible to resolve the flow and node name at run time within a
flow?Currently i hard cord the names but this is potential maintaince
problem.Please help.
Regards,
Wendy |
|
Back to top |
|
 |
JYama |
Posted: Wed Feb 12, 2003 12:23 am Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 281
|
Hi Wendy,
I hope these may help.
1. Try below. (Check "ESQL Reference[XML Declaration]")
SET OutputRoot.XML.(XML.XmlDecl).(XML.Encoding)='UTF-8';
2. You can handle message flows dynamically, I think. (Consider RFH2 or you can handle flows with filter node or something.)
But resolving node names may be a problem, but consider to use RouteToLabel node.
J.YAMA |
|
Back to top |
|
 |
kirani |
Posted: Sat Feb 15, 2003 12:13 pm Post subject: Re: RE: XSD Schema attributes and Resolving Node and Flow na |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Lillian wrote: |
2.Is it possible to resolve the flow and node name at run time within a
flow?Currently i hard cord the names but this is potential maintaince
problem.Please help.
|
Using plug-in node you can get Message Flow name, Execution Group name, Queue Manager Name, Transaction Mode, etc. at runtime. I don't think there is a way to get Node name programmatically at runtime. _________________ 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 |
|
 |
JYama |
Posted: Thu Feb 27, 2003 9:34 pm Post subject: Re: RE: XSD Schema attributes and Resolving Node and Flow na |
|
|
 Master
Joined: 27 Mar 2002 Posts: 281
|
>How do i enfore the Encoding declaration?
Have you tried to code ESQL in a Compute Node?
>Is it possible to resolve the flow and node name at run time within a
I'm not sure what 'at run time' mean here, but you should be sure that it is impossible to create a new flow logic within a message flow dynamically.
Flows you need have to be defined in advance.
Try to define branch flows within a message flow (main or parent), and consider to use RouteToLabel Node to handle several conditions.
In this case, information for branching may be included in an input message.
Cheers,
Yama |
|
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
|
|
|
|