Parse Error


#1

When I try to send a request to a SOAP web service, I am facing this error:

javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing ‘https://apitest.mptsturkey.com/ws/ininal/cardws/IninalCardWS.asmx’.: 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: https://apitest.mptsturkey.com/ws/ininal/cardws/IninalCardWS.asmx; 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

KS loaded WSDL successfully, but it fails when sending the request… When I look at the request, it looks correct.