[ http://issues.apache.org/jira/browse/AXIS2-1222?page=all ]

Davanum Srinivas reassigned AXIS2-1222:
---------------------------------------

    Assignee: Sanka Samaranayake  (was: Davanum Srinivas)

Reassigning it to sanka.

Sanka,
There is now a problem calculating the effective policy. Stack trace is as 
follows:

Exception in thread "main" 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: #X10-NoTimestamp_IPingService_policy can't be 
resolved
        at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: java.lang.RuntimeException: #X10-NoTimestamp_IPingService_policy 
can't be resolved
        at org.apache.neethi.PolicyReference.normalize(PolicyReference.java:52)
        at 
org.apache.axis2.description.PolicyInclude.calculatePolicy(PolicyInclude.java:166)
        at 
org.apache.axis2.description.PolicyInclude.getPolicy(PolicyInclude.java:213)
        at 
org.apache.axis2.description.PolicyInclude.calculateEffectivePolicy(PolicyInclude.java:204)
        at 
org.apache.axis2.description.PolicyInclude.getEffectivePolicy(PolicyInclude.java:222)
        at 
org.apache.axis2.wsdl.codegen.extension.PolicyEvaluator.engage(PolicyEvaluator.java:125)
        at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
        ... 2 more

-- dims

> WSDL2Java throws a StackOverflowError
> -------------------------------------
>
>                 Key: AXIS2-1222
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1222
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>            Reporter: Ruchith Udayanga Fernando
>         Assigned To: Sanka Samaranayake
>            Priority: Blocker
>
> Running WSDL2Java on the following WSDL causes a java.lang.StackOverflowError:
> http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl
> ----------------Output--------------------------
> Retrieving document at 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl=wsdl0',
>  relative to 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl'.
> Retrieving schema at 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?xsd=xsd1',
>  relative to 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl'.
> Retrieving schema at 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?xsd=xsd3',
>  relative to 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl'.
> Retrieving schema at 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?xsd=xsd2',
>  relative to 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl'.
> Retrieving schema at 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?xsd=xsd0',
>  relative to 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl'.
> Retrieving schema at 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?xsd=xsd1',
>  relative to 
> 'http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?xsd=xsd0'.
> Exception in thread "main" java.lang.StackOverflowError

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to