Unable to send request (Root cause: com.kms.katalon.core.webservice.exception.WebServiceException: java.net.MalformedURLException: unknown protocol: c


#1

hi Team,

I am using the Katalon studio version 6.2.0. when try execute the web services(Soap request) test i m getting the below error in the Send request. I am getting the successful response for the same test in the Katalon studio version 6.1.5.

can you please prorvide the work around fro this issue.

error message:

2019-06-19 10:55:02.549 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to send request (Root cause: com.kms.katalon.core.webservice.exception.WebServiceException: java.net.MalformedURLException: unknown protocol: c
at com.kms.katalon.core.webservice.common.SoapClient.parseWsdl(SoapClient.java:111)
at com.kms.katalon.core.webservice.common.SoapClient.send(SoapClient.java:170)
at com.kms.katalon.core.webservice.keyword.builtin.SendRequestKeyword$_sendRequest_closure1.doCall(SendRequestKeyword.groovy:42)
at com.kms.katalon.core.webservice.keyword.builtin.SendRequestKeyword$_sendRequest_closure1.call(SendRequestKeyword.groovy)
at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:68)
at com.kms.katalon.core.webservice.keyword.builtin.SendRequestKeyword.sendRequest(SendRequestKeyword.groovy:38)
at com.kms.katalon.core.webservice.keyword.builtin.SendRequestKeyword.execute(SendRequestKeyword.groovy:33)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)
at com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords.sendRequest(WSBuiltInKeywords.groovy:40)
at com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords$sendRequest.call(Unknown Source)
at RegisterConsumer.run(RegisterConsumer:121)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestCaseMainPhase(TestSuiteExecutor.java:133)
at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:116)
at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:83)
at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:157)
at com.kms.katalon.core.main.TestCaseMain$startTestSuite$0.call(Unknown Source)
at TempTestSuite1560930897273.run(TempTestSuite1560930897273.groovy:35)
Caused by: java.net.MalformedURLException: unknown protocol: c
at com.kms.katalon.core.webservice.common.SoapClient.parseWsdl(SoapClient.java:95)
at com.kms.katalon.core.webservice.common.SoapClient.send(SoapClient.java:170)
at com.kms.katalon.core.webservice.keyword.builtin.SendRequestKeyword$_sendRequest_closure1.doCall(SendRequestKeyword.groovy:42)
at com.kms.katalon.core.webservice.keyword.builtin.SendRequestKeyword$_sendRequest_closure1.call(SendRequestKeyword.groovy)
at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:68)
at com.kms.katalon.core.webservice.keyword.builtin.SendRequestKeyword.sendRequest(SendRequestKeyword.groovy:38)
at com.kms.katalon.core.webservice.keyword.builtin.SendRequestKeyword.execute(SendRequestKeyword.groovy:33)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)
at com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords.sendRequest(WSBuiltInKeywords.groovy:40)
at com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords$sendRequest.call(Unknown Source)
at Script1557317395256.run(Script1557317395256.groovy:121)
… 13 more


#2

The same happens exactly to me. In 6.2.0 version shows “protocol: c” or “protocol: d” depending on the unit (HDD, USB stick, whatever) where the WSDL file is located.

Finally I decided to use the resource by http, as I could not find a solution.


#3

Hi @jose-lg,
We will take a look into this issue.


#4

I am having this problem as well when referencing the WSDL from my hard drive.
This didn’t happen before and in my project, due to certain limitations of our service, this is the only way I can test SOAP with Katalon.