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 » Issues with CWF and XML- URGENT

Post new topic  Reply to topic
 Issues with CWF and XML- URGENT « View previous topic :: View next topic » 
Author Message
kt76
PostPosted: Wed Aug 23, 2006 5:02 am    Post subject: Issues with CWF and XML- URGENT Reply with quote

Acolyte

Joined: 18 Jan 2004
Posts: 52

We have a scenario where the input could be either XML or non-XML(potentially TDS).As a result the input node is set to BLOB.

After processing, we need to add the palyload to a XML structure at output-

Code is-
CREATE LASTCHILD of OutputRoot DOMAIN 'XML';
SET OutputRoot.Properties.MessageDomain = 'XML';

SET OutputRoot.XML.(XML.XmlDecl) = '';
SET OutputRoot.XML.(XML.XmlDecl).(XML.Version) = '1.0';
SET OutputRoot.XML.(XML.XmlDecl).(XML.Encoding) = 'UTF-8';
SET OutputRoot.XML.Payload=CAST(InputRoot."BLOB"."BLOB" AS CHARACTER CCSID 1208);

This works fine if the input BLOB is TDS eg(123444444)

However if it is a XML , the output on the Q has &lt,&gt characters.
Is there a way to resolve this?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 23, 2006 5:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You shouldn't be using the XML domain. At a minimum you should be using XMLNS, and ideally using XMLNSC. You don't say which version (v5 or v6) of Broker you're using -if v6 you should be using XMLNSC.

You also don't explain why CWF is in your message title, when you are only working with XML and TDS.

You should also probably identify whether the data is XML or TDS, and then attach it as character data if TDS or create a parsed XMLNS/C field from the BLOB data if it's XML.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Issues with CWF and XML- URGENT
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.