Test Soap FAILED because (of) Unable to send request

When sending the soap request, the following error occurred: “Root cause: java.lang.ClassCastException: sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection”

Anyone an idea to solve this issue?

2 Likes

Peter,

Could you provide more information about the request you were sending?

In Katalon we have created a Web Service Request. We send the request to the URL, however in the wsdl another soap:address has been specified. Is there a way to overrule the mentioned soap:address in the wsdl? We already tried to add the following statement in a script “request.setWsdlAddress”, without success. For example we don’t have a problem with this when we are using SOAPUI, but we would like to have it working in Katalon. See also the attached picture with a part of the request and a part of the wsdl.

2018-05-09_11-44-30.jpg

Same error message to me. Have you look for a solution to this? @Trong Bui

Same error message while sending the SOAP request. Any solution for this?

This issue is occuring for the endpoints with “https”

As per @Trong Bui anything with WSDL as endpoint is no longer supported. I wonder what the workaround is as we only have WSDL endpoints. Not correct.

Evan said:

As per @Trong Bui anything with WSDL as endpoint is no longer supported. I wonder what the workaround is as we only have WSDL endpoints.

@6772-Evan
Did you mention about another “Trong Bui”. I did not remember that I had said anything about not supporting WSDL?

Joshua Lawson said:

Same error message to me. Have you look for a solution to this? @Trong Bui

Siva Naga Raju Gajula said:

Same error message while sending the SOAP request. Any solution for this?

Siva Naga Raju Gajula said:

This issue is occuring for the endpoints with “https”

might I see your request?

Trong Bui said:

Evan said:

As per @Trong Bui anything with WSDL as endpoint is no longer supported. I wonder what the workaround is as we only have WSDL endpoints.

@6772-Evan
Did you mention about another “Trong Bui”. I did not remember that I had said anything about not supporting WSDL?

Hi @Trong Bui , apologies I misinterpreted your comment on another thread. I didn’t realise that it was only for a specific WSDL endpoint. Please ignore my comment here.