https://issues.apache.org/bugzilla/show_bug.cgi?id=48681
Summary: The signature or decryption was invalid (Cannot setup signature data structure) Product: Security Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Signature AssignedTo: security-dev@xml.apache.org ReportedBy: iyapp...@smdi.com I am having Signature issue while calling a simple webservice. I am using CXF 2.2.4, Spring and Weblogic server. Below is the error log: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body><soap:Fault><faultcode xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">ns1:FailedCheck</faultcode> <faultstring>The signature or decryption was invalid (Cannot setup signature data structure); nested exception is: org.apache.xml.security.exceptions.XMLSecurityException: Cannot create a http://www.w3.org/2000/09/xmldsig#:Signature from a http://www.w3.org/2000/09/xmldsig#:Signature element </faultstring> </soap:Fault></soap:Body></soap:Envelope> Below is my webservice context.xml file: <jaxws:endpoint id="Hello" implementor="#hello" address="/Hello" > <jaxws:inInterceptors> <bean class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor"> <constructor-arg> <map> <entry key="action" value="UsernameTokenSignature UsernameToken"/> <entry key="passwordType" value="PasswordDigest"/> <entry key="user" value="oldcws"/> <entry key="signatureUser" value="ws-client"/> <entry key="signaturePropFile" value="server_sign.properties"/> <entry key="passwordCallbackRef"> <ref bean="passwordCallback"/> </entry> </map> </constructor-arg> </bean> </jaxws:inInterceptors> </jaxws:endpoint> Thank You for looking into it and let me know if you need more details from my side. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.