Hi, I am writing a sample application to sign and verify the SOAP messages with 3 Signer, Verifier and Proxy. 1. Signer is a class with one public Sign method which takes the SOAP message as String, sign it and send. 2. Verifier will do it in reverse. 3. Proxy is a main program which creates a SOAP message (Hard coded)in String format, a. calls Sign method of Signer. b. The Sign method signs the SOAP message and give it back to Proxy component. c. The Proxy component then passes the Signed SOAP message to Verifier to verify.
When i compile all the files, compiling with out any error. But when i run the Proxy program (main controller program), i am getting the following error: Exception in thread "main" java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: <clin it> signature: ()V) Incompatible argument to function at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:542) at org.apache.xml.security.Init.init(Unknown Source) at org.apache.xml.security.Init.<clinit>(Unknown Source) at org.apache.xml.security.signature.XMLSignature.<clinit>(Unknown Source) at amro.security.SOAPSigner.SignEnvelope(SOAPSigner.java:80) at amro.security.SecurityProxy.Sign(SecurityProxy.java:99) at amro.security.SecurityProxy.main(SecurityProxy.java:201) ********************************************************************* Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. ********************************************************************* -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>