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 » Creating xml declaration part in JCN

Post new topic  Reply to topic
 Creating xml declaration part in JCN « View previous topic :: View next topic » 
Author Message
jr_martin
PostPosted: Tue Oct 02, 2007 1:13 pm    Post subject: Creating xml declaration part in JCN Reply with quote

Apprentice

Joined: 24 Aug 2005
Posts: 36
Location: NY

Hi,
I am trying to create an xml message in JCN. I was able create all the other elements in the message using MBElement class except xml declaration part ie.,
<?xml version="1.0" encoding="UTF-8"?>

Can someone help me on this?

Message:

<?xml version="1.0" encoding="UTF-8"?>
<Message>
<Header><Header>
<Body></Body>
</Message>

Thanks in advance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 02, 2007 1:20 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to set the parser specific type of the element to the correct specific type for an XML declaration in the Parser you are using. Hopefully XMLNS or XMLNSC.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jr_martin
PostPosted: Wed Oct 03, 2007 1:16 pm    Post subject: Reply with quote

Apprentice

Joined: 24 Aug 2005
Posts: 36
Location: NY

Thanks, Jeff. XMLNSC worked for me.
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 » Creating xml declaration part in JCN
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.