cancel
Showing results for 
Search instead for 
Did you mean: 

significance of Document Name in JDBC Sender

nikhil_bose
Active Contributor
0 Kudos

hi folks,

tell me what exactly mean by the Document Name parameter in the JDBC Sender adapter? where does that plays?

thanks

nikhil bos

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

> tell me what exactly mean by the Document Name

> parameter in the JDBC Sender adapter? where does

> that plays?

If you created MT_JDBC_Sender (for Example)

Go to IR and Test your mapping..then take the input message from there and paste it to the Notepad...you will find the Root Element will be

<<b>MT_Sender_JDBC</b> >

<row>

<>

</MT_Sender_JDBC >

now when you configured the JDBC adapter then by defalut the Document Name is <b>resultset</b>

so XML from From JDBC sender adapter will come in this format.:

<<b>resultset</b> >

<row>

<>

</<b>resultset</b> >

So coming XML does not match with the structure that u define..so finally need to overide the name of the defult document namespace so that it will not fail at runtime:-)

Thanks

Farooq.

Former Member

Answers (3)

Answers (3)

JoelTrinidade
Active Contributor
0 Kudos

Hi nikhil,

Regarding to your question the purpose of giving a document name is that the document name is inserted in the message as the main XML tag. If you do not insert any value then resultset is taken as a default value.

hope i have solved your problem nikhil.

points rewarded will be appreciated

God bless and tc

Joel Anthony Trinidade

Former Member
0 Kudos

Hi Nikhil,

Document Name parameter is used to fill the message type name of the outbound interface while configuring the sender JDBC Adapter.

For a detailed overview please visit the blog:

/people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter

Regards,

Shibani

*Award with points if helpful*

GabrielSagaya
Active Contributor
0 Kudos

Document name :JDBCSenderRequest ( this is the name of Your message type in ID )

In Document name, The default value 'resultset' is to be replaced by your Message Type name

Document namespace : namespace for your scenario in ID