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 » XML declaration check in incoming message using ESQL

Post new topic  Reply to topic
 XML declaration check in incoming message using ESQL « View previous topic :: View next topic » 
Author Message
anilmekala
PostPosted: Mon Mar 07, 2016 8:13 am    Post subject: XML declaration check in incoming message using ESQL Reply with quote

Acolyte

Joined: 19 Oct 2012
Posts: 63

Hi Experts,

I have requirement like receiving xml message inside CDATA as a webservicce. I need to check whether xml declaration is present inside CDATA using ESQL message.

If xml declaration presents inside CDATA . I have to send xml declaration inside CDATA response as well.

Please let me know if you have any idea how to check xml declaration present in incoming message.

Thanks in advance.

Regards,

Anil.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 07, 2016 8:20 am    Post subject: Re: XML declaration check in incoming message using ESQL Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

anilmekala wrote:
Please let me know if you have any idea how to check xml declaration present in incoming message.


Parse the CDATA XML. Look for a declaration statement.

Same as you'd check for a declaration statement in any inbound piece of XML. Just that it's not already in a message tree for you because it's not been through the input node's parser so you have to parse it yourself.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » XML declaration check in incoming message using ESQL
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.