Unable to run the webservice request project for restful services

Hi there,

That error message ‘org.xml.sax.SAXParseException: Content is not allowed in prolog’ indicates you need to check the content of WSDL service, it’s invalid. Please double check that WSDL content to make sure it’s valie:

First check the file path of schema.xsd and file.xml.
The encoding in your XML and XSD (or DTD) should be same.
XML file header: <?xml version='1.0' encoding='utf-8'?>
XSD file header: <?xml version='1.0' encoding='utf-8'?>
if anything comes before the XML document type declaration.i.e: hello<?xml version='1.0' encoding='utf-16'?>