On Wednesday 26 January 2011 10:13:15 am Glen Mazza wrote:
> Hello, using cxf-codegen-plugin[1], let's say I want to add the
> "-server" setting defined here[2].
>
> What do I place in the ???:
> <wsdlOptions><wsdlOption>???</wsdlOption></wsdlOptions>.
>
> Text (w or w/o leading hyphen)? An empty element? I need to add to the
> CXF docs on this.
Are you talking about updating the codegen plugin to include specific elements
for that?
I think you would add something like:
/**
* Enables generating the server. Default is false;
*/
Boolean server;
That would allow:
<server>true</server>
I'm not sure what maven would do internally if someone just did:
<server/>
You would need to test that.
Dan
>
> Thanks,
> Glen
>
> [1] http://cxf.apache.org/docs/maven-cxf-codegen-plugin-wsdl-to-java.html
> [2] http://cxf.apache.org/docs/wsdl-to-java.html
--
Daniel Kulp
[email protected]
http://dankulp.com/blog