users@glassfish.java.net

OpenSSO sample StockClient WS not working in Weblogic 10

From: <glassfish_at_javadesktop.org>
Date: Tue, 27 Apr 2010 23:58:37 PDT

Hi,

i have configured Opensso (version 8.0 patch 4) in weblogic 10. I have created one more domain and configured StockService and StockClient provided with openssowssproviders.zip. After calling http://<ipaddress>:<port>/StockClient the login page for opensso is coming, and even I am getting the Stock Quote Client Sample page which asks for Symbol. But after submitting, I am getting all the results as NULL. I can the following error in weblogic console(in which opensso is configured)

WARNING: Actual Digest: mkTwqgDY8OwRDy0Y5GizckIJWEM=
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.identity.wssagents.common.provider.FAMServerAuthModule.validateRequest(FAMServerAuthModule.java:235)
at com.sun.identity.wssagents.common.provider.FAMServerAuthContext.validateRequest(FAMServerAuthContext.java:97)
at com.sun.xml.wss.provider.wsit.ServerSecurityTube.processRequest(ServerSecurityTube.java:121)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
FAMServerAuthContext : serverAuthModule : validateRequest ERROR : javax.security.auth.message.AuthException: Validating Request failed
javax.security.auth.message.AuthException: Validating Request failed
at com.sun.identity.wssagents.common.provider.FAMServerAuthModule.validateRequest(FAMServerAuthModule.java:255)
at com.sun.identity.wssagents.common.provider.FAMServerAuthContext.validateRequest(FAMServerAuthContext.java:97)
at com.sun.xml.wss.provider.wsit.ServerSecurityTube.processRequest(ServerSecurityTube.java:121)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)

And the following error in weblogic console where sample StockServer and StockClient is configured

in class com.sun.samples.ClientHandler handleRequest()
com.sun.identity.wss.security.SecurityException
at com.sun.identity.wss.security.handler.SOAPRequestHandler.secureRequest(SOAPRequestHandler.java:548)
at com.sun.samples.ClientHandler.handleRequest(Unknown Source)
at weblogic.wsee.handler.JaxrpcHandlerChain.handleRequest(JaxrpcHandlerChain.java:57)
at weblogic.wsee.ws.dispatch.server.JaxrpcChainHandler.handleRequest(JaxrpcChainHandler.java:90)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:123)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:99)
at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:101)
at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:331)
at com.sun.samples.StockQuotePort_Stub.getStockQuote(Unknown Source)
at com.sun.samples.GetQuote.getStockQuote(Unknown Source)
at com.sun.samples.GetQuote.processRequest(Unknown Source)
at com.sun.samples.GetQuote.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)

Can someone please sugggest the root cause for this issue?
[Message sent by forum member 'swastb']

http://forums.java.net/jive/thread.jspa?messageID=399320