The cxf-codegen-plugin does not generate client or server code unless you
have configured it to. For instance, if you have added extra arguments like
"-client", "-server" or "-impl":
<wsdlOption>
<wsdl>${basedir}/src/main/resources/wsdl/myService.wsdl</wsdl>
<extraargs>
<extraarg>-client</extraarg>
<extraarg>-server</extraarg>
<extraarg>-impl</extraarg>
</extraargs>
</wsdlOption>
Regards,
/Joe
On Fri, Mar 31, 2017 at 5:33 AM, Giriraj Bhojak <[email protected]> wrote:
> Hello,
>
> I have been trying to generate only mapped java classes from schema types
> in WSDL. I do not need any client or server code. Just the POJOs.
> I have tried various options listed on cxf.apache.org/docs/wsdl-to-
> java.html
>
> I basically need to reuse the classes for a Java Rest client application.
> So I was hoping to simply use the WSDL to generate POJOs.
>
> Has anyone faced such issue?
> Perhaps, I am missing something trivial.
>
> Thanks,
> Giriraj
>