The 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' element is not declared
XML / XSL
1
Posts
1
Posters
0
Views
1
Watching
-
Hi All, I am sending a SOAP based XML file to a web service.For that I have to validate this XML file to it's schema(XSD) file. But I am getting error like
The 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' element is not declared
However there is a envelop in the XML file.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
soap:Header
//Some nodes
</soap:Header>
soap:Body
//Some nodes
</soap:Body>
</soap:Envelope>Please assist me about this issue. Regards :)