[
https://issues.apache.org/jira/browse/AXIS2-3986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tamas KIS updated AXIS2-3986:
-----------------------------
Fix Version/s: (was: 1.4.1)
(was: 1.4)
(was: 1.3)
Affects Version/s: 1.4.1
1.4
1.3
> CLONE -WSDL's with policy references cause RuntimeException
> -----------------------------------------------------------
>
> Key: AXIS2-3986
> URL: https://issues.apache.org/jira/browse/AXIS2-3986
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.4.1, 1.4, 1.3
> Environment: RC1
> Reporter: Tamas KIS
> Assignee: Sanka Samaranayake
> Attachments: z_ADDR_REGIONAL_DATA_CHECK.wsdl
>
>
> Eception occurs in the same situation. Well, this time
> java.lang.RuntimeException.
> Please see attached WSDL.
> Problem occurs with axis2-1.3, 1.4 and 1.4.1
> C:\Programme\Java\axis2-1.4.1\bin>wsdl2java -t -s -u -uri
> C:\temp\WSDL_DEFs\SorecoWien\z_ADDR_REGIONAL_DATA_CHECK.wsdl
> Using AXIS2_HOME: C:\Programme\Java\axis2-1.4
> Using JAVA_HOME: C:\Programme\Java\jdk1.5.0_10\
> Retrieving document at
> 'C:\temp\WSDL_DEFs\SorecoWien\z_ADDR_REGIONAL_DATA_CHECK.wsdl'.
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.RuntimeException: #OP_ZAddrR
> egionalDataCheck can't be resolved
> at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
> 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: #OP_ZAddrRegionalDataCheck can't be
> resolved
> at
> org.apache.neethi.AbstractPolicyOperator.normalizeOperator(AbstractPolicyOperator.java:119)
> at
> org.apache.neethi.AbstractPolicyOperator.normalize(AbstractPolicyOperator.java:73)
> at org.apache.neethi.Policy.normalize(Policy.java:64)
> at
> org.apache.axis2.util.PolicyUtil.getMergedPolicy(PolicyUtil.java:271)
> at
> org.apache.axis2.description.PolicyInclude.getPolicy(PolicyInclude.java:255)
> at
> org.apache.axis2.description.PolicyInclude.calculateEffectivePolicy(PolicyInclude.java:227)
> at
> org.apache.axis2.description.PolicyInclude.getEffectivePolicy(PolicyInclude.java:277)
> at
> org.apache.axis2.wsdl.codegen.extension.PolicyEvaluator.engage(PolicyEvaluator.java:131)
> at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
> ... 2 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]