You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/02/26 15:16:05 UTC

[jira] Commented: (AXIS2-234) Please can axis2wsdl handle declarations with >1 service definition

    [ https://issues.apache.org/jira/browse/AXIS2-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475879 ] 

Davanum Srinivas commented on AXIS2-234:
----------------------------------------

We need to be able to generate code for this scenario

> Please can axis2wsdl handle declarations with >1 service definition
> -------------------------------------------------------------------
>
>                 Key: AXIS2-234
>                 URL: https://issues.apache.org/jira/browse/AXIS2-234
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: wsdl
>    Affects Versions: 0.91
>         Environment: Java1.5.04 on linux
>            Reporter: Steve Loughran
>         Assigned To: Ajith Harshana Ranabahu
>            Priority: Minor
>
> the current WSDL codegen fails when >1 service is declared in a single WSDL file. Since when was this an illegal form of WSDL?
> [core:java] Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.UnsupportedOperationException: Single service WSDL files only
> [core:java] 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:107)
> [core:java] 	at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:29)
> [core:java] 	at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:23)
> [core:java] Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.UnsupportedOperationException: Single service WSDL files only
> [core:java] 	at org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter.emitStub(MultiLanguageClientEmitter.java:139)
> [core:java] 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:105)
> [core:java] 	... 2 more
> [core:java] Caused by: java.lang.UnsupportedOperationException: Single service WSDL files only
> [core:java] 	at org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter.emitStub(MultiLanguageClientEmitter.java:119)
> [core:java] 	... 3 more
> Process ant exited with code 1

-- 
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