On Monday 05 April 2010 11:59:47 am phayte wrote:
> I have request / response XSDs that have been written by hand that I would
> like to have included/referenced in an auto-generated WSDL.  I suppose I
> want  a "middle of the road" approach where I'm not doing code first but
> not writing an entire WSDL by hand either.
> 
> I cannot locate an annotation or mapping that allows me to do tie XSDs to
> WSDL generation.  Anyone have any pointers to doing something like this or
> am I taking the wrong angle on this?

USUALLY what is done in this case is to use an XSD -> Java tool (like xjc for 
JAXB) to create the Java objects from the XSD and then use the java classes as 
parameters and stuff like a "java first" case.    Thus, CXF would generate a 
WSDL at runtime on demand, but would match the schema that was generated.  
(there is config that allows exact use of the exact xsd files)


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

Reply via email to