Still its a no-go. Itried to look into 2.0.10 version for WSS4J and it resolved 
my problem however it caused other compile issues.Any help is 
appreciated.-pankaj

      From: Colm O hEigeartaigh <[email protected]>
 To: "[email protected]" <[email protected]>; Pankaj Gaur 
<[email protected]> 
 Sent: Wednesday, 15 February 2017 2:52 PM
 Subject: Re: Build error
   
Have you tried updating the WSS4J source that you have? Alternatively try using 
maven with "-U".

Colm.

On Wed, Feb 15, 2017 at 8:38 AM, Pankaj Gaur <[email protected]> 
wrote:

I checked with the cxf-parent and they have used 2.20-snapshot as well however 
the class in concern has diff. signature.-pankaj

      From: Pankaj Gaur <[email protected] >
 To: "[email protected]" <[email protected]>
 Sent: Wednesday, 15 February 2017 1:55 PM
 Subject: Re: Build error

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/ AbstractSupportingTokenPolicyV 
>alidator.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


 

   



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com


   

Reply via email to