on 05-11-2007 7:15 AM
Hi all,
I am working on an HTTP-JDBC scenario (stored procedure). My scenario throws an error at Call Adapter phase. The error description is as follows:
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'spSAPXIDemo' (structure 'Statement'): java.lang.IllegalArgumentException.
Could anyone please help me in resolving the issue?
Thanks
Chilanka
><i>java.lang.IllegalArgumentException.</i>
One of the arguments passed to the Stored Procedure is incorrect.
What is the message going out of XI to the Stored Procedure?
1. Have you accoaited every element with the attribute type?
2. Have you give theattribuite isInput / isOutput as needed.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh,
I have defined the attribute isInput too. Still getting the same error message.
Kindly check the message going out of XI to stored procedure.
<ns1:JDBC_REQ_MT xmlns:ns1="http://POC">
- <Statement>
- <Storedprocedure action="EXECUTE">
<table>spSAPXIDemo</table>
<SONum isInput="true" type="CHAR">000000930181</SONum>
<Projectcode isInput="true" type="CHAR">SAPXI</Projectcode>
<Validfrom isInput="true" type="DATE">01012006</Validfrom>
<Validto isInput="true" type="DATE">01012007</Validto>
</Storedprocedure>
</Statement>
</ns1:JDBC_REQ_MT>
Thanks
Chilanka
Hi,
The isInput = should have a value 1 and not true.
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
Also, make sure that the date parameters that a date in a valid format, i.e, the date fromat should be as per the format expected by the database.
Regards
Bhavesh
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.