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 » Setting Style Sheet on Outgoing XML message

Post new topic  Reply to topic
 Setting Style Sheet on Outgoing XML message « View previous topic :: View next topic » 
Author Message
siljcjose
PostPosted: Sun Nov 01, 2009 11:10 am    Post subject: Setting Style Sheet on Outgoing XML message Reply with quote

Apprentice

Joined: 18 Aug 2005
Posts: 27

Hi,

I have a requirement of setting XML Styleseet on an outgoing message. Some thing like this.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://xyz"?>
<Invoice>......

I am using Message broker 6.1

I am using Java compute node to achieve the same. As we are using JCN for development.

I used MbXMLNSC.PROCESSING_INSTRUCTION to create it. And in the debug window i see that it is there, but when the message is sent to the queue i don't see the processing instruction.

Please can you give any sugestions, if i am missing something.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sun Nov 01, 2009 12:43 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

My suggestion:
a) Insert Trace nodes after the input node and before the output node, and set the pattern to '$Root'.
b) Create an input message which contains the processing instruction that you want to create.
c) Compare the two XMLNSC trees, and modify your flow to make the PI in the output tree the same as the PI in the input tree.

You can use a temporary test flow for b) if your flow cannot accept PIs.
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 » Setting Style Sheet on Outgoing XML message
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.