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
         Environment: NA
            Reporter: Steven E. Harris
            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.

Reply via email to