axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: org.apache.axis2.AxisFault: Error in key derivation
Date Tue, 14 Nov 2000 23:30:42 GMT
org.apache.axis2.AxisFault: Error in key derivationPeter

you need to supply valid fields for
(String)Username
(String)Password
(String)Nonce
(Date/Time)Created

http://wso2.org/library/240#digest

M--
  ----- Original Message ----- 
  From: Rajesh, Peter (CLAIMS, WIP) 
  To: axis-dev@ws.apache.org 
  Cc: axis-user@ws.apache.org 
  Sent: Wednesday, November 14, 2007 4:47 PM
  Subject: org.apache.axis2.AxisFault: Error in key derivation


  Hi, 

  When I execute the Axis2 java client which contacts a webservice running in Weblogic 8.1
below error is thrown in the clientside.

  Attached the request & response captured using tcpmon. 
  <<soap-request-response.txt>> 
  Please advice and let me know if any workaround for this. 

  [java] org.apache.axis2.AxisFault: Error in key derivation; nested exception is: 
  [java]     org.apache.ws.security.conversation.ConversationException: Error in key derivation

  [java]     at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:88)

  [java]     at org.apache.axis2.engine.Phase.invoke(Phase.java:292) 
  [java]     at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212) 
  [java]     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132) 
  [java]     at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:336)

  [java]     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)

  [java]     at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)

  [java]     at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)

  [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)

  [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)

  [java]     at org.apache.rampart.weblogic.sample.Client.main(Client.java:70) 
  [java] Caused by: org.apache.ws.security.WSSecurityException: Error in key derivation; nested
exception is: 
  [java]     org.apache.ws.security.conversation.ConversationException: Error in key derivation

  [java]     at org.apache.ws.security.processor.DerivedKeyTokenProcessor.deriveKey(DerivedKeyTokenProcessor.java:104)

  [java]     at org.apache.ws.security.processor.DerivedKeyTokenProcessor.handleToken(DerivedKeyTokenProcessor.java:82)

  [java]     at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:284)

  [java]     at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:206)

  [java]     at org.apache.rampart.RampartEngine.process(RampartEngine.java:135) 
  [java]     at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:85)

  [java]     ... 10 more 
  [java] Caused by: org.apache.ws.security.conversation.ConversationException: Error in key
derivation 
  [java]     at org.apache.ws.security.conversation.dkalgo.P_SHA1.createKey(P_SHA1.java:65)

  [java]     at org.apache.ws.security.processor.DerivedKeyTokenProcessor.deriveKey(DerivedKeyTokenProcessor.java:101)

  [java]     ... 15 more 
  [java] Caused by: java.lang.IllegalArgumentException: Missing argument 
  [java]     at javax.crypto.spec.SecretKeySpec.<init>(DashoA6275) 
  [java]     at org.apache.ws.security.conversation.dkalgo.P_SHA1.P_hash(P_SHA1.java:86) 
  [java]     at org.apache.ws.security.conversation.dkalgo.P_SHA1.createKey(P_SHA1.java:55)

  [java]     ... 16 more 

  Thanks & Regards, 

  Peter Rajesh 



  *************************************************************************
  This communication, including attachments, is
  for the exclusive use of addressee and may contain proprietary,
  confidential and/or privileged information. If you are not the intended
  recipient, any use, copying, disclosure, dissemination or distribution is
  strictly prohibited. If you are not the intended recipient, please notify
  the sender immediately by return e-mail, delete this communication and
  destroy all copies.
  *************************************************************************



------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
  For additional commands, e-mail: axis-user-help@ws.apache.org
Mime
View raw message