This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Operations
- :
- FlexNet Operations Knowledge Base
- :
- Web services fail to validate XML - Schema Validation Error: cvc-elt.1
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Web services fail to validate XML - Schema Validation Error: cvc-elt.1
Web services fail to validate XML - Schema Validation Error: cvc-elt.1
Summary
Web services fail to validate XML - Schema Validation Error: cvc-elt.1Symptoms
SOAP requests to the Flexnet Operations web services fail with the error message:Schema Validation Error: cvc-elt.1
For example, the following SOAP request results in the error:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:oper="urn:com.macrovision:flexnet/operations">
<soapenv:Header/>
<soapenv:Body>
<oper:getUserPermissionsRequest>
<oper:userName>admin</oper:userName>
</oper:getUserPermissionsRequest>
</soapenv:Body>
</soapenv:Envelope>
Results in the following error:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<getUserPermissionsResponse xmlns="urn:com.macrovision:flexnet/operations">
<statusInfo>
<status>FAILURE</status>
<reason>Schema Validation Error: cvc-elt.1: Cannot find the declaration of element 'ns1:getUserPermissionsRequest'.</reason>
</statusInfo>
</getUserPermissionsResponse>
</soapenv:Body>
</soapenv:Envelope>
Cause
The cause of this error seems to be due to the validation that is done on the Axis level as well as implicitly by FlexNet Operations in the 2016 R3 release. Previously if webservices validation was enabled in FNO then there would be no error.Resolution
To resolve this issue, untick the web service validation option under configure > System Configuration > Validators.
No ratings