[ http://issues.apache.org/jira/browse/AXIS2-234?page=all ]
Deepal Jayasinghe reassigned AXIS2-234:
---------------------------------------
Assign To: Ajith Harshana Ranabahu
> Please can axis2wsdl handle declarations with >1 service definition
> -------------------------------------------------------------------
>
> Key: AXIS2-234
> URL: http://issues.apache.org/jira/browse/AXIS2-234
> Project: Apache Axis 2.0 (Axis2)
> Type: Improvement
> Components: wsdl
> Versions: 0.91
> Environment: Java1.5.04 on linux
> Reporter: Steve Loughran
> Assignee: 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.
-
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