Hi Mukesh, Can you please specify the respective versions of WSO2 IS and WSO2 AS that you are using? I assume you are testing the WS-Trust STS (Active STS) protocol to secure a service deployed on the application server. If so, can you please recheck whether you gave followed steps as in [1].
Regards, Kasun [1] http://www.vitharana.org/2015/01/how-ws-trust-sts-works-in-wso2-identity.html Kasun Gayan Bandara PhD Research Student Machine Learning Group Faculty of Information Technology, Clayton Monash University 25 Exhibition Walk, Clayton Campus Wellington Road Clayton VIC 3800 Australia. E: [email protected] M (+61) 43 491 6476 <https://www.linkedin.com/in/bandarakasun> On Fri, Apr 28, 2017 at 6:15 PM, Mukesh Yadav <[email protected]> wrote: > Hi All, > > I have created WSO2-IS server and WSO2-AS server for as per the > documentation, And checkout sample code. But when I run sample code I get > the following error. > > I do get "Response SAML 2.0 Token is valid" but After that, I get the > error. > > org.apache.axis2.AxisFault: Missing wsse:Security header in request at > org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault( > RampartReceiver.java:195) > > at org.apache.rampart.handler.RampartReceiver.invoke(RampartRec > eiver.java:100) > > 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:261) > > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) > > at org.apache.axis2.description.OutInAxisOperationClient.handleResponse( > OutInAxisOperation.java:359) > > at org.apache.axis2.description.OutInAxisOperationClient.send( > OutInAxisOperation.java:445) > > at org.apache.axis2.description.OutInAxisOperationClient.executeImpl( > OutInAxisOperation.java:225) > > at org.apache.axis2.client.OperationClient.execute(Operat > ionClient.java:149) > > at org.apache.axis2.client.ServiceClient.sendReceive(Serv > iceClient.java:554) > > at org.apache.axis2.client.ServiceClient.sendReceive(Serv > iceClient.java:530) > > at org.wso2.carbon.identity.samples.sts.Client.run(Client.java:235) > > at org.wso2.carbon.identity.samples.sts.Client.main(Client.java:94) > > Caused by: org.apache.rampart.RampartException: Missing wsse:Security > header in request > > at org.apache.rampart.RampartEngine.process(RampartEngine.java:146) > > at org.apache.rampart.handler.RampartReceiver.invoke(Rampart > Receiver.java:93) > > ... 12 more > -- > Regards > Mukesh Yadav > mukeshyadav.com > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
