If the ‘nillable’ attribute is false in the schema, the ‘xsi:nil’ attribute must not be present in the instance

If you recieve an error like this:

Invalid document schema. The following error was returned: If the ‘nillable’ attribute is false in the schema, the ‘xsi:nil’ attribute must not be present in the instance.

when submitting an AIF message, the most probably cause is that a field is required according to the datapolicies whilst You are sending in a null value. The solution is obviously to remove the “required” option in the datapolicies or to send in a value other than null:-)

Advertisements

2 thoughts on “If the ‘nillable’ attribute is false in the schema, the ‘xsi:nil’ attribute must not be present in the instance

  1. Viv-Media.Com

    Hello there! I could have sworn I’ve been to your blog before but after going through a few of the articles I realized it’s new to me.
    Anyways, I’m definitely happy I found it and I’ll be bookmarking it and
    checking back regularly!

Comments are closed.