on 08-10-2006 9:35 PM
Hi, expert,
I think our JDBC driver is working now. But I got another error says" Error: TransformException error in xml processor class: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)"
I have given the value "insert" to "action". Do I need to define action as an attribute to make it work? If so, how can I do it? I am really new to XI. Thanks!
Marea
Hi,
The error is because of incorrect xml structure going to JDBC adapter
Action is an Attribute in the Reciever JDBC message structure.
Refer thru these -http://help.sap.com/saphelp_nw2004s/helpdata/en/ae/d03341771b4c0de10000000a1550b0/content.htm
the strurcture should look exaclty similar.
Also look into this blog for the datatype and structure-
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tested my mapping in IR Message Mappings and Interface Mappings. It says "Execute succefully". Also I see the values have been posted in result area the same as in the source. I don't know how to test it using SXMB_MONI.
When I was testing my scenario, I used FTP to send my xml message. The message is like this
- <ns1:DATA_FILESENDER xmlns:ns1="http://XI/MYSAMPLE">
<EMPID>1</EMPID>
<EMPNAME>A</EMPNAME>
<EMPAGE>4</EMPAGE>
<FLAG>Y</FLAG>
</ns1:DATA_FILESENDER>
Please help again. Thanks.
Marea
I need mapped data with structure i.e
with other parts of the target strcuture i.e table name etc
<EMPID>1</EMPID>
<EMPNAME>A</EMPNAME>
<EMPAGE>4</EMPAGE>
<FLAG>Y</FLAG>
Anyway the problem looks like your table name is not mentioned correctly ? Is your Table name is ZJDBC_MY ? if so your structure should contain like this-
DATA_JDBCRECEIVER
.STATEMENTNAME
.<b>ZJDBC_MY</b>
.action(VALUE INSERT)
.TABLE (VALUE ZJDBC_MY)
.access
.EMPID
.EMPNAME
.EMPAGE
This is the reason , i told you to check the blog mentioned in my first reply. check it again..
Regards,
Moorthy
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.