Unanswered question

How to authorize two way SSL Authorization in webservices for SOAP request?

Created the testscript using WSDL files. I am getting the error message while replaying the SOAP request:
HTTP/1.1 500 Server Error
Date: Tue, 04 Apr 2017 10:39:06 GMT
Content-Type: text/xml; charset=UTF-8
Content-Length: 645
Server: Jetty(...)

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">;
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Basic Authorization Token can not be found.</faultstring>.........................

In the Server authorization section have given the username and password. But still facing this issue. It has 2 way ssl authorization for webservices. How to implement authorization in this scenario?

Any suggestions or help is highly appreciated.

Emlee R.
Emlee R.

Emlee R.

Level
0
3 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

The error from the server does not seem related to a SSL issue but only to the Basic authentication issue. Have you put your realm in the realm column in the server definition?

Have you checked in the user validation panel in the request sent if you have Basic authentication header?

If not, you could try to manually add it. The syntax is:

Authorization: Basic <Base64value> where <Base64value> is username:password base64 encoded.

For example, with foo:bar as username:password the header should be like this:  Authorization: Basic Zm9vOmJhcg==