Tag Archives: java

java.lang.UnsupportedOperationException : Please implement

Today during testing of some service I got this UnsupportedOperationException  in which message says Please Implement class#method which I am calling. Later I digged inside the services code and found

Posted in Axis2 | Tagged , , , | Leave a comment

java.security.InvalidKeyException: Illegal key size or default parameters

I was working on webservice call where my code was breaking in RAD during decrypting the password of keystore. I encountered below error: Caused by: java.security.InvalidKeyException: Illegal key size or default parameters    at javax.crypto.Cipher.a(DashoA13*..) ~[na:1.6]    at javax.crypto.Cipher.a(DashoA13*..) ~[na:1.6]  … Continue reading

Posted in Axis2, Java, Rampart | Tagged , , , | 1 Comment

Caused by: java.security.UnrecoverableKeyException: Cannot recover key

During deployment of my code on server I faced below issue signature issue: org.apache.axis2.AxisFault: Error in signature with X509Token    at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:70)    at org.apache.axis2.engine.Phase.invoke(Phase.java:318)    at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:254)    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:419)    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)    at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) Caused by: org.apache.rampart.RampartException: Error in signature with X509Token   … Continue reading

Posted in Axis2, Java, Rampart | Tagged , , , | Leave a comment

XStream: Cannot parse date

I was sending date “06-14-2011” in XML request, during it’s processing i got this parse error Cannot parse date 06-14-2011 com.thoughtworks.xstream.converters.basic.DateConverter.fromString(DateConverter.java:97) this is because Xstream by default don’t handle MM-dd-yyyy format. So we need to add one in order to … Continue reading

Posted in Java, Troubleshoot, xstream | Tagged , | 1 Comment