Hi,
i created one web service project and added rest service and Soap UI request object repository. When i try to execute the project, it showing a error.
Need help immediately in resolving this. Thanks in Advance.
Regards,
Shobhitha.
Hi,
i created one web service project and added rest service and Soap UI request object repository. When i try to execute the project, it showing a error.
Need help immediately in resolving this. Thanks in Advance.
Regards,
Shobhitha.
Hi,
i just added send request command and gave webservice url as a object which is already saved in the repository. After execution i am getting the below error.
Error: Test Cases/Web Service Test FAILED because (of) Unable to send request (Root cause: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing ‘http://p1c1m1141.vci.att.com:9000/UversePEG?test=yes’.: org.xml.sax.SAXParseException: Content is not allowed in prolog.)
Test Cases/Web Service Test.run:23
Regards,
Shobhitha.
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'?>
Hi there,
What is the error you are facing? Can you show it to me?