dkprojektai 1 Posted December 18, 2022 Hello all, need some help. Have SAOP service which use security policy and I don't know how to go thru. The message from server is "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}" The correct header looks like: <soapenv:Header><wsse:Security soapenv:mustUnderstand="1" 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-xxxxxxxxxxxxxxxxxxxx"><wsse:Username>xxxxxxxxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">xxxxxxxxxxx</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">xxxxxxxxxxxx</wsse:Nonce><wsu:Created>2022-12-18T09:49:23.854Z</wsu:Created></wsse:UsernameToken></wsse:Security></soapenv:Header> Does anybody have an working example ? Or any links to study? Thanks in advance. Share this post Link to post
dkprojektai 1 Posted December 18, 2022 WSDL - https://test.keliumokestis.lt/knmmws/KnmmVignetteService001v2?wsdl Share this post Link to post