You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "John McGinn (JIRA)" <ji...@apache.org> on 2009/07/30 15:45:14 UTC
[jira] Issue Comment Edited: (CXF-629) WSDL2Java/cxf-codegen-plugin
should not generate client artifacts when "-impl" flag is provided
[ https://issues.apache.org/jira/browse/CXF-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737103#action_12737103 ]
John McGinn edited comment on CXF-629 at 7/30/09 6:43 AM:
----------------------------------------------------------
I'll second this issue, In addition -server by itself generates code that doesn't compile, it generates the SEI, a client proxy (why??) and a example "service" class that fails to compile because it references an impl that was never generated.
If I specify -server -impl It generates 4 classes, the 3 above + the service impl stub.
I'd like to see if I specify -server it generates the SEI only.
If I specify -server -impl it generates the SEI & the Impl stub.
The key here is any option I specify should not result in a compile error as we are trying to use maven and wsdl2java in our CI setup.
Thanks
John
was (Author: jmcginn):
I'll second this issue, In addition -server by itself generates code that doesn't compile, it generates the SEI, a client proxy (why??) and a example "service" class that fails to compile because it references an impl that was never generated.
If I specify -service -impl It generates 4 classes, the 3 above + the service impl stub.
I'd like to see if I specify -service it generates the SEI only.
If I specify -service -impl it generates the SEI & the Impl stub.
The key here is any option I specify should not result in a compile error as we are trying to use maven and wsdl2java in our CI setup.
Thanks
John
> WSDL2Java/cxf-codegen-plugin should not generate client artifacts when "-impl" flag is provided
> -----------------------------------------------------------------------------------------------
>
> Key: CXF-629
> URL: https://issues.apache.org/jira/browse/CXF-629
> Project: CXF
> Issue Type: Improvement
> Components: Tooling
> Affects Versions: 2.0-RC
> Environment: NA
> Reporter: Steven E. Harris
> Assignee: jimma
> Priority: Minor
>
> When trying to generate server-side artifacts using the cxf-codegen-plugin Maven plugin (WSDL2Java), one can optionally provide the argument "-impl" to get server-side code generated. If one passes no arguments, the client-side code gets generated (SEI and Service implementation). If one passes "-client", the SEI, Service implementation, and a sample client program get generated.
> If one passes only "-impl", the SEI and skeleton implementation get generated, as well as the Service implementation. There should be some way to not have the Service implementation generated. Unfortunately, the command-line arguments as they stand are not adequate to capture the possible combinations of choices: client-side, server-side, implementation helpers, and sample program.
> In my case, on the client, I just want the SEI and the Service implementation. I should be able to ask for this with something like "--client-impl". On the server side, I just want the SEI and skeleton, which could be expressed as "--server-impl". If I also wanted a sample program for hte server, I could ask for "--server-harness". Passing no arguments would trigger just the SEI and the schema types to be generated, but no Service implementation or skeleton.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.