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 output in V6.1

Post new topic  Reply to topic
 XML output in V6.1 « View previous topic :: View next topic » 
Author Message
Scorpio_16
PostPosted: Thu Sep 24, 2009 7:15 am    Post subject: XML output in V6.1 Reply with quote

Apprentice

Joined: 15 Dec 2008
Posts: 25

We are migrating a flow from v5 to V6.1. Message sets are built using the schema provided.
the problem that I have is the output in V6.1 has an additional namespace (xmlns:xsd="http://www.w3.org/2001/XMLSchema" ) where as v5 doesn't has. other than this rest all data exactly matches.
Does anyone know how to get rid of this additional default NS in V6.1 ?

Appreciate your help.

Thanks
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Sep 24, 2009 7:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Why is it a problem that the namespace declaration is (probably correctly) there?
Back to top
View user's profile Send private message
Scorpio_16
PostPosted: Thu Sep 24, 2009 7:57 am    Post subject: Reply with quote

Apprentice

Joined: 15 Dec 2008
Posts: 25

We send the final output xml to thirdparty client which they validate and as a result of this additional namespace their process is failing. They want us to remove this additional namespace. As this is created by broker while sending the xml out, i am quite confused of how to remove this in message flow.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Sep 24, 2009 8:29 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Are you on the latest fix pack?
Back to top
View user's profile Send private message
Scorpio_16
PostPosted: Fri Sep 25, 2009 5:06 am    Post subject: Reply with quote

Apprentice

Joined: 15 Dec 2008
Posts: 25

BROKER - 6.1.0.3
Toolkit - 6.1.0.3
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Sep 25, 2009 6:03 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
as a result of this additional namespace their process is failing
A namespace declaration does not change the meaning of the XML, so it should be completely harmless. What exactly is 'failing'?
Back to top
View user's profile Send private message
Scorpio_16
PostPosted: Fri Sep 25, 2009 6:50 am    Post subject: Reply with quote

Apprentice

Joined: 15 Dec 2008
Posts: 25

Its not failing in middleware. The client to which we send the output xml is not happy with the additional NS. So is there anyway we can get rid of this in middleware ?

Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 25, 2009 7:45 am    Post subject: Reply with quote

Grand High Poobah

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

Scorpio_16 wrote:
So is there anyway we can get rid of this in middleware ?


You might try defining a default namespace. This would remove the explicit namespace from the elements.

Scorpio_16 wrote:
The client to which we send the output xml is not happy with the additional NS.


This is exactly the point we're all making. All the elements in the XML are part of a namespace, so until you find out why this apparently harmless feature is causing your client a problem then it's going to be hard to fix it.

What parser are they using to read the XML? Embedded in what language? What issues exactly are they seeing?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Sep 28, 2009 1:32 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Its not failing in middleware. The client to which we send the output xml is not happy with the additional NS
Yes, I understood that. But we're all very puzzled - the extra xmlns declaration does not change the meaning of the message at all. It does not change the namespace of anything. It is redundant, but it should be harmless.
I just want to be sure that the client has a *real* problem, not an imaginary one.

Quote:
So is there anyway we can get rid of this in middleware ?

Not if you're using the MRM parser. If you use XMLNSC, you can control the output completely. Plus, XMLNSC is the recommended XML parser in v6.1.
There *might* be an iFix available which removes the extra attribute, but I'm not sure. My recommendation would be to use XMLNSC.
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 output in V6.1
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.