Hi Mukesh, Can you try adding the fix provided in [1] and see whether it solves the issue ? Keep the "renew" property set to 'false' in 'client.properties' file.
[1] - https://github.com/wso2/product-is/pull/1231/files Regards, Omindu. On Tue, May 2, 2017 at 12:23 AM, Mukesh Yadav <[email protected]> wrote: > If you need any other info please let me know, > > The client code, > https://github.com/muke5hy/Axis2Client-wso2IS > > > > On Sat, Apr 29, 2017 at 9:00 PM, Kasun Bandara <[email protected]> > wrote: > >> [+] Looping in the Identity server team. >> >> 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 Sat, Apr 29, 2017 at 11:21 PM, Mukesh Yadav <[email protected]> wrote: >> >>> Hi, >>> >>> I'm using WSO2 IS version 5.3.0 and AS 5.3.0 >>> Yes, I did follow all the steps in that blog. >>> >>> Did any tried running STS client for version 5.3.0 or IS and AS. >>> >>> >>> >>> On Sat, Apr 29, 2017 at 9:14 AM, Kasun Bandara <[email protected]> >>> wrote: >>> >>>> 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.setFaultCodeAndTh >>>>> rowAxisFault(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.handle >>>>> Response(OutInAxisOperation.java:359) >>>>> >>>>> at org.apache.axis2.description.OutInAxisOperationClient.send(O >>>>> utInAxisOperation.java:445) >>>>> >>>>> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl( >>>>> OutInAxisOperation.java:225) >>>>> >>>>> at org.apache.axis2.client.OperationClient.execute(OperationCli >>>>> ent.java:149) >>>>> >>>>> at org.apache.axis2.client.ServiceClient.sendReceive(ServiceCli >>>>> ent.java:554) >>>>> >>>>> at org.apache.axis2.client.ServiceClient.sendReceive(ServiceCli >>>>> ent.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(RampartRec >>>>> eiver.java:93) >>>>> >>>>> ... 12 more >>>>> -- >>>>> Regards >>>>> Mukesh Yadav >>>>> mukeshyadav.com >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>> >>> >>> -- >>> Regards >>> Mukesh Yadav >>> mukeshyadav.com >>> >> >> > > > -- > Regards > Mukesh Yadav > mukeshyadav.com > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Omindu Rathnaweera Senior Software Engineer, WSO2 Inc. Mobile: +94 771 197 211
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
