lena92
11 months agoNew Contributor
SOAP Tests aren't running after updating ReadyAPI
Hey guys,
After updating from ReadyAPI 3.43 to 3.49 my SOAP tests no longer work.
I was able to narrow down the problem to the outgoing WSS.
It looks as if the Basic(Bultin) authentication method requires an outgoing WSS, otherwise ws-security policies do not work.
After adding outgoing WSS the tests are working.
Attached is the error message:
HTTP/1.1 500 500
Date: Thu, 30 Nov 2023 14:05:02 GMT
Server: Apache
Strict-Transport-Security: max-age=31536000
Content-Type: text/xml;charset=UTF-8
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Connection: close
Transfer-Encoding: chunked
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>These policy alternatives can not be satisfied:
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SupportingTokens
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}UsernameToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}HashPassword</faultstring></soap:Fault></soap:Body></soap:Envelope>
Why is it required to add an WSS in this version, when it wasn't necessary in version 3.43?
Is there a way to circumvent this WSS requirement?