axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3494) Code Generation fails when a wsdl has recursive imports
Date Wed, 20 Feb 2008 12:04:43 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-3494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570656#action_12570656
] 

Amila Chinthaka Suriarachchi commented on AXIS2-3494:
-----------------------------------------------------

Can you test with a nightly build. I fixed this kind of error sometimes back.

> Code Generation fails when a wsdl has recursive imports
> -------------------------------------------------------
>
>                 Key: AXIS2-3494
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3494
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.3
>         Environment: Microsoft XP, JAVA 
>            Reporter: Samuel Alexander G
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: wsdl.zip
>
>
> I got the following exception while doing WSDL2JAVA for the WSDLs which has recursive
imports.
>   [codegen] SEVERE: There is no port type associated with the binding
>   [codegen] org.apache.axis2.AxisFault: There is no port type associated with th
> e binding
>   [codegen]     at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.popul
> ateService(WSDL11ToAxisServiceBuilder.java:250)
>   [codegen]     at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.p
> opulateAllServices(WSDL11ToAllAxisServicesBuilder.java:109)
>   [codegen]     at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(Cod
> eGenerationEngine.java:141)
>   [codegen]     at org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTa
> sk.java:416)
>   [codegen]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
> va:288)
>   [codegen]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   [codegen]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.java:39)
>   [codegen]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
>   [codegen]     at java.lang.reflect.Method.invoke(Method.java:585)
>   [codegen]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
> tils.java:105)
>   [codegen]     at org.apache.tools.ant.Task.perform(Task.java:348)
>   [codegen]     at org.apache.tools.ant.Target.execute(Target.java:357)
>   [codegen]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
>   [codegen]     at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
> a:1329)
>   [codegen]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
> s(SingleCheckExecutor.java:38)
>   [codegen]     at org.apache.tools.ant.Project.executeTargets(Project.java:1181
> )
>   [codegen]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
>   [codegen]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
> va:288)
>   [codegen]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   [codegen]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.java:39)
>   [codegen]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
>   [codegen]     at java.lang.reflect.Method.invoke(Method.java:585)
>   [codegen]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
> tils.java:105)
>   [codegen]     at org.apache.tools.ant.Task.perform(Task.java:348)
>   [codegen]     at org.apache.tools.ant.Target.execute(Target.java:357)
>   [codegen]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
>   [codegen]     at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
> a:1329)
>   [codegen]     at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>   [codegen]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
> faultExecutor.java:41)
>   [codegen]     at org.apache.tools.ant.Project.executeTargets(Project.java:1181
> )
>   [codegen]     at org.apache.tools.ant.Main.runBuild(Main.java:698)
>   [codegen]     at org.apache.tools.ant.Main.startAnt(Main.java:199)
>   [codegen]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>   [codegen]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message