We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error while reading a single record from stage file in OIC

Accepted answer
29
Views
2
Comments
edited Sep 11, 2020 11:03AM in Integration 2 comments

Content

Hello Everyone,

 

I am getting the below error while reading a file having single record from stage file in OIC. I have checked the schema, it is correct. The same stage read is working fine for multiple records in file. 

------------------------------------------------------------------------------------------------------------------------------------------------------------------

minOccurs not satisfied. minOccurs="1" not satisfied for the node "<element name="Invoice">". Loop terminated with cardinality "0". Insufficient or invalid data. Please correct the NXSD schema. Error while translating message to the mentioned format. Please make sure that the file content conforms to the schema.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is the schema I have used.

 

<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!