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 » Eliminating Namespace

Post new topic  Reply to topic
 Eliminating Namespace « View previous topic :: View next topic » 
Author Message
schroederms
PostPosted: Fri Sep 03, 2010 10:39 am    Post subject: Eliminating Namespace Reply with quote

Disciple

Joined: 21 Jul 2003
Posts: 169
Location: IA

We currently use iWAY nodes to access SAP within broker flows. The newer versions of these nodes will generate the XML response from SAP with NameSpaces.

I want to eliminate the Namespaces so to make it transparent to our clients that are already calling these services to access SAP. Is there a simple way to eliminate NameSpace in the Output XML?

Thanks
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Sep 03, 2010 11:49 am    Post subject: Reply with quote

Jedi Council

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

There is at least one ESQL Code snippet on this forum that does exactly that.
i.e. remove a namespace from an XML Document.

However, my guess is that you want to change the SAP namespace to one of your own thus hiding the SAP origin of the data.

You can traverse the XML copying from the InputRoot to the OutputRoot changing the namespace at the same time.
_________________
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
harish_td
PostPosted: Tue Sep 07, 2010 3:41 am    Post subject: Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

Have a look at the XMLNSC Namespaces sample within the WMB 7 Toolkit
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Eliminating Namespace
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.