Hi All,I tried with latest i.e 2.2.0-SNAPSHOT for WSS4J however the signatures 
are diff.Is the cxf trunk compiled with earlier WSS4J version.thanks,pankaj

      From: Freeman Fang <[email protected]>
 To: [email protected]; Pankaj Gaur <[email protected]> 
 Sent: Tuesday, 14 February 2017 5:48 PM
 Subject: Re: Build error
   
Hi,

Seems the wss4j 2.2-SNAPSHOT you pulling isn’t the latest. You can 
svn co https://svn.apache.org/repos/asf/webservices/wss4j/trunk 
<https://svn.apache.org/repos/asf/webservices/wss4j/trunk>

and build the wss4j project first, and this won’t take long time
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat



> On Feb 14, 2017, at 7:55 PM, Pankaj Gaur <[email protected]> 
> wrote:
> 
> Hi All,I forked the repo and tried building (mvn install -Pfastinstall 
> -Psetup.eclipse ) i was facing this error
> 
>  Failed to execute goal 
>org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) 
>on project cxf-rt-ws-security: Compilation failure: Compilation 
>failure:[ERROR] 
>/C:/Users/pankaj.gaur/gitcodebase/cxf/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/SamlTokenInterceptor.java:[189,17]
> method handleToken in class org.apache.wss4j.dom.processor.SAMLTokenProcessor 
>cannot be applied to given types;[ERROR] required: 
>org.w3c.dom.Element,org.apache.wss4j.dom.handler.RequestData[ERROR] found: 
>org.w3c.dom.Element,org.apache.wss4j.dom.handler.RequestData,org.apache.wss4j.dom.WSDocInfo[ERROR]
> reason: actual and formal argument lists differ in length[ERROR] 
>/C:/Users/pankaj.gaur/gitcodebase/cxf/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyvalidators/AbstractSupportingTokenPolicyValidator.java:[326,43]
> incompatible types: org.apache.wss4j.policy.model.EncryptedParts cannot be 
>converted to org.apache.wss4j.policy.model.SignedParts[ERROR] 
>/C:/Users/pankaj.gaur/gitcodebase/cxf/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/UsernameTokenInterceptor.java:[230,18]
> method handleToken in class 
>org.apache.wss4j.dom.processor.UsernameTokenProcessor cannot be applied to 
>given types;[ERROR] required: 
>org.w3c.dom.Element,org.apache.wss4j.dom.handler.RequestData[ERROR] found: 
>org.w3c.dom.Element,org.apache.wss4j.dom.handler.RequestData,org.apache.wss4j.dom.WSDocInfo[ERROR]
> reason: actual and formal argument lists differ in length[ERROR] 
>/C:/Users/pankaj.gaur/gitcodebase/cxf/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/AbstractSTSClient.java:[1589,51]
> incompatible types: org.apache.wss4j.dom.WSDocInfo cannot be converted to 
>org.apache.wss4j.common.crypto.AlgorithmSuite[ERROR] 
>/C:/Users/pankaj.gaur/gitcodebase/cxf/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/BinarySecurityTokenInterceptor.java:[118,14]
> method handleToken in class 
>org.apache.wss4j.dom.processor.BinarySecurityTokenProcessor cannot be applied 
>to given types;[ERROR] required: 
>org.w3c.dom.Element,org.apache.wss4j.dom.handler.RequestData[ERROR] found: 
>org.w3c.dom.Element,org.apache.wss4j.dom.handler.RequestData,org.apache.wss4j.dom.WSDocInfo[ERROR]
> reason: actual and formal argument lists differ in length
> please let me know what am i missing in this case.-pankaj


   

Reply via email to