I get this response from Ariba when trying to send a cXML invoice. “Status code=”406“ text=”Not Acceptable“>Invalid Document:Attribute “preferredLang” must be declared for element type “Email”. at line 1, column 1738″ Not sure what the mean by must be declared. Declared where? Here is the portion of the cXML they are speaking about.
<InvoiceDetailLineShipping>
– <InvoiceDetailShipping>
– <Contact addressID=”PAFor001“ role=”shipTo“>
<Name xml:lang=”en-US“>FORT WASHINGTON- 1100 VIRGINIA DRIVE</Name>
– <PostalAddress name=”default“>
<DeliverTo>RUSS STEBBINS</DeliverTo>
<Street>1100 VIRGINIA DRIVE</Street>
<City>FORT WASHINGTON</City>
<PostalCode>19034-3200</PostalCode>
<Country isoCountryCode=”US“>US</Country>
</PostalAddress>
</Contact>
</InvoiceDetailShipping>
</InvoiceDetailLineShipping>