on 07-08-2007 7:03 PM
Hi I am getting an Error when i am making a Synch call to JDBC using MS Access.
<b>Result:
<SAP:Error>
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code>PARSING.GENERAL</SAP:Code>
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: ERROR:Processing request: Error when executing statement for table/stored proc. 'Customer': java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.</SAP:AdditionalText>
</SAP:Error></b>
Can any one tell me Where I am doing mistake due to which I got this Error.
Thanks
Farooq.
Hi,
try: logSQLStatement
from SAP note: 801367
to find out the real sql stametemt
you can post it directly on DB and check why this error happend
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>>>>Additional Parameters, but I didnt get any useful tips from there
? not possible
if you set this parameter you see the real sql statement in messagingsystem
you will see <b>ALL</b> <b>the errors</b> that way
do it and start your message flow and you will see everything
(if can be ither wrong DT or not fully filled in mapping)
but logsqlstatement will show you everything
Regards,
michal
I am using :
<b>For request....</b>
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="https:sap.com/XI/WebService2JDBC" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="https:sap.com/XI/WebService2JDBC">
<xsd:element name="MT_JDCB_Request" type="DT_JDBC_Request" />
<xsd:complexType name="DT_JDBC_Request">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">51dd0f702d1411dcc1bb000c2967ead8</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Statement">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">dd3162a02cbb11dc8206cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="tableName">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">dd3162a12cbb11dcc087cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="table" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">dd3162a22cbb11dccd71cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="access">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">dd3162a32cbb11dc8f11cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="CustomerName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">2670e9402cbc11dc8497cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="CutomerID" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">2670e9412cbc11dc9efecbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="Balance" type="xsd:float">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">2670e9422cbc11dcc5bfcbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="AccountType" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">2670e9432cbc11dca015cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Key">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">7db722a02cbc11dcc973cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="CustomerID" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">7db722a12cbc11dcb438cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="action" type="xsd:string" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">dd3162a52cbb11dccdcccbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<b>Response</b>
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="https:sap.com/XI/WebService2JDBC" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="https:sap.com/XI/WebService2JDBC">
<xsd:element name="MT_JDBC_Request_response" type="DT_JDBC_Request_response" />
<xsd:complexType name="DT_JDBC_Request_response">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">c4f45e102d1311dca561000c2967ead8</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Statement_response">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">dd3162a02cbb11dc8206cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="row" minOccurs="0">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">dd3162a12cbb11dcc087cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="CustomerName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">025d1cd02cbd11dcb35dcbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="CustomerID" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">025d1cd12cbd11dccfb7cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="Balance" type="xsd:float">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">025d1cd22cbd11dc95bacbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="Address" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">025d1cd32cbd11dc9d73cbb4c0a84b01</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
Thanks
Farooq
Message in MONI
<b> <?xml version="1.0" encoding="UTF-8" ?>
- <ns:MT_JDCB_Request xmlns:ns="https:sap.com/XI/WebService2JDBC">
- <Statement>
- <tableName action="SELECT">
<table>Customer</table>
- <access>
<CustomerName />
<CutomerID />
<Balance />
<AccountType />
</access>
- <Key>
<CustomerID>1001</CustomerID>
</Key>
</tableName>
</Statement>
</ns:MT_JDCB_Request></b>
Hi,
>>>>Michal I did that but still same log in MONI..here are the steps :
OK I get the issue now
not in MONI but in messaging system (like I mentioned eariler)
this is the URL where you can find it:
http://<host>:<port>/MessagingSystem/monitor/monitor.jsp
do you see it now ?
Regards,
michal
Hey Raj Good catch, that Error gone, but When I am sending the message from
HTTP client I am getting blank response instead of some entries, Basically
same thing happen with me for HTTP to RFC also I am getting blank message.
<b>Result:
<?xml version="1.0" encoding="UTF-8"?>
<ns:MT_JDBC_Request_response xmlns:ns="https:sap.com/XI/WebService2JDBC"><Statement_response></Statement_response></ns:MT_JDBC_Request_response></b>
Raj, I am making Sych SOAP to JDBC. But I am using HTTP client to send the message IE directly.
Now I am not seeing message in MONI (Using QoS = BE in HTTP client), also I am getting blank message from XI as a response.
Could you please tell me why its so?
Once SOAP2JDBC works I will give u max points for the right answer
Thanks
Farooq.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.