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 » I am getting malformed xml for "encoding=" in WebS

Post new topic  Reply to topic
 I am getting malformed xml for "encoding=" in WebS « View previous topic :: View next topic » 
Author Message
gpraxi
PostPosted: Tue Jun 17, 2014 7:54 pm    Post subject: I am getting malformed xml for "encoding=" in WebS Reply with quote

Newbie

Joined: 17 Jun 2014
Posts: 3

I am getting malformed xml (we are getting extra space in <?xml version="1.0" encoding="UTF-8" ?>)for "encoding=" in WebSphere8 MQ Response. Can anyone help to fix for this, how i can get correct format(Correct Format is :<?xml version="1.0" encoding="UTF-8"?> ).
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jun 17, 2014 9:30 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.

How do you know that the section you quoted is malformed?
What does the XML Spec say about this?

What errors do you see in your flow?

What does the exceptionList look like?

It would help us to help you for you to post more information about your problem at the outset. Examples/Error reports are really good places to start.

If this is truly a malformed message then the normal practice is to go to the sender and get them to correct the problem. IF you do that then quoting the relevant part of the XML Specification would help your argument.
_________________
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
gpraxi
PostPosted: Tue Jun 17, 2014 10:38 pm    Post subject: Reply with quote

Newbie

Joined: 17 Jun 2014
Posts: 3

thanks, davies

we are sending the message without space <?xml version="1.0" encoding="UTF-8"?> and we are getting the prolog with space as, <?xml version="1.0" encoding="UTF-8" ?> for Queue. I can see in message data we are getting some extra bite N~ for response message. So used MQMD is considering this extra chracter and keeping space inside prolog. I am sharing this comparision in WAS6/WAS8.
Can you please suggest what i am doing wrong
Back to top
View user's profile Send private message
gpraxi
PostPosted: Tue Jun 17, 2014 10:44 pm    Post subject: Reply with quote

Newbie

Joined: 17 Jun 2014
Posts: 3

Comarision for message data for Input/Output Queue:

UTF encoding ( &#nnn; ) is replaced by the 1 byte actual value ( Ñ )
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jun 18, 2014 4:48 am    Post subject: Reply with quote

Grand High Poobah

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

gpraxi wrote:
Comarision for message data for Input/Output Queue:

UTF encoding ( &#nnn; ) is replaced by the 1 byte actual value ( Ñ )


As as my worthy associate says, go back to whoever's generating the response and get them to fix it.
_________________
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 » I am getting malformed xml for "encoding=" in WebS
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.