Quantcast
Channel: Metro and JAXB Related Items on Java.net
Viewing all articles
Browse latest Browse all 171

Couldn't validate reference with URI #str_

$
0
0

Hello!
I'm in troubles with web service client. I get error while receiving response in checking signature. I'm using Netbeans 7.2, Metro 2.2.1-1 and WLS 10.3. The following error

SEVERE: WSS1721: Validation of Reference with URI #str_BTOeTP2rrfu4HdJ1 failed
Exception in thread "main" javax.xml.ws.WebServiceException: com.sun.xml.wss.impl.WssSoapFaultException: Invalid Security Header

seems to be related to response fragment below

               <dsig:Reference URI="#str_BTOeTP2rrfu4HdJ1">
                  <dsig:Transforms>
                     <dsig:Transform Algorithm="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#STR-Transform">
                        <wsse:TransformationParameters>
                           <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
                        </wsse:TransformationParameters>
                     </dsig:Transform>
                  </dsig:Transforms>
                  <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
                  <dsig:DigestValue>OTkKoTvmvVDPUkr5oyCPI3er+M0=</dsig:DigestValue>
               </dsig:Reference>

I have a working client written in JDeveloper and I think my problem is related to Metro.

My question is: could Metro any problems with response from WLS containing such expanded fragment about reference to SecurityTokenReference? How can I resolve this?

WLS handles correctly request and send response back.


Viewing all articles
Browse latest Browse all 171

Trending Articles