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 » Namespace in the XML output message of a Mapping Node

Post new topic  Reply to topic
 Namespace in the XML output message of a Mapping Node « View previous topic :: View next topic » 
Author Message
nelson
PostPosted: Tue Sep 24, 2013 9:01 am    Post subject: Namespace in the XML output message of a Mapping Node Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

I'm mapping from DFDL to XMLNSC domain. The XML message use a namespace for its tags (it is defined in the XDS). Does the mapping node add the namespace of each tag based on the XSDs? I'm very confused because I have developed another flow and the mapping node adds the namespaces of each tag automatically (more than one namespace). In a new flow, the XML output message contains no namespaces. I'm using the same XSD's.

I have read in this forum that you must add the namespace through a Compute Node.

Any advice on this?

Using WMB 8

Thanks in advance.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Sep 25, 2013 12:39 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

The Mapping node should create the output XML with the correct namespaces. However...people often get confused by XML namespaces. Please post the XML that your flow is generating ( please use [c o d e] tags ) and highlight what you think is wrong with it.
Quote:
I have read in this forum that you must add the namespace through a Compute Node.
Don't believe everything that you read. There are at least 5 different nodes that can transform a message, and all of them allow you to modify namespaces.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
nelson
PostPosted: Fri Sep 27, 2013 2:02 pm    Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

kimbert,

I have discovered that in fact the mapping node generates the namespaces, but they're not displayed while debugging, in the variables tab (the XMLNSC tree seems to have no namespaces)...
Back to top
View user's profile Send private message
dogorsy
PostPosted: Fri Sep 27, 2013 2:07 pm    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

nelson wrote:
kimbert,

I have discovered that in fact the mapping node generates the namespaces, but they're not displayed while debugging, in the variables tab (the XMLNSC tree seems to have no namespaces)...

There are many ways of debugging, so your statement is not completely accurate.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sat Sep 28, 2013 9:31 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

That sounds unlikely. If true, it would be a fairly serious defect in the debugger. Can you provide any proof?
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Sep 30, 2013 12:08 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
the mapping node generates the namespaces, but they're not displayed while debugging
Apparently this is a known issue.
You probably know this already, but most experienced message flow developers use the debugger for simple scenarios and user trace + Trace nodes when the debugger cannot give the required info.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
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 » Namespace in the XML output message of a Mapping Node
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.