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 » XMLNSC - ASBITSTREAM question

Post new topic  Reply to topic
 XMLNSC - ASBITSTREAM question « View previous topic :: View next topic » 
Author Message
BDS
PostPosted: Mon Nov 01, 2010 5:58 am    Post subject: XMLNSC - ASBITSTREAM question Reply with quote

Newbie

Joined: 21 Oct 2010
Posts: 8

Hi all
I am taking a XMLNSC message in, and I'd like to store different sections into separate database columns.

Following the manuals and posts - I can store the entire msg:

Code:
      DECLARE inMsgHdr BLOB ASBITSTREAM(OutputRoot.XMLNSC, inEncoding, inCCSID);
      DECLARE dbinMsgHdr CHAR CAST(inMsgHdr AS CHAR CCSID inCCSID);


The issue I am having is navigating the msg and casting it:

Code:
      DECLARE inpMsgCustDetails BLOB ASBITSTREAM(OutputRoot.XMLNSC.ns1:Document.ns1:Order.ns1:PaymentDetails.ns1:CustomerDetails, inEncoding, inCCSID);
      DECLARE dbCustomerDetails CHAR CAST(inpMsgCustDetails AS CHAR CCSID inCCSID);


The user trace:
Code:
ParserException  BIP5016E: The element with name ''[ ]'' and field type ''valueType'' is not valid as the child of Root.XML or Root.XMLNSC.


Any pointers most appreciated.
Cheers
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Nov 01, 2010 6:01 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

OPTIONS FolderBitStream
Back to top
View user's profile Send private message
BDS
PostPosted: Mon Nov 01, 2010 6:29 am    Post subject: Reply with quote

Newbie

Joined: 21 Oct 2010
Posts: 8

Thanks Jeff

I had tried the FolderBitStream option with no luck - now know the syntax error was due to something else.

For others, reference
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ax79999_.htm

Cheers
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 » XMLNSC - ASBITSTREAM question
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.