Does your project have a dependency on the soap binding somehow? (cxf-rt- binding-soap)? Doing the extended soap header processing requires the soap- binding to be available.
Also, run with "mvn -X" to turn on the logging to make sure those flags are properly being passed into wsdl2java. Dan On Thu August 6 2009 2:08:52 pm Sadhana Jain wrote: > Hi, > > I am trying to pass the -exsh true arg for wsdl2java using the maven plugin > But it doesn't seem to work as expected. When I run wsdl2java from command > line, it generates the soapheader (header=true) parameter in the service > port but when I use the plugin by passing in like this it doesn't generate > the soapheader (that is mentioned in the wsdl): <wsdloptions> > ... > <extraargs> > <extraarg>-exsh</extraaarg> > <extraarg>true</extraaarg> > </extraargs> > > </wsdloptions> > > Is this the correct way to pass the args or there is a problem with the > cxf-maven-plugin? > > Any help will be very much appreciated. > > Thanks, > Sadhana -- Daniel Kulp [email protected] http://www.dankulp.com/blog
