You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Daniel Kulp <da...@iona.com> on 2006/08/31 15:56:40 UTC
Re: Problem with Adding WSDL4J extension
Tom,
> I've tried to write a wsdl4j extension class for xml binding.
> In JAXBExtensionHelper class it requires the extension class generated by
> JAXB from schema. And also it required the extension class extends
> TExtensibilityElementImpl which is to ensure it comply with wsdl4j api. But
> I don't know how to make the jaxb generate class extends a specified class,
> it seemed impossible to do so in JAXB to my thinking.
Take a look at the http.xsd file and wsdl.xsd file in api/src/main/resources.
It does what you need. It causes the wsdl:tExtensibilityElement type to be
generated with org.apache.cxf.wsdl.TExtensibilityElementImpl as the impl
class. That class implements the needed WSDL4J interface and methods.
Enjoy!
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194 F:781-902-8001
daniel.kulp@iona.com