The current SD-setup assumes we always have an WSDL - but if we wan't to use
the same machinery for XSDs (without an WSDL) it's possible - but there needs
to be an example on how to configure the CXF-generator.
Instead of a real WSDL we can use a stub like below to get JAXB-generation only:
jaxb-gen-only.wsdl
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
name="jaxb.gen.only"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="urn:jaxb.gen.only"
targetNamespace="urn:jaxb.gen.only">
<wsdl:types>
<xsd:schema>
<xsd:import schemaLocation="MySchema.xsd" namespace="urn:MY_DOMAIN.schema:v1"/>
</xsd:schema>
</wsdl:types>
</wsdl:definitions>
Original issue reported on code.google.com by hakan.d...@gmail.com on 18 Sep 2013 at 12:01
Original issue reported on code.google.com by
hakan.d...@gmail.com
on 18 Sep 2013 at 12:01