[
https://wso2.org/jira/browse/WSAS-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Afkham Azeez resolved WSAS-493.
-------------------------------
Resolution: Fixed
Please set the value on the server side.
> The timestamp defined in setTimestampMaxSkew() is not correctly taken by
> client
> --------------------------------------------------------------------------------
>
> Key: WSAS-493
> URL: https://wso2.org/jira/browse/WSAS-493
> Project: WSO2 WSAS
> Issue Type: Bug
> Affects Versions: Nightly
> Environment: winxp, jdk15
> Reporter: Charitha Kankanamge
> Assignee: Ruchith Fernando
>
> I was running CommodityQuote sample using 2 machines configured in 7 minutes
> time difference among them. I got the following exception at client side when
> running the commodity quote client with -qos secure. This scenario works
> perfectly with the default time difference (5 minutes). It seems the
> timestamp defined in setTimestampMaxSkew() is not correctly taken.
> org.apache.axis2.AxisFault: The timestamp could not be validated
> at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
> at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at
> org.wso2.wsas.sample.commodityquote.client.CommodityQuoteStub.getSymbols(CommodityQuoteStub.java:437)
> at
> org.wso2.wsas.sample.commodityquote.client.Client.doGetSymbols(Client.java:194)
> at
> org.wso2.wsas.sample.commodityquote.client.Client.start(Client.java:283)
> at
> org.wso2.wsas.sample.commodityquote.client.Client.main(Client.java:596)
> Security failure. Please refer to the CommodityQuote documentation and
> configure the CommodityQuoteservice properly
> org.apache.axis2.AxisFault: The timestamp could not be validated
> at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
> at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> at
> org.wso2.wsas.sample.commodityquote.client.CommodityQuoteStub.getSymbols(CommodityQuoteStub.java:437)
> at
> org.wso2.wsas.sample.commodityquote.client.Client.doGetSymbols(Client.java:194)
> at
> org.wso2.wsas.sample.commodityquote.client.Client.start(Client.java:283)
> at
> org.wso2.wsas.sample.commodityquote.client.Client.main(Client.java:596)
> Steps to reproduce:
> ===============
> 1. Edit
> samples\CommodityQuote\src\org\wso2\wsas\sample\commodityquote\client\Client.java
> with adding the following line.
> rc.setTimestampMaxSkew("900");
> 2. Configure 7 minutes time difference between server and client
> 3. Configure security scenario 2 on CommodityQuote service
> 4. Execute Client
> run-client.bat -qos secure -e http://10.100.1.190:9762/services/CommodityQuote
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev