WS-Security Service SOAP
Trying to enable WS-Security in Rule-Service-SOAP and testing via SOAPUI, not sure what is the issue here
Passing the below header via SOAP UI in the soap envelope
<soapenv:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:UsernameToken wsu:Id="UsernameToken-676D7DF24681512F9E16316474247873"> <wsse:Username>user</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header>
Trying to enable WS-Security in Rule-Service-SOAP and testing via SOAPUI, not sure what is the issue here
Passing the below header via SOAP UI in the soap envelope
<soapenv:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:UsernameToken wsu:Id="UsernameToken-676D7DF24681512F9E16316474247873"> <wsse:Username>user</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header>
error message i am seeing <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:soapenc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <soap:Fault> <soap:Code> <soap:Value>wsse:FailedAuthentication</soap:Value> </soap:Code> <soap:Reason> <soap:Text xml:lang="en-US">javax.xml.soap.SOAPException: InputStream does not represent a valid SOAP 1.2 Message</soap:Text> </soap:Reason> </soap:Fault> </soap:Body> </soap:Envelope>
Anything specific pega is looking for SOAP 1.2 version ?