SOAP Basic authentication is not working

it seems that the basic auth is not sending

I used fiddler to sniff the call and I don’t see it so I receive a 401 error code from my WS.

version 5.2.0

thanks

Could you paste the uri and authentication in use?

not sure I understand, you want the url formatting ? thanks

I am trying to debug to figure out what could be the problem. So it would be helpful if I could re-produce the case with acutal URL of the call and the expected authentication.

Well in fact, all headers I add are just simply ignored. When I’m intercepting the call using fiddle, I don’t see any of the headers shown below.

2018-01-22 08-48-09.png

Hi Christian ,

Can I ask how do you insert that Authorization value? It should have either ‘=’ or ‘==’ at the end of this value in case you use your Basic Authorization generation.

Please try using that ‘Update to HTTP Header’ again to add Authorization for this request

Regards

Screen Shot 2018-01-23 at 13.59.26.png

Screen Shot 2018-01-23 at 13.59.29.png

Screen Shot 2018-01-23 at 14.03.25.png

I did a test with test/test

no ==

see

2018-01-23 12-25-34.png

2018-01-23 12-25-58.png

so any idea ? thank you

I can’t go any further with my api testing evaluation …

Hi there,

I’m currently trying it and will reply you soon.

Do you have a sample from your side that I can try?

Sample ? our api are not accesible from the internet, what I can do exactly ?

Hi Christian,

I see. I am looking for some public APIs and will reply to you soon as soon as possible.

in fact no headers are sent, is there any log I can active to see what it is doing ? thanks

is there a way to have the /config/.metadata/.log more verbose ?? all I see is this below. I’d like to help you more, I’m good technically

thanks

java.io.IOException: Server returned HTTP response code: 401 for URL: https://…
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at com.kms.katalon.core.webservice.common.SoapClient.send(SoapClient.java:165)
at com.kms.katalon.controller.WebServiceController.sendRequest(WebServiceController.java:36)
at com.kms.katalon.composer.webservice.parts.SoapServicePart$2$1$1.run(SoapServicePart.java:140)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:165)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:369)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:481)

any idea guys ?

hello ? :slight_smile:

any news on this guys ? thank you

Hi everyone , i am also facing the same issue while it works with soapui . Did anyone get this working?

Premdutt Gaur

anyone has any suggestion ?
this is first day of use and got stuck on basic functionality.
Does anyone know if Katalon team looks these question on this forum?

thank you
Premdutt gaur