cancel
Showing results for 
Search instead for 
Did you mean: 

Reciever file - Error

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

you did tell xi in the integration repository that your message will contain more than one item "time_str", did you?

Former Member
0 Kudos

Can you tell me where i tll XI that i have more then one?

Former Member
0 Kudos

You'll have defined a Data Type for your message in the Integration Repository, I imagine. Now, there you can adjust the occurrence of your type. The default is exactly 1, you should change it to 1...unbounded or 0...unbounded. Try if that works!

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

former_member187339
Active Contributor
0 Kudos

Hi Udi,

Are you using File content Conversion in your receiver file adapter? Check the parameters of the receiver file adapter.

Regards

Suraj

Former Member
0 Kudos

Hi Udi,

I think you are trying to write the values as fixed field length. In that case this problem occurs. Just check whether the field length of the field time_str is provided correctly.

Cheers

JK

Former Member
0 Kudos

Hi JK,

you are right as to right them in fixed length

i gave the numebr 100 where it is larger then the actuall length and still i got the problem

what else can go wrong?