Parse Error


#1

When I am sending request to the server, I am facing the error below:

javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing ‘’.: org.xml.sax.SAXParseException: Content is not allowed in prolog.

at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

at com.kms.katalon.core.webservice.common.SoapClient.parseWsdl(SoapClient.java:83)

at com.kms.katalon.core.webservice.common.SoapClient.send(SoapClient.java:142)

at com.kms.katalon.controller.WebServiceController.sendRequest(WebServiceController.java:107)

at com.kms.katalon.composer.webservice.parts.SoapServicePart$4.run(SoapServicePart.java:232)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Caused by: org.xml.sax.SAXParseException; systemId: ; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.

at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)

at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)

… 7 more

Can you help me?


#2

Caused by: org.xml.sax.SAXParseException; systemId: ; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.

This implies that the content in the request body is not a well-formed XML. You should check what you sent.