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 Interchange Server + Adapters » Message generated from Event table using JDBC adapter

Post new topic  Reply to topic
 Message generated from Event table using JDBC adapter « View previous topic :: View next topic » 
Author Message
zico
PostPosted: Mon Nov 20, 2006 9:32 am    Post subject: Message generated from Event table using JDBC adapter Reply with quote

Novice

Joined: 22 Jun 2005
Posts: 21

hello

I have a business object called SAVINGS_ACC and data will be populated from Event table. When JDBC adapter pools from the table xml is generated with the root tag :

<SAVINGS_ACC:SAVINGS_ACC>
....................

</SAVINGS_ACC:SAVINGS_ACC>

What setting is required to get the root tag as <SAVINGS_ACC>

I don't want the colon ( in tag name.

Any help will be appreciated. Thanks.

Zico.
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Nov 20, 2006 9:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

What seems to be the problem?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vk
PostPosted: Mon Nov 20, 2006 10:11 am    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

The SAVINGS_ACC: is the namespace prefix. Adapter will always send and accept XML messages with the namespace prefix.

The property XMLNameSpacePrefix in the connector configuraion file determines what the prefix will be. If this is set to long, then the prefix will be the BO name itself. If this is set to short, the connector will put namespace prefix as Q1.

Regards,
VK.
Back to top
View user's profile Send private message
zico
PostPosted: Mon Nov 20, 2006 10:31 am    Post subject: Reply with quote

Novice

Joined: 22 Jun 2005
Posts: 21

So the bottomline is namespce always be added. And no way it can be removed from the tag. Please confirm
Back to top
View user's profile Send private message
vk
PostPosted: Mon Nov 20, 2006 8:20 pm    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

Quote:
Adapter will always send and accept XML messages with the namespace prefix


Yes. That is how the adapter framework handles messages.

Regards,
VK.
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 Interchange Server + Adapters » Message generated from Event table using JDBC adapter
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.