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 » How to delete XML header from a web response

Post new topic  Reply to topic
 How to delete XML header from a web response « View previous topic :: View next topic » 
Author Message
vdharanikota
PostPosted: Tue Aug 19, 2014 10:47 pm    Post subject: How to delete XML header from a web response Reply with quote

Novice

Joined: 07 Jul 2014
Posts: 18

Hi all
I'm working on Google web services. My flow and code is working very well and getting the response also. In my response I'm getting an xml header like this <![CDATA[<?xml version="1.0" encoding="UTF-8"?>. Is it possible to delete this header using esql...? If possible please suggest some instructions. To delete this xml header I have gone through infocenter also but I couldn't find any topics related to this. My requirement don't need this xml header in my response. Thanks in advance....
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Aug 19, 2014 11:28 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Ask yourself this question

"What is the purpose of the following bit of data?"
Code:

<?xml version="1.0" encoding="UTF-8"?>


When you are totally clear on that and what effect it might have on the application that is going to use the XML contained within the [CDATA] section then ask this question again.
What use is the encoding="UTF-8" part to a parser that is looking at this (and any XML)?
What happens to the data if the XML in the CDATA section is parsed using the wrong Encoding say, ISO-Latin-8859-15? could it be parsed incorrectly.

Then ask yourself if this is badly formed XML?

Then armed with that information go back to whoever created the requirement and ask them to think again.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » How to delete XML header from a web response
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.