on 01-25-2006 1:49 PM
Hi guys,
i get an error in the file adapter
my source XML:
<item>
<time_str>58768000000701000000990000009316</time_str>
<time_str>7876800000070110050208300000</time_str>
<time_str>7876800000070110050300004143</time_str>
<time_str>7876800000070110050409000000</time_str>
</item>
how ever i get an error in the reciever file adpater
- 2006-01-25 15:40:28 GMT+02:00: Error: Message processing failed: Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value ' 7876800000070110050208300000')', probably configuration error in file adapter (XML parser error)'
what could be the source of the problem?
you did tell xi in the integration repository that your message will contain more than one item "time_str", did you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
that's my data type xsd
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="strauss-elite.co.il:HR:hilan_time_mgmt_out" targetNamespace="strauss-elite.co.il:HR:hilan_time_mgmt_out">
<xsd:complexType name="time_mgmt_out_DT">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
8bc07e618dbb11da9be3001321f283bf
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
da811ea088ee11da9289d1e30a07016e
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="time_str" type="xsd:string" maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
da811ea188ee11dabb6ad1e30a07016e
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
i think i did this right
yes, i think, this is right.
Anyway, I still suspect that it has to to something with the occurrences. You see, the error says "more fields found ... than specified", and the error occurs just in the second "time_str" object. Maybe you have to define the occurrences of "time_str" somewhere else, too? What are the "conversion parameters"? I believe, there you might find the reason for the error.
Hi Udi,
Are you using File content Conversion in your receiver file adapter? Check the parameters of the receiver file adapter.
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.