Author |
Message
|
zico |
Posted: Mon Nov 20, 2006 9:32 am Post subject: Message generated from Event table using JDBC adapter |
|
|
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 |
|
 |
vennela |
Posted: Mon Nov 20, 2006 9:35 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
What seems to be the problem? |
|
Back to top |
|
 |
vk |
Posted: Mon Nov 20, 2006 10:11 am Post subject: |
|
|
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 |
|
 |
zico |
Posted: Mon Nov 20, 2006 10:31 am Post subject: |
|
|
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 |
|
 |
vk |
Posted: Mon Nov 20, 2006 8:20 pm Post subject: |
|
|
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 |
|
 |
|