problem about loading webservice function form wsdl. I realize that the xml has xsd in schema so it cannot be load in katalon tool. The SOAP UI can load and run without any problem. Anyone have any idea for this case?


#1

problem about loading webservice function form wsdl. I realize that the xml has xsd in schema so it cannot be load in katalon tool. The SOAP UI can load and run without any problem. Anyone have any idea for this case?

at org.javalite.http.Request.getInputStream(Request.java:89)
at com.kms.katalon.composer.webservice.util.CustomWSDLReader.parseSchema(CustomWSDLReader.java:419)
at com.kms.katalon.composer.webservice.util.CustomWSDLReader.parseSchema(CustomWSDLReader.java:297)
at com.kms.katalon.composer.webservice.util.CustomWSDLReader.parseTypes(CustomWSDLReader.java:271)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.kms.katalon.composer.webservice.util.WSDLHelper.getDefinition(WSDLHelper.java:128)
at com.kms.katalon.composer.webservice.util.WSDLHelper.getService(WSDLHelper.java:139)
at com.kms.katalon.composer.webservice.util.WSDLHelper.getPorts(WSDLHelper.java:147)
at com.kms.katalon.composer.webservice.util.WSDLHelper.getPortMap(WSDLHelper.java:250)
at com.kms.katalon.composer.webservice.util.WSDLHelper.getBindingOperationsByRequestMethod(WSDLHelper.java:194)
at com.kms.katalon.composer.webservice.util.WSDLHelper.getOperationsByRequestMethod(WSDLHelper.java:189)
at com.kms.katalon.composer.webservice.util.WSDLHelper.getOperationNamesByRequestMethod(WSDLHelper.java:183)
at com.kms.katalon.composer.webservice.parts.SoapServicePart$3$1.run(SoapServicePart.java:155)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL:


#2

I had similar problems. i had to create a local copy of the wsdl and upload in katalon


#3

I had the same issue too. Is there any way to solve this issue?

Please note that 6.1.1 works fine but later versions are not. ( I am mentioning developer @duyluong here, may have some ideas)

In the wsdl file there is schema location tag as shown below.

schemaLocation="…/xsd/SOA.xsd"

Somehow it appends URL with schema location

URL is http://172.30.10.32:8181/TariffInq/TariffInq?wsdl

com.kms.katalon.core.webservice.exception.WebServiceException: java.lang.RuntimeException: java.io.FileNotFoundException: http://172.30.10.32:8181/TariffInq/TariffInq?wsdl/../xsd/SOA.xsd

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

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

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

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

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

Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: http://172.30.10.32:8181/TariffInq/TariffInq?wsdl/../xsd/SOA.xsd

at com.kms.katalon.core.webservice.common.SoapClient$CustomWSDLLocator.getImportInputSource(SoapClient.java:293)

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

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

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

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

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

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

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

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

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

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

… 4 more

Caused by: java.io.FileNotFoundException: http://172.30.10.32:8181/TariffInq/TariffInq?wsdl/../xsd/SOA.xsd

at com.kms.katalon.core.webservice.common.SoapClient$CustomWSDLLocator.load(SoapClient.java:320)

at com.kms.katalon.core.webservice.common.SoapClient$CustomWSDLLocator.getImportInputSource(SoapClient.java:290)

… 14 more


#4

Hi @mtekbir,
We will take a look into this issue and get you noticed soon.


#5

Hi @huynguyen
Is there any progress regarding the issue
Kindly Regards