You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Sira, Amardeep" <am...@etrade.com> on 2011/05/18 02:47:22 UTC
Bare parameter style without annotation
Hi,
We are running java2ws on our non-annotated POJOs to generate an initial wsdl. We would like the resulting wsdl to be a doc-literal non-wrapped/bare style. However, since we are not starting with annotated objects, we are unable to use @SOAPBinding.ParameterStyle=BARE.
I have been exploring the "cxf-java2ws-plugin" for options to specify the above requirement. If this is a possibility, could you please direct me to appropriate references?
Thanks.
Amardeep
Re: Bare parameter style without annotation
Posted by Daniel Kulp <dk...@apache.org>.
On Tuesday, May 17, 2011 8:47:22 PM Sira, Amardeep wrote:
> Hi,
>
> We are running java2ws on our non-annotated POJOs to generate an initial
> wsdl. We would like the resulting wsdl to be a doc-literal
> non-wrapped/bare style. However, since we are not starting with annotated
> objects, we are unable to use @SOAPBinding.ParameterStyle=BARE.
>
> I have been exploring the "cxf-java2ws-plugin" for options to specify the
> above requirement. If this is a possibility, could you please direct me to
> appropriate references?
Honestly, I'm not sure it's possible. You MAY (I'm really not sure) be able
to add a cxf.xml file to the classpath that defines the endpoint bean with
createdFromAPI=true flag and have it configured with a
AbstractServiceConfiguration subclass that returns false for the two isWrapped
methods. That MAY work, I'm really not sure.
--
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com