Hi Natanasabai,

This is a known issue and is fixed in Axis2 trunk.

Thanks,
Ruchith

On Fri, Feb 24, 2012 at 6:36 AM, Natanasabai C <nad...@gmail.com> wrote:
> Hi,
>
> I am trying to build a secured webservices using axis2 1.6.1 and rampart
> 1.6.1.
> I am getting the following exception at the time of executing the WSDL2Java
> commands.
>
> WSDL2Java.bat -uri http://localhost:8080/axis2/services/SecureService?wsdl
> -p tutorial.rampart.client
> Using AXIS2_HOME:   V:\Ecomm\axis2-1.6.1
> Using JAVA_HOME:    V:\Ecomm\JDK_1_5_0_14
> Retrieving document at
> 'http://localhost:8080/axis2/services/SecureService?wsdl'.
> log4j:WARN No appenders could be found for logger
> (org.apache.axis2.description.
> WSDL11ToAllAxisServicesBuilder).
> log4j:WARN Please initialize the log4j system properly.
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.RuntimeException: Malformed uri: SigOnly
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.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: SigOnly
>         at
> org.apache.neethi.PolicyReference.getRemoteReferencedPolicy(PolicyReference.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.java:255)
>         at
> org.apache.axis2.description.PolicyInclude.calculateEffectivePolicy(PolicyInclude.java:240)
>         at
> org.apache.axis2.description.PolicyInclude.getEffectivePolicy(PolicyInclude.java:277)
>         at
> org.apache.axis2.description.PolicyInclude.calculateEffectivePolicy(PolicyInclude.java:224)
>         at
> org.apache.axis2.description.PolicyInclude.getEffectivePolicy(PolicyInclude.java:277)
>         at
> org.apache.axis2.wsdl.codegen.extension.PolicyEvaluator.engage(PolicyEvaluator.java:137)
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:246)
>
>
> Howver if I perform the same WSDL2Java command with axis2 1.6.0 and rampart
> 1.6.0 I am not getting any exceptions.
> Please let me know if this is a known issue in rampart 1.6.1.
>
> When I searched over internet I found out the mail archive.
> http://mail-archives.apache.org/mod_mbox/axis-java-user/201202.mbox/browser
> Is this issue related to the one which I mentioned above?
>
> Please respond as early as possible.
>
> Thanks,
> Natanasabai.



-- 
http://ruchith.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