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:8 8) [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(Out InAxisOperation.java:336) [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper ation.java:389) [java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA xisOperation.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(Deri vedKeyTokenProcessor.java:104) [java] at org.apache.ws.security.processor.DerivedKeyTokenProcessor.handleToken(De rivedKeyTokenProcessor.java:82) [java] at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurity Engine.java:284) [java] at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurity Engine.java:206) [java] at org.apache.rampart.RampartEngine.process(RampartEngine.java:135) [java] at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:8 5) [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(Deri vedKeyTokenProcessor.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. *************************************************************************
============== Listen Port: 8000 Target Host: 127.0.0.1 Target Port: 7001 ==== Request ==== POST /Axis2/services/SalvageAssignmentProcessingService HTTP/1.1 Content-Type: application/soap+xml; charset=UTF-8; action="urn:echo" User-Agent: Axis2 Host: 127.0.0.1:8000 Transfer-Encoding: chunked f9c <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><soapenv:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="true"><wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-11416420"><wsu:Created>2007-11-14T21:44:29.676Z</wsu:Created><wsu:Expires>2007-11-14T21:49:29.676Z</wsu:Expires></wsu:Timestamp><xenc:EncryptedKey Id="EncKeyId-24478976"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" /> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <wsse:SecurityTokenReference><wsse:KeyIdentifier EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">TYxJlA3hB5+7bQlXk8bm4dYxGYY=</wsse:KeyIdentifier></wsse:SecurityTokenReference> </ds:KeyInfo> <xenc:CipherData><xenc:CipherValue>RlkKoVfrZWs0C3DyeJLyfgz0lKSa/L58rDx/TaqdR2sTufuE0c0rJcj6yXw2XDoMbp2tr+idkVbjvadTGfSIgTcJ48BxWWQQvcokzFwUoFFrS8rd/0+PskkZZE1bZkta94l6pWQLaz7E6Hj97Hav0utIR7Pk5EeNJ5f9cVDfJUE=</xenc:CipherValue></xenc:CipherData><xenc:ReferenceList><xenc:DataReference URI="#EncDataId-22946636" /></xenc:ReferenceList></xenc:EncryptedKey><wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-7881200">MIIDZDCCAs2gAwIBAgIGEDAgBhQfMA0GCSqGSIb3DQEBBAUAMHIxCzAJBgNVBAYTAlVTMRQwEgYDVQQIEwtDb25uZWN0aWN1dDERMA8GA1UEBxMISGFydGZvcmQxFTATBgNVBAoTDFRoZSBIYXJ0Zm9yZDELMAkGA1UECxMCSVQxFjAUBgNVBAMTDUlUIERlcGFydG1lbnQwHhcNMDcwNzMwMTYyNTExWhcNMDkwNzI5MTYyNTExWjBfMQswCQYDVQQGEwJVUzEUMBIGA1UECBMLQ29ubmVjdGljdXQxFTATBgNVBAoTDFRoZSBIYXJ0Zm9yZDELMAkGA1UECxMCSVQxFjAUBgNVBAMTDUlUIERlcGFydG1lbnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOBvVKRcu005fe1q9yrQx+AwjdjO2IHwIlEKKq6PF/CMYdL7eFQvb49+XybcTpf6CSChYEJoOjl+7ZhD7OSJyVS12dkGPJLkRjdHs+ye3Ti6Uvhosb72IE35SsGGLrt6SdmSAs+2jvEiZX7BQYvWmCHrOtnvCG1Slyt0Cv5w7yR9AgMBAAGjggEWMIIBEjAJBgNVHRMEAjAAMEcGCWCGSAGG+EIBDQQ6FjhXUy1TZWN1cml0eSBmb3IgRGlnaXRhbCBTaWduYXR1cmUgYW5kIERpZ2l0YWwgRW5jcnlwdGlvbjAdBgNVHQ4EFgQUTYxJlA3hB5+7bQlXk8bm4dYxGYYwgZwGA1UdIwSBlDCBkYAUkSw63q6IzwITq2DQa8dY3y4n+fqhdqR0MHIxCzAJBgNVBAYTAlVTMRQwEgYDVQQIEwtDb25uZWN0aWN1dDERMA8GA1UEBxMISGFydGZvcmQxFTATBgNVBAoTDFRoZSBIYXJ0Zm9yZDELMAkGA1UECxMCSVQxFjAUBgNVBAMTDUlUIERlcGFydG1lbnSCAQAwDQYJKoZIhvcNAQEEBQADgYEAkVMN04PQkrJN9m4/SbzQKHWPSoDlBU8Fiqj4ZLr9/6ViUnMX1SR2Yy/dEh5RfwlsUi/WGDakyPOG9nscjZeoGZKjH4oH8EKmC8/kuLej+iYBOHauiVPuiCxCgKu3fWkpWpvx1gKtD67WOqa4lizh5SQ65gqgQktDu6oIGdUbFjM=</wsse:BinarySecurityToken><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-10485311"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> <ds:Reference URI="#Id-22946636"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> <ds:DigestValue>GofshJCKccVteQMaRnLSS+t7WCw=</ds:DigestValue> </ds:Reference> <ds:Reference URI="#Timestamp-11416420"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> <ds:DigestValue>OWheu4YeC56BIbb1U8DdJlGp0Bc=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue> H1FY8ZXjzNFV4XXjM+412iq/tpTsAXUMOgazAIhv 832 UGNo/XQH59Y/FZB04vgj9vkWB2WmhJfEUnKK /RKFS2ukPFVpAUDd1S7hQjpkhHwVUf+aq9+XYtbjefdwPXTfC7kSWG2InL8YhDL83cVnvhufT+RJ tqGh2dRyeTP5RdaMHbI= </ds:SignatureValue> <ds:KeyInfo Id="KeyId-19368402"> <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-25383640"><wsse:Reference URI="#CertId-7881200" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" /></wsse:SecurityTokenReference> </ds:KeyInfo> </ds:Signature></wsse:Security><wsa:To>http://localhost:8000/Axis2/services/SalvageAssignmentProcessingService</wsa:To><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:MessageID>urn:uuid:94C13B6ED178386D9B1195076669422</wsa:MessageID><wsa:Action>urn:echo</wsa:Action></soapenv:Header><soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Id-22946636"><xenc:EncryptedData Id="EncDataId-22946636" Type="http://www.w3.org/2001/04/xmlenc#Content"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" /><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:Reference URI="#EncKeyId-24478976" /></wsse:SecurityTokenReference> </ds:KeyInfo><xenc:CipherData><xenc:CipherValue>ep/w+qH5UzTp42nM/SaUuJxpXceGZZD8z8cnZ3h48ZMez0Nkwmd1jk11Kg/zLmu4RbbUNWg8isny l5Fa0ote03yGghcPnKmWUP1DRdVZg+HW7ad0DZxALntBOrxpxt+Cq4HuWmuYkIFMKqLqiMHzr9t5 3jdHNabtB3ZYw1pw8HgtVSMEWmqeE6Vf0La4CYBHcImybYqlBm+d5PQCTAZm7k3q0T93i94KQW8r waw7dxmpDuJrYycqD+z25I4KEGbFDTPwQ8FlFEAQ9DHyqENbQA7U9+NgVKcWqnNEVZWQNWK8ajfh qej7GeZ1TJADRXusHQI6azBVJu05Ulh1VKwMl8+ICJx9NxgqvuW8hKV7LYKWmNnNU/RMRvYhI13F lNecThfJAtITqfQqXrhc93SlkylEfAlQo2k7cC/TV/NhrxOjf0joVdUDFZCTnsy7TyuIjT74N/WA eMjnsHlprGWcf+O2/JkJJvnIfbIfkkcYArIf8soNa1WEcrVch+GsEbnw</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData></soapenv:Body></soapenv:Envelope> 0 ==== Response ==== HTTP/1.1 200 OK Date: Wed, 14 Nov 2007 21:44:31 GMT Content-Type: application/soap+xml; charset=UTF-8 Transfer-Encoding: chunked 0fe8 <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><soapenv:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="true"><wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-11051633"><wsu:Created>2007-11-14T21:44:32.400Z</wsu:Created><wsu:Expires>2007-11-14T21:49:32.400Z</wsu:Expires></wsu:Timestamp><wsc:DerivedKeyToken xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="derivedKeyId-16620365"><wsse:SecurityTokenReference><wsse:Reference URI="#EncKeyId-24478976" /></wsse:SecurityTokenReference><wsc:Length>24</wsc:Length><wsc:Nonce>DU0kqKJ9bORCP20pLXTDkQ==</wsc:Nonce><wsc:Offset>0</wsc:Offset></wsc:DerivedKeyToken><xenc:ReferenceList xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:DataReference URI="#EncDataId-21021625" /></xenc:ReferenceList><wsc:DerivedKeyToken xmlns:wsc="http://schemas.xmlsoap.org/ws/2005/02/sc" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="derivedKeyId-15842526"><wsse:SecurityTokenReference><wsse:Reference URI="#EncKeyId-24478976" /></wsse:SecurityTokenReference><wsc:Length>24</wsc:Length><wsc:Nonce>BKLvS2mTMgVnqUmId1YMdQ==</wsc:Nonce><wsc:Offset>0</wsc:Offset></wsc:DerivedKeyToken><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-24137403"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1" /> <ds:Reference URI="#Id-21021625"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> <ds:DigestValue>S9web0DhQYKCgnuqTCZtihceDII=</ds:DigestValue> </ds:Reference> <ds:Reference URI="#Timestamp-11051633"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> <ds:DigestValue>XWTnwJYwYKw2/UqgOxb1W5uNSA0=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue>QDhTyLJFfZ1EgXY7h/DxXrY2ADc=</ds:SignatureValue> <ds:KeyInfo Id="KeyId-4249529"> <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-18017871"><wsse:Reference URI="#derivedKeyId-15842526" /></wsse:SecurityTokenReference> </ds:KeyInfo> </ds:Signature></wsse:Security><wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:MessageID>urn:uuid:B26F222537B3078A8B1195076672431</wsa:MessageID><wsa:Action>http://ws.copart.com/AssignmentProcessing/AssignmentProcessingPortBinding/echoResponse</wsa:Action><wsa:RelatesTo>urn:uuid:94C13B6ED178386D9B1195076669422</wsa:RelatesTo></soapenv:Header><soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Id-21021625"><xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="EncDataId-21021625" Type="http://www.w3.org/2001/04/xmlenc#Content"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" /><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:Reference URI="#derivedKeyId-16620365" /></wsse:SecurityTokenReference> </ds:KeyInfo><xenc:CipherData><xenc:CipherValue>iCUJr9ZjvIdc2iTEAtwrqJwTTUJldBlHktXZgKFS8q00zuFLcaX9JrC+qdLI+KVCcEO58OtEgHDB Rfm3RxVKMzc+44UKhtqOMlE57om+F02FPaIoKTPqW2bruijjdCb1sOa6rTFu4quFc+kM0D6qa34F jfUSHuQUsepW4oU8/J8MO7qvPk9OQTuuk2Nx6AgLwYQHo1khxLoNc60gLOFHkWZguLBN6o5mE70V exHO84mWXY4wok0oMDsp8Mjo1KU34Nj 0113 2i2wOs/Jc/DABgPkvfzTFnCMPwNaki+4CWCBn9mL494X8 KA2wp2TTy+PpBQqPLzKceqxuPKkNQhcL4ltWK2WG1SVlVh40bLqqVoeNtBMkd8dbFIK9TgcluehH vLBfTsjS4xsIP4XzgJ+oT2f1kPLBBW9cNEwvC+CG9UE+ZJAtFo5lv8muFw==</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData></soapenv:Body></soapenv:Envelope> 0000 ==============
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]