com.sun.xml.wss.XWSSecurityException: Error occurred while resolving Direct Reference at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processDirectReference(SecurityTokenProcessor.java:160) at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:86) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:108) at com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:93) at com.sun.xml.ws.security.opt.impl.incoming.Signature.process(Signature.java:245) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:366) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:211) at com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:176) at com.sun.xml.wss.jaxws.impl.SecurityPipeBase.verifyInboundMessage(SecurityPipeBase.java:455) at com.sun.xml.wss.jaxws.impl.SecurityServerPipe.process(SecurityServerPipe.java:175) at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)


Solutions on the web1

Solution icon of java
via Java.net JIRA by shyam_rao, 1 year ago
Error occurred while resolving Direct Reference at com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processDirectReference(SecurityTokenProcessor.java:160) at

Stack trace

com.sun.xml.wss.XWSSecurityException: Error occurred while resolving Direct
Reference
    at
com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.processDirectReference(SecurityTokenProcessor.java:160)
    at
com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityTokenProcessor.resolveReference(SecurityTokenProcessor.java:86)
    at
com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.processKeyInfo(KeyInfoProcessor.java:108)
    at
com.sun.xml.ws.security.opt.impl.incoming.processor.KeyInfoProcessor.getKey(KeyInfoProcessor.java:93)
    at
com.sun.xml.ws.security.opt.impl.incoming.Signature.process(Signature.java:245)
    at
com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.handleSecurityHeader(SecurityRecipient.java:366)
    at
com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.cacheHeaders(SecurityRecipient.java:211)
    at
com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.validateMessage(SecurityRecipient.java:176)
    at
com.sun.xml.wss.jaxws.impl.SecurityPipeBase.verifyInboundMessage(SecurityPipeBase.java:455)
    at
com.sun.xml.wss.jaxws.impl.SecurityServerPipe.process(SecurityServerPipe.java:175)
    at
com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)
	at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:541)
	at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:497)
	at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:392)
	at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:207)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.