Skip to Content
0
Former Member
Feb 09, 2012 at 10:05 AM

SAP PI 7.3 : Error during validation

774 Views

Hello Everyone,

I have an error during the validation, and I don't now where is the problem.

The error is :

http://sap.com/xi/XI/Message/30"

xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="XML_VALIDATION_INB">CX_XMS_SYSERR_VALIDATION</SAP:Code>

<SAP:P1>com.sap.aii.utilxi.xmlvalidation.impl.XMLValidationException: XML Validation for payload with root element

name Orders , target namespace Failed!Errors Encountered During Parsing 1.cvc-elt.1: Cannot find the

declaration of element 'Orders'.</SAP:P1>

<SAP:P2>XML Validation for payload with root element name Orders , target namespace Failed!Errors Encountered

During Parsing 1.cvc-elt.1: Cannot find the declaration of element 'Orders'.</SAP:P2>

<SAP:P3>Schema Not Available in Cache, try to validation with file system schemas. Validation With File System

schemas also Failed. XML Validation for payload with root element name Orders , target namespace

Failed!Errors Encountered During Parsing 1.cvc-elt.1: Cannot find the declaration of element 'Orders'.

</SAP:P3>

<SAP:P4/>

<SAP:AdditionalText>not used at the moment.</SAP:AdditionalText>

<SAP:Stack>System error occurred during XML validation</SAP:Stack>

</SAP:Error>

The XSD File for the validation is the following

<?xml version="1.0" encoding="UTF-8"?>

http://site.be/Commandes" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns=" http://site.be/Commandes">

<xsd:element name="Orders" type="Orders"/>

<xsd:complexType name="Orders">

<xsd:annotation>

<xsd:documentation xml:lang="EN">DT_Orders</xsd:documentation>

</xsd:annotation>

<xsd:sequence>

<xsd:element name="ligne" maxOccurs="unbounded">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="Field1" type="xsd:string"/>

<xsd:element name="Field2" type="xsd:string"/>

<xsd:element name="Field3" type="xsd:string"/>

<xsd:element name="Field4" type="xsd:string"/>

<xsd:element name="Field5" type="xsd:string"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:schema>

Can someone give me some input to help me to resolve this problem ?

Thanks a lot

JC