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 » WMB - Namespace minor change

Post new topic  Reply to topic
 WMB - Namespace minor change « View previous topic :: View next topic » 
Author Message
br_other
PostPosted: Tue Mar 23, 2010 2:45 am    Post subject: WMB - Namespace minor change Reply with quote

Newbie

Joined: 16 Mar 2010
Posts: 7

Hello everyone.

As I already wrote in my previous post, I'm new in WBM, therefore I'll appreciate if you give ma hand regarding the issue I have.

My message contain the following contain data which produces the following XML:

Code:
<NS1:MyElement xmlns:NS1="http://tempuri.org/">
  <Header>
    ...
  </Header>
  <Request>
    ...
  </Request>
</NS1:MyElement>


The issue is that on the other side of the queue where I have to post the message is listening application which expecting exclusively the following format:

Code:
<MyElement xmlns="http://tempuri.org/">
  <Header>
    ...
  </Header>
  <Request>
    ...
  </Request>
</MyElement>


The dump looks like:

Code:
  (0x01000000):XMLNSC     = ( ['xmlnsc' : 0x10824fa58]
    (0x01000000)http://tempuri.org/:MyElement = ( ['xmlnsc' : 0x108250a78]
      (0x01000000):Header  = (
   ....
      )
      (0x01000000):Request = (
   ....
        )
      )
    )


Can you please tell me, is there any possibility to copy or modify this part, so I can get the result I need.

Thank you in advance!
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Mar 23, 2010 3:44 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

The infocenter or the search button are worth a try. You'll find the answer here: http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ac67191_.htm
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 23, 2010 4:05 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

More specifically, example 2 at http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac67194_.htm
Back to top
View user's profile Send private message
br_other
PostPosted: Tue Mar 23, 2010 6:03 am    Post subject: Reply with quote

Newbie

Joined: 16 Mar 2010
Posts: 7

Thank you for the swift response guys.

That solve the issue.
Also I did adapt the code of robgfrk to change the ns of the fileds as well.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 23, 2010 6:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

br_other wrote:
Also I did adapt the code of robgfrk to change the ns of the fileds as well.


That shouldn't have been necessary and may have changed the meaning of your document.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Mar 24, 2010 1:42 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

I agree with mqjeff. If your original question was accurate, then you have probably broken something.
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 » WMB - Namespace minor change
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.