0 Replies Latest reply on Sep 9, 2011 1:01 PM by Kishore R

    picketlink sts client with wso2 identity server STS provider

    Kishore R Newbie

      Hi

       

      I am trying to use picketLink - to create an sts client to the sts service provided by the wso2 identity server.

       

      I was able to connect to the sts service successfully. but in addition to default configuration I need to set the policy and the claims. configuration , and the header

       

      Do you have any example or IntegTest on how to set the policy. in the picketLink sts client.

       

      Here is an exception I am getting on the server side

       

       

      TID: [] [WSO2 Identity Server] [2011-09-09 10:59:44,959] ERROR {org.apache.axis2.engine.AxisEngine} -  SOAP header missing {org.apache.axis2.engine.AxisEngine}

      org.apache.axis2.AxisFault: SOAP header missing

              at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)

              at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)

              at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)

              at org.apache.axis2.engine.Phase.invoke(Phase.java:313)

              at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)

              at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)

              at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)

              at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)

              at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

              at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)

              at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)

              at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

              at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:155)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)

              at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:241)

              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)

              at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396)

              at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:356)

              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1534)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

              at java.lang.Thread.run(Thread.java:636)

      Caused by: org.apache.rampart.RampartException: SOAP header missing

              at org.apache.rampart.RampartEngine.process(RampartEngine.java:115)

              at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)

              ... 32 more

       

       

      Thanks

      Kishore