On Friday, May 06, 2011 10:02:54 AM MiTaes wrote:
> Hi Lorenzo,
> 
> did you ever get a response to your question ?
> 
> I have a similar issue where I let CXF generate Webservice from Java but
> want to include an additional unreferenced type or schema for use as soap
> header. Since I don't want to use the @WebParam approach I don't know how
> to include the header type generation into CXF endpoint generation ?!

If using JAXB, you can add @XmlSeeAlso annotations to the service to point at 
the header types.   Those would be picked up and added to the JAXB context for 
use in the schema generation.

Dan


> 
> Any help would be appreciated !
> 
> Regards,
> Michael
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Java2WSDL-with-external-schemas-tp3399971p
> 4376015.html Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to