19 Mayıs 2015 Salı

The SecurityTokenReference was required but not found

İmzaladığınız soap mesajını(request), web servise gönderdiğinizde aşağıda ki soap mesajı(response) dönüyorsa ;
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">ns1:InvalidSecurity</faultcode>
<faultstring>An error was discovered processing the &lt;wsse:Security&gt; header (The SecurityTokenReference was required but not found)</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Servise gönderdiğiniz soap "Envelope" elementi içersinde ki ;

Header -> Signature -> KeyInfo -> içersinde SecurityTokenReference elementi yoktur veya ismi yanlış yazılmıştır.



Hiç yorum yok:

Yorum Gönder