on 01-16-2012 11:06 AM
Hi
can you help? I'm getting the following error while trying to use the JDBC adaptor as a receiver
FATAL ERROR document format: structure 'Statement', key element 'UPRN' contains no values
I'm trying to do a SELECT
The message format that I'm sending is
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:mt_read_llpg_xml_backend xmlns:ns0="URN:SCC:PropertyAddress:1.0">
- <Statement>
- <dbTableName action="SELECT">
<table>LLPG_ALL</table>
</dbTableName>
- <access>
<UPRN />
<USRN />
<PAO_Start_Number />
<SAO_Start_Number />
<Street_Descriptor />
<Locality_Name />
<Town_Name />
<PostCode />
<WardOrParish />
<Parish_Code />
<X_Coordinate />
<Y_Coordinate />
</access>
- <key>
<UPRN compareOperation="EQ">45083411</UPRN>
</key>
</Statement>
</ns0:mt_read_llpg_xml_backend>
hi
thanks for the quick replies
michael,
I've added in the logSQLStatement = true
where can I find the audit log
Supriya,
the UPRN is being populated in SXMB_MONI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for all your help
I removed the mandatory key, from the processing tab on the JDBC communication channel
The audit log then showed that the SQL being formed was SELECT FROM LLPG_ALL
I then adjusted the data type structure used to build the sql
so that my access and key nodes were at the same level of the table element
The data was picked up correctly after this
thanks again
Good morning all, I was very interested to find you post related to LLPG. We are at the very early stages of scoping contact data validation using the LLPG and would appreciate any information, recommendations and knowledge you are able to share with us.
Thank you in advance.
Jen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you check in SXMB_MONI if you are getting any value for the field UPRN?
-Supriya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
With the error description looks like UPRN is a mandatory field at the DB end. Please check that.
regards,
Younus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can set logSQLStatement to true in "advanced mode" to see the select statement in audit log
this will tell you where the error is
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.