wsdl2java and BARE ParameterType

2008-04-15 Thread nicolas de loof
Hello,

using a Wsdl first development, is there a wsdl2java argument to force use
of SOAPBinding ParameterStyle.BARE ?

My WSDL declares Request / Response wrapper objects, and I'd like to get
them as is, and not have generated methods with many simple arguments.

Nico.


Re: wsdl2java and BARE ParameterType

2008-04-15 Thread Chris McClelland

Hi Nico,

You have to supply a JAXWS binding file which tells CXF to generate the 
BARE API.


See the entry at the bottom of this page: 
http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html


It's silly to default to WRAPPED, but that's what JAXWS demands, so it's 
not CXF's fault.


- Chris


nicolas de loof wrote:

Hello,

using a Wsdl first development, is there a wsdl2java argument to force use
of SOAPBinding ParameterStyle.BARE ?

My WSDL declares Request / Response wrapper objects, and I'd like to get
them as is, and not have generated methods with many simple arguments.

Nico.

  




Re: wsdl2java and BARE ParameterType

2008-04-15 Thread nicolas de loof
Thanks,


that's not so silly as many of my service arguments are In/Out, so using
Holders makes sence. With BARE I'll have to copy Request to Reponse ... But
for other reason this will makes my service look better.

cheers,
Nico.


2008/4/15, Chris McClelland [EMAIL PROTECTED]:

 Hi Nico,

 You have to supply a JAXWS binding file which tells CXF to generate the
 BARE API.

 See the entry at the bottom of this page:
 http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html

 It's silly to default to WRAPPED, but that's what JAXWS demands, so it's
 not CXF's fault.

 - Chris


 nicolas de loof wrote:

  Hello,
 
  using a Wsdl first development, is there a wsdl2java argument to force
  use
  of SOAPBinding ParameterStyle.BARE ?
 
  My WSDL declares Request / Response wrapper objects, and I'd like to get
  them as is, and not have generated methods with many simple arguments.
 
  Nico.