Thanks

-----Original Message-----
From: Ruchith Fernando [mailto:ruchith.ferna...@gmail.com] 
Sent: Friday, February 17, 2012 2:23 PM
To: java-user@axis.apache.org
Subject: Re: Probably Rampart

Hi,

This issue is fixed in current Axis2 trunk.

Thanks,
Ruchith

On Thu, Feb 16, 2012 at 2:52 PM,  <aaron.stro...@rsa.com> wrote:
> Greetings,
>
>
>
> I have installed Rampart with Axis2 1.6.1 and am trying to generate 
> client subs using wsdl2java and getting the following exception
>
>
>
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.RuntimeException: Malformed uri: UsernameToken
>
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenera
> tionEngine.java:293)
>
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>
> Caused by: java.lang.RuntimeException: Malformed uri: UsernameToken
>
>         at
> org.apache.neethi.PolicyReference.getRemoteReferencedPolicy(PolicyRefe
> rence.java:155)
>
>         at
> org.apache.neethi.PolicyReference.normalize(PolicyReference.java:110)
>
>         at
> org.apache.axis2.util.PolicyUtil.getMergedPolicy(PolicyUtil.java:238)
>
>         at
> org.apache.axis2.description.PolicyInclude.getPolicy(PolicyInclude.jav
> a:255)
>
>         at
> org.apache.axis2.description.PolicyInclude.calculateEffectivePolicy(Po
> licyInclude.java:240)
>
>         at
> org.apache.axis2.description.PolicyInclude.getEffectivePolicy(PolicyIn
> clude.java:277)
>
>         at
> org.apache.axis2.description.PolicyInclude.calculateEffectivePolicy(Po
> licyInclude.java:224)
>
>         at
> org.apache.axis2.description.PolicyInclude.getEffectivePolicy(PolicyIn
> clude.java:277)
>
>         at
> org.apache.axis2.wsdl.codegen.extension.PolicyEvaluator.engage(PolicyE
> valuator.java:137)
>
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenera
> tionEngine.java:246)
>
>         ... 2 more
>
>
>
> Google found a JIRA entry from 2008 which says the problem is fixed in 
> Axis2. Any suggestions, please..
>
>
>
> Aaron Stromas, Practice Consultant  |   RSA  The Security Division of 
> EMC  | Identity & Fraud Protection Practice | +1 240 271 6458
>
>



--
http://ruchith.org

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to